Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
0.8
-
None
-
no special environment
Description
1、The EhCachePresenceCacheImpl has a constructor arg, which specify the configFile used to initialize a EhCache CacheManager,but didn't use it at last.
Code:
protected void createCache(String configFile) {
if (configFile == null)
URL configFileURL = getClass().getResource(configFile);
if (configFileURL == null)
CacheManager.create(); //<============== Here i am!
presenceCache = CacheManager.getInstance().getCache(PRESENCE_CACHE);
jidPresenceCache = CacheManager.getInstance().getCache(JID_PRESENCE_CACHE);
}
2、dist/src/main/assembly/src.xml
Didn't excludes .* file/folde in sub directory. If i use eclipse to import those projects, there will create .* files (eclipse project files,eg: .classpath)
<excludes>
<exclude>*/target/*</exclude>
<exclude>.*</exclude>
<exclude>./*</exclude> //<============== Here i am!
<exclude>**.bak</exclude>
</excludes>
I upload my patch.