diff --git a/jme3-examples/src/main/java/jme3test/asset/TestManyLocators.java b/jme3-examples/src/main/java/jme3test/asset/TestManyLocators.java index af84da278..bf0cc642e 100644 --- a/jme3-examples/src/main/java/jme3test/asset/TestManyLocators.java +++ b/jme3-examples/src/main/java/jme3test/asset/TestManyLocators.java @@ -43,7 +43,7 @@ public class TestManyLocators { public static void main(String[] args){ AssetManager am = JmeSystem.newAssetManager(); - am.registerLocator("http://www.jmonkeyengine.com/wp-content/uploads/2010/09/", + am.registerLocator("http://wiki.jmonkeyengine.org/jme3/beginner", UrlLocator.class); am.registerLocator("town.zip", ZipLocator.class); @@ -65,7 +65,7 @@ public class TestManyLocators { AssetInfo c = am.locateAsset(new ModelKey("glasstile2.png")); // Try loading directly from HTTP - AssetInfo d = am.locateAsset(new TextureKey("planet-2.jpg")); + AssetInfo d = am.locateAsset(new TextureKey("beginner-physics.png")); if (a == null) System.out.println("Failed to load from classpath"); @@ -73,7 +73,7 @@ public class TestManyLocators { System.out.println("Found classpath font: " + a.toString()); if (b == null) - System.out.println("Failed to load from town.zip"); + System.out.println("Failed to load from town.zip file"); else System.out.println("Found zip image: " + b.toString()); diff --git a/jme3-examples/town.zip b/jme3-examples/town.zip new file mode 100644 index 000000000..53e31a0bf Binary files /dev/null and b/jme3-examples/town.zip differ