andreyvit / yoursway-eclipse-osx-repackager

Repackages Eclipse and Rich Client Platform applications as Mac OS X bundles
http://code.google.com/p/eclipse-osx-repackager/
12 stars 7 forks source link

Please provide a way to override application version #2

Open apeeters opened 14 years ago

apeeters commented 14 years ago

Currently the application version is read from the Eclipse-generated plist file and appended to the application name. Unfortunately the version in the CFBundleShortVersionString element is the Eclipse version, not the application version.

Hence, please provide a way to specify the application version on the EclipseOSXRepackager command line.

andreyvit commented 14 years ago

Got it. Will put this on my list of things to do. You are welcome to contribute a patch earlier if you want to (the repackager is a simple shell script, no rocket science involved).

apeeters commented 14 years ago

It would be even better if Eclipse would export the correct version, but that does not seem to happen. Have you observed the same behaviour?

andreyvit commented 14 years ago

I'm afraid I don't really understand what you mean by “export the correct version”. I don't think there is even an Eclipse-level notion of “application version” (there are versions of plugins and features, but there's no single designated “main” plugin or feature).

apeeters commented 14 years ago

The product configuration has a version property, but that does not seem to be used. It would probably have to be a launcher property since its name is used as the application name.