28.05.2010, 23:34
(28.05.2010, 18:48)hvdwolf Wrote: I did have a look at it but it's really java related
Yes
(28.05.2010, 18:48)hvdwolf Wrote: and really complicated
Yes
(28.05.2010, 18:48)hvdwolf Wrote: and it seems that it packages all dependent jars as such in the bundle whereas your complete jar already contains all these dependendency jars
("jar tf jarfile" is one of the few commands I know). That's also why the java -jar Routeconverter.jar works (apart from the map): it contains everything and is completely portable.
Not really, the .jar is Mac-specific due to the Eclipse SWT dependency. And the .app is an experiment to become better on the Mac.
How do you build your .app's? Is it possible to minimize the files?
Quote:
$ find .
./RouteConverter.app
./RouteConverter.app/Contents
./RouteConverter.app/Contents/Info.plist
./RouteConverter.app/Contents/MacOS
./RouteConverter.app/Contents/MacOS/RouteConverter
./RouteConverter.app/Contents/Resources
./RouteConverter.app/Contents/Resources/appIcon.icns
./RouteConverter.app/Contents/Resources/AppSettings.plist
./RouteConverter.app/Contents/Resources/English.lproj
./RouteConverter.app/Contents/Resources/English.lproj/InfoPlist.strings
./RouteConverter.app/Contents/Resources/English.lproj/MainMenu.nib
./RouteConverter.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
./RouteConverter.app/Contents/Resources/RouteConverter.jar
./RouteConverter.app/Contents/Resources/script
./RouteConverter.icns
./__MACOSX
./__MACOSX/._RouteConverter.icns
./__MACOSX/RouteConverter.app
./__MACOSX/RouteConverter.app/Contents
./__MACOSX/RouteConverter.app/Contents/Resources
./__MACOSX/RouteConverter.app/Contents/Resources/._RouteConverter.jar
./__MACOSX/RouteConverter.app/Contents/Resources/._script
./__MACOSX/RouteConverter.app/Contents/Resources/English.lproj
./__MACOSX/RouteConverter.app/Contents/Resources/English.lproj/._InfoPlist.strings
seems to be a lot.
(28.05.2010, 18:48)hvdwolf Wrote:(27.05.2010, 22:16)routeconverter Wrote:On OSX the file handle can be: "file", "folder", "file+folder". I assume the third is used but I don't know java. Only AppleScript and some basic C.(27.05.2010, 18:23)hvdwolf Wrote: It starts with an error "Can't open <blah blah> due to unknow file type" (note:translated back to english from dutch) for the source. This is due to the fact that the application somehow tries to open a folder instead of a file.
Some users reported this to me and I'm confused... do you have an idea what can cause this error?
Good hint. I think I found the bug.
(28.05.2010, 18:48)hvdwolf Wrote:(27.05.2010, 22:16)routeconverter Wrote:I did them all I think. More options? (a 64bit swt perhaps?(27.05.2010, 18:23)hvdwolf Wrote: Do you have more options for me to test?
The ones above? Would be great!)
Have a look a the prereleases page :-)
--
Christian
Christian

)