resource not found

Mike Lizzi
2011-04-06
2013-04-30
  • Mike Lizzi

    Mike Lizzi - 2011-04-06

    I hope this question is not out of place in this forum.

    I am just learning xith3d using EasyEclipse. 
    Going through the tutorial “Xith3d in a Nutshell”. 
    There is some code for specifying and loading textures.

    ResourceLocator resLoc = ResourceLocator.create( "test-resources/" );
    resLoc.createAndAddTSL( "testTexture" );

    I verified the folder "test-resources/" is in another project that is on the build path for this project.
    But, I get the IllegalArgumentException: Resource not found "test-resources/"

    Anyone know how to specify a resource that is in another EasyEclipse project?

     
  • Philippe Ombredanne

    I think ResourceLocator at run time may not know anything about the fact that another "eclipse" project is on its build path ?
    The fact that it is on the path at build time is not the same as being on the path at run time. Check your launch configurations.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks