... the user friendly GPS tool


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RouteConverter and Mac OS X
#35
(28.05.2010, 23:34)routeconverter Wrote: How do you build your .app's? Is it possible to minimize the files?
Yes it is. Sorry I wasn't more specific. The zip contains the application and the icons package. The application is only the file structure shown below:
Quote:
./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

The icons "package" is the file RouteConverter.icns (which you already used for the new prerelease)

OSX puts some zip indexing "garbage" in a zip file as "semi-hidden" 0byte files. It allows OSX to view big, complicated zip files very fast in the file manager. I had not thought of that and it looks really weird on Linux or Windows. I should have used the command line zip. Sorry.
So all of the mentioned __MACOSX can be removed. It's waste on all other platforms.

(28.05.2010, 23:34)routeconverter Wrote: Good hint. I think I found the bug.
I'm not sure where RouteConverter stores it's preferences and so on. I found ~/.java/.userPrefs/slash which I removed. I started the "old" Routeconverter and it generated the error and then builds(?) or indexes(?) it's conversion options. The new RouteConverter64 does not generate the error.
Did I check this correctly?

(28.05.2010, 23:34)routeconverter Wrote: Have a look a the prereleases page :-)
Nice one.
Unfortunately the Application still doesn't start, but it does contain a nice icon Wink

The .jar starts correctly.
I first used "java -jar RouteConverterPrereleaseMac64.jar" and it opens correctly showing the following messages (only relevant ones):
Code:
java -jar RouteConverterPrereleaseMac64.jar
***WARNING: Display must be created on main thread due to Cocoa restrictions.
java.lang.reflect.InvocationTargetException
and
Code:
slash.navigation.converter.gui.RouteConverter6.main(RouteConverter6.java:48)
Caused by: java.lang.IllegalStateException: An error occurred while creating the SWT Display! On a Mac, the Native Interface can only be initialized from the main thread and the Java process needs to be started with the "-XstartOnFirstThread" VM parameter.

As you can see it mentions the "-XstartOnFirstThread". So it starts correct but doesn't show the map.

Then I started the .jar with "java -XstartOnFirstThread -jar RouteConverterPrereleaseMac64.jar".
Now it starts correct and it does show the map.
It does show an error message: "Unable to call RouteConverter from Webbrowser via port 53465. Please check your firewall."
So I opened my firewall for that port. On restart it throws another port error. After about 6 errors in the same range I decided to open a port range in my router firewall from 53400-53999 and completely opened my Apple macbooks firewall, but this still doesn't stop the error. It keeps on generating port errors in the same 53xxx range which I already completely opened. What is this?

Other observations:
- without the map loaded I can resize the screen, which is necessary as some buttons are obscured behind the window borders. With the map loaded the application hangs when trying to resize the screen. I can resize the map/text panes inside the application using the center spacer.
- The map never fills the entire left map pane. Zooming in/out on the map does work correctly. Dragging of the map sometimes results in only half a map, or 75% map or little more, but the entire map pane is never filled.
- Right-clicking works apart from Insert/Remove
- The application now has a menu (file, Edit, View, Tools, Extra and Help). Is this new design or is it due to the now working swt?
- I do miss the handy on-screen "open" and "Save" buttons for conversion. On purpose as a design decision?

Thanks so far your work in trying to help us.
Reply


Messages In This Thread
RouteConverter and Mac OS X - by CalvinFold - 26.03.2010, 16:11
RE: RouteConverter and Mac OS X - by d101au - 05.04.2010, 22:48
RE: RouteConverter and Mac OS X - by ioeioe - 10.04.2010, 18:53
RE: RouteConverter and Mac OS X - by ioeioe - 10.04.2010, 19:27
RE: RouteConverter and Mac OS X - by ioeioe - 11.04.2010, 22:43
RE: RouteConverter and Mac OS X - by ioeioe - 12.04.2010, 11:39
RE: RouteConverter and Mac OS X - by hvdwolf - 27.05.2010, 18:23
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 07:03
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 10:00
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 18:48
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 09:33
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 11:44
RE: RouteConverter and Mac OS X - by hvdwolf - 03.06.2010, 19:22
RE: RouteConverter and Mac OS X - by hvdwolf - 28.05.2010, 13:02
RE: RouteConverter and Mac OS X - by hvdwolf - 29.05.2010, 14:18
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 10:35
RE: RouteConverter and Mac OS X - by hvdwolf - 30.05.2010, 10:43
RE: RouteConverter and Mac OS X - by hvdwolf - 02.06.2010, 21:46
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 16:24
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 18:56
RE: RouteConverter and Mac OS X - by hvdwolf - 01.06.2010, 20:12
RE: RouteConverter and Mac OS X - by hvdwolf - 04.06.2010, 16:05
RE: RouteConverter and Mac OS X - by hvdwolf - 04.06.2010, 19:33
RE: RouteConverter and Mac OS X - by hvdwolf - 16.06.2010, 17:18
RE: RouteConverter and Mac OS X - by hvdwolf - 16.06.2010, 21:42
RE: RouteConverter and Mac OS X - by hvdwolf - 18.06.2010, 18:39
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 07:44
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 07:55
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 09:16
RE: RouteConverter and Mac OS X - by hvdwolf - 20.06.2010, 17:16
RE: RouteConverter and Mac OS X - by hvdwolf - 01.07.2010, 17:42
RE: RouteConverter and Mac OS X - by hvdwolf - 08.08.2010, 15:42
RE: RouteConverter and Mac OS X - by hvdwolf - 09.08.2010, 09:27
RE: RouteConverter and Mac OS X - by hvdwolf - 09.08.2010, 18:49
RE: RouteConverter and Mac OS X - by hvdwolf - 16.08.2010, 09:47
RE: RouteConverter and Mac OS X - by hvdwolf - 20.08.2010, 09:55
RE: RouteConverter and Mac OS X - by hvdwolf - 19.06.2010, 14:14
RE: RouteConverter and Mac OS X - by dfiler - 29.06.2010, 01:17
RE: RouteConverter and Mac OS X - by hvdwolf - 03.07.2010, 09:33
RE: RouteConverter and Mac OS X - by hvdwolf - 03.07.2010, 17:30
RE: RouteConverter and Mac OS X - by hvdwolf - 19.07.2010, 06:31
RE: RouteConverter and Mac OS X - by rctdigo8 - 05.08.2010, 12:41
RE: RouteConverter and Mac OS X - by rctdigo8 - 05.08.2010, 22:56
RE: RouteConverter and Mac OS X - by hvdwolf - 06.08.2010, 15:50
RE: RouteConverter and Mac OS X - by rctdigo8 - 06.08.2010, 21:36
RE: RouteConverter and Mac OS X - by hvdwolf - 06.08.2010, 22:34
RE: RouteConverter and Mac OS X - by asp - 23.08.2010, 09:24
RE: RouteConverter and Mac OS X - by asp - 23.08.2010, 09:53
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 12:49
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 21:11
RE: RouteConverter and Mac OS X - by hvdwolf - 23.08.2010, 22:43
RE: RouteConverter and Mac OS X - by hvdwolf - 24.08.2010, 17:33
RE: RouteConverter and Mac OS X - by hvdwolf - 25.08.2010, 20:12
RE: RouteConverter and Mac OS X - by hvdwolf - 26.08.2010, 10:57
RE: RouteConverter and Mac OS X - by hvdwolf - 27.08.2010, 19:23
RE: RouteConverter and Mac OS X - by hvdwolf - 27.08.2010, 20:17
RE: RouteConverter and Mac OS X - by hvdwolf - 26.08.2010, 21:50
RE: RouteConverter and Mac OS X - by hvdwolf - 28.08.2010, 12:28
RE: RouteConverter and Mac OS X - by hvdwolf - 29.08.2010, 13:53
RE: RouteConverter and Mac OS X - by hvdwolf - 29.08.2010, 20:51
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 10:48
RE: RouteConverter and Mac OS X - by hvdwolf - 01.09.2010, 20:02
RE: RouteConverter and Mac OS X - by hvdwolf - 02.09.2010, 11:53
RE: RouteConverter and Mac OS X - by hvdwolf - 06.09.2010, 19:23
RE: RouteConverter and Mac OS X - by hvdwolf - 19.09.2010, 10:19
RE: RouteConverter and Mac OS X - by hvdwolf - 19.09.2010, 17:10
RE: RouteConverter and Mac OS X - by hvdwolf - 25.10.2010, 18:00
RE: RouteConverter and Mac OS X - by hvdwolf - 25.10.2010, 20:51
RE: RouteConverter and Mac OS X - by hvdwolf - 26.10.2010, 17:24
RE: RouteConverter and Mac OS X - by hvdwolf - 27.10.2010, 16:21
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 12:03
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 17:49
RE: RouteConverter and Mac OS X - by hvdwolf - 28.10.2010, 21:27
RE: RouteConverter and Mac OS X - by hvdwolf - 29.10.2010, 16:26
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 19:06
RE: RouteConverter and Mac OS X - by hvdwolf - 30.08.2010, 21:48
RE: RouteConverter and Mac OS X - by hvdwolf - 30.10.2010, 07:41
RE: RouteConverter and Mac OS X - by hvdwolf - 31.10.2010, 19:22
RE: RouteConverter and Mac OS X - by hvdwolf - 01.11.2010, 18:45
RE: RouteConverter and Mac OS X - by hvdwolf - 02.11.2010, 23:15
RE: RouteConverter and Mac OS X - by hvdwolf - 03.11.2010, 17:22
RE: RouteConverter and Mac OS X - by hvdwolf - 03.11.2010, 21:44
RE: RouteConverter and Mac OS X - by hvdwolf - 05.11.2010, 20:32
RE: RouteConverter and Mac OS X - by hvdwolf - 06.11.2010, 17:54
RE: RouteConverter and Mac OS X - by hvdwolf - 09.11.2010, 21:16
RE: RouteConverter and Mac OS X - by hvdwolf - 12.11.2010, 18:04
RE: RouteConverter and Mac OS X - by hvdwolf - 13.11.2010, 08:29
RE: RouteConverter and Mac OS X - by hvdwolf - 14.11.2010, 17:24
RE: RouteConverter and Mac OS X - by hvdwolf - 15.11.2010, 22:43
RE: RouteConverter and Mac OS X - by Gerwin - 15.11.2010, 19:18
RE: RouteConverter and Mac OS X - by Gerwin - 16.11.2010, 18:46
RE: RouteConverter and Mac OS X - by Gerwin - 17.11.2010, 10:19
RE: RouteConverter and Mac OS X - by hvdwolf - 18.11.2010, 22:53
RE: RouteConverter and Mac OS X - by hvdwolf - 20.11.2010, 21:45
RE: RouteConverter and Mac OS X - by hvdwolf - 21.11.2010, 08:30

Forum Jump:


Users browsing this thread: 2 Guest(s)