Hi,

This is not technically a Java3D question, but I know how great you guys
are at fixing things; so I hope you don't think im being too cheeky, by
all means stop reading now if you object to having non-j3d questions
asked here;)

Right, I have two separate J3D apps which I have integrated together
(app1 into app2). The problem is that I am having trouble deploying the
joined application (in terms of resources): - the 3DS files that app1
uses have been imported into my Borland project for the joined
application and they appear to be archived correctly, but I get command
line errors regarding missing files. So, I have a series of files and
folders in this project, I have tested extracting everything from the
executable JAR and everything appears in its right place, but I get this
error;

C:\DOCUME~1\nbl8\Desktop\THEAPP~1>java -jar genericLoader.jar
java.io.FileNotFoundException:
file:\C:\Documents%20and%20Settings\nbl8\Desktop\The%20App\genericLoader
.jar!\mapFiles\MapLibraries\MLibOffice.mbl (The filename, directory
name, or volume label syntax is incorrect)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileReader.<init>(Unknown Source)
        at
mapbuilder.MapTileLibrary.LoadFromFile(MapTileLibrary.java:172)
        at mapbuilder.MapBuilder.LoadLibrary(MapBuilder.java:217)
        at mapbuilder.MapBuilder.<init>(MapBuilder.java:74)
        at ShapeBuilderApp.main(ShapeBuilderApp.java:28)
ERROR IN DRIVER FILE
Exception in thread "main" java.lang.NullPointerException
        at mapbuilder.MapTile.Load3DSFile(MapTile.java:558)
        at mapbuilder.MapWorld.AddUnitFiller(MapWorld.java:540)
        at mapbuilder.MapWorld.ResetGrids(MapWorld.java:113)
        at mapbuilder.MapWorld.<init>(MapWorld.java:92)
        at mapbuilder.MapBuilder.<init>(MapBuilder.java:85)
        at ShapeBuilderApp.main(ShapeBuilderApp.java:28)

I repeat, if I extract the contents of genericLoader.jar(app1) then I
get the file structure which suggests that it should be finding that
file.
Any help would be much appreciated, I understand its slightly out of the
context of this newsgroup, so it might be more appropriate if any
responses are mailed directly to me. PS any ideas are welcome, its quite
tricky getting hold of decent info on archiving etc

Oh, the commands im using to pull the information (i.e. at
mapbuilder.MapTileLibrary.LoadFromFile(MapTileLibrary.java:172)) are;

URL url = cl.getResource(fileName);
BufferedReader in = new BufferedReader(new FileReader(url.getFile()));

Thanks

********************************************
Ben Logan - Graduate Software Engineer
RCID
Stephenson Building
Newcastle Upon Tyne
NE1 7RU
www.rcid.ncl.ac.uk
******************************************** 

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to