SDK:
- add only jar file entries when collecting files from classpath git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9834 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
87bc55e0a7
commit
627f9b616a
@ -314,6 +314,7 @@ public class ProjectAssetManager extends DesktopAssetManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Collects files over the asset folder(s) and classpath
|
* Collects files over the asset folder(s) and classpath
|
||||||
|
*
|
||||||
* @param suffix
|
* @param suffix
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@ -341,9 +342,11 @@ public class ProjectAssetManager extends DesktopAssetManager {
|
|||||||
while (jarEntry.hasMoreElements()) {
|
while (jarEntry.hasMoreElements()) {
|
||||||
FileObject jarEntryAsset = jarEntry.nextElement();
|
FileObject jarEntryAsset = jarEntry.nextElement();
|
||||||
if (jarEntryAsset.getExt().equalsIgnoreCase(suffix)) {
|
if (jarEntryAsset.getExt().equalsIgnoreCase(suffix)) {
|
||||||
|
if (!jarEntryAsset.getPath().startsWith("/")) {
|
||||||
list.add(jarEntryAsset.getPath());
|
list.add(jarEntryAsset.getPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user