Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems building MSGViewer-1.9 - not including additonal Libraries with root jar #22

Open
ghost opened this issue Apr 16, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 16, 2018

https://sourceforge.net/projects/msgviewer/ creates an additional subdirectory, lib/ at the same level as the application jar with additional jar library files and I do not see a way to make a reference or include this structure when rolling up the wrapper .app structure.

[ <user@machine>:~/Desktop/MSGViewer-1.9 08:34 ]$  jar2app MSGViewer.jar
jar2app 1.0.1, João Ricardo Lourenço, 2015-2017 <[email protected]>.
Github page: https://github.com/Jorl17/jar2app/
Packing MSGViewer.jar into ~/Desktop/MSGViewer-1.9/MSGViewer.app
CFBundleIdentifier: com.jar2app.example.MSGViewer
CFBundleDisplayName: MSGViewer
CFBundleName: MSGViewer
CFBundleShortVersionString: 1.0.1
CFBundleSignature: ????
CFBundleVersion: 1.0.1
Retina support enabled.
---
JVMMainClassName: net.sourceforge.MSGViewer.ModuleLauncher
Executable Name (CFBundleExecutable): JavaAppLauncher
JAR Working directory: $APP_ROOT/Contents

MSGViewer.jar packaged to ~/Desktop/MSGViewer-1.9/MSGViewer.app

Fails to run. Rightly so, missing additional libraries. Moving the lib/* files into a MSGViewer.app/Contents/Java/lib subdirectory fixed the issue, but you don't have an include option additional dir's or files in the build process nor documentation to move things around.

This program is great by the way. Simple and to the point. Hope this improvement or documentation can be worked in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants