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

Issue [#48] #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Issue [#48] #58

wants to merge 3 commits into from

Conversation

nezda
Copy link

@nezda nezda commented Mar 28, 2017

[#48] just swap $JAVA_OPTS and @EXTRA_JVM_ARGUMENTS@ so env is last and has a chance for its values to take precedence

(I tested this works for me using <unixScriptTemplate> configuration option suggested in http://stackoverflow.com/a/27608001/689119 to override -Xmx with $JAVA_OPTS env)

@nezda
Copy link
Author

nezda commented Mar 29, 2017

oops, didn't run all the tests - figured out how with https://github.com/mojohaus/appassembler/blob/master/.travis.yml ... fixing

…st and has a chance for its values to take precedence
@nezda
Copy link
Author

nezda commented Apr 25, 2020

any chance this can get merged?

@@ -58,7 +58,7 @@ t.checkExistenceAndContentOfAFile(new File( fileBinFolder, "booter-windows/bin/b
'@REM ******************************************',
'@REM --- This is my own license header file ---',
'@REM ******************************************',
'%JAVACMD% %JAVA_OPTS% -classpath %CLASSPATH% -Dapp.name="booterLicenseHeaderTest" -Dapp.repo="%REPO%" -Dapp.home="%BASEDIR%" -Dbasedir="%BASEDIR%" org.codehaus.mojo.appassembler.booter.AppassemblerBooter %CMD_LINE_ARGS%',
'%JAVACMD% %JAVA_OPTS% -classpath %CLASSPATH% -Dapp.name="booterLicenseHeaderTest" -Dapp.repo="%REPO%" -Dapp.home="%BASEDIR%" -Dbasedir="%BASEDIR%" org.codehaus.mojo.appassembler.booter.AppassemblerBooter %CMD_LINE_ARGS%',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Special reason why this has been changed? also Line 39 ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i must've been confused - removed those changes.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops - de ja vu :) #58 (comment) - some of these mvn --show-version --errors --batch-mode -Prun-its clean verify tests failed

[INFO] Building: booterLicenseHeaderTest/pom.xml
[INFO] run script verify.groovy
[INFO] ..FAILED (2.3 s)
[INFO]   The post-build script did not succeed. The expected content 'exec "$JAVACMD" $JAVA_OPTS  \' in the file '/Users/nezda/code/appassembler.git/appassembler-maven-plugin/target/it/booterLicenseHeaderTest/target/generated-resources/appassembler/booter-unix/bin/booterLicenseHeaderTest' couldn't be found.
[INFO] Building: programLicenseHeaderTest/pom.xml
[INFO] run script verify.groovy
[INFO] ..FAILED (2.2 s)
[INFO]   The post-build script did not succeed. The expected content 'exec "$JAVACMD" $JAVA_OPTS  \' in the file '/Users/nezda/code/appassembler.git/appassembler-maven-plugin/target/it/programLicenseHeaderTest/target/appassembler/bin/programLicenseHeader-test' couldn't be found.

reverting that last change

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The travis test failure appears to be because they no longer support Java 7

https://travis-ci.org/github/mojohaus/appassembler/jobs/679529347

image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What can I do to get this merged?

@nezda
Copy link
Author

nezda commented May 1, 2021

suppose I gotta make the tests pass again 😎...

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

Successfully merging this pull request may close these issues.

None yet

2 participants