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

Add support to runtimeBits #6

Closed
efernandesng opened this issue Aug 27, 2014 · 16 comments
Closed

Add support to runtimeBits #6

efernandesng opened this issue Aug 27, 2014 · 16 comments

Comments

@efernandesng
Copy link

Hi,

Would be nice if the runtimeBits was supported.

Maven output:

Unable to parse configuration of mojo com.akathist.maven.plugins.launch4j:launch4j-maven-plugin:1.5.2:launch4j for parameter runtimeBits: Cannot find 'runtimeBits' in class com.akathist.maven.plugins.launch4j.Jre

Thanks

@lukaszlenart
Copy link
Collaborator

What's runtimeBits?

@efernandesng
Copy link
Author

Is a launch4j configuration property. launch4jConfig/jre/runtimeBits
http://launch4j.sourceforge.net/docs.html

<runtimeBits>
Optional, defaults to 64/32; Allows to select between 64-bit and 32-bit runtimes. Valid values are:
64
Use only 64-bit runtimes
64/32
Use 64-bit runtimes if available, otherwise use 32-bit
32
Use only 32-bit runtimes

@lukaszlenart
Copy link
Collaborator

Something like this 83e721c?

@efernandesng
Copy link
Author

Nice!

Thanks

@lukaszlenart
Copy link
Collaborator

I can deploy snapshot version to oss.sonatype.org, can you test it?

@efernandesng
Copy link
Author

Would be nice! I will test it and give you a feedback

@lukaszlenart
Copy link
Collaborator

Done! Use 1.7-SNAPSHOT as a version and use Sonatype repo - added a note about it to README

@efernandesng
Copy link
Author

Hi,

Now maven creates an executable without problem, but when I execute EXE file, I get always the message "This application requires runtime 1.6.0".

I tested with 32 and 64 jre 1.7.0

I tried use Sonatype repo following README instructions, but I don't have success. I got it with this (http://stackoverflow.com/questions/13306348/instruct-maven-to-download-third-party-plugin-from-https-oss-sonatype-org-cont)

Thanks

@efernandesng efernandesng reopened this Oct 1, 2014
@lukaszlenart
Copy link
Collaborator

Hm... it looks like a bug in Launch4j itself, will try to investigate the source of Launch4j and maybe will find some solution.

Problem with repo was missing slash at the end - I've updated the README

@lukaszlenart
Copy link
Collaborator

I have posted question here as I couldn't find any solution:
https://sourceforge.net/p/launch4j/discussion/332683/thread/12e0aabe/

@efernandesng
Copy link
Author

OK. Thanks! I'll follow the thread.

@lukaszlenart
Copy link
Collaborator

Looks like issue is solved in Launch4j - we just need a new release :-)

@lukaszlenart
Copy link
Collaborator

I have upgrade Launch4j version and pushed new 1.7-SNAPSHOT artifacts to Sonatype Maven repo - can you test it and report back? Thanks in advance!

@efernandesng
Copy link
Author

I'll test it! Thanks

@efernandesng
Copy link
Author

Tested with successful!

Thanks!

@lukaszlenart
Copy link
Collaborator

Great! I will push new version then :-)

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

No branches or pull requests

2 participants