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

Revised Ant exec usages in TCK + TCK 10.0.4 #24925

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Apr 18, 2024

  • added AS_JAVA to force all asadmins to use the same JDK as Maven
  • added JAVA_HOME to force all ant executions to use the same JDK as Maven
  • added full path to java command (based on java.home property)
  • fixed result processing in several cases
  • added failonerror (false by default); not added just to executions where we don't care about the result.
  • passed all TCK tests

- added AS_JAVA to force all asadmins to use the same JDK as Maven
- added JAVA_HOME to force all ant executions to use the same JDK as Maven
- added full path to java command (based on java.home property)
- fixed result processing in several cases

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
@dmatej
Copy link
Contributor Author

dmatej commented Apr 19, 2024

How to run the TCKs: https://github.com/eclipse-ee4j/glassfish/wiki/Jakarta-EE-10-TCK-Tests
If you want to run individual tests, you can do for example this:

mvn clean install -Ptck -pl :jakarta-pages-tags-tck
mvn clean install -Ptck -pl :glassfish-external-tck-pages-tags -Drun.test=com/sun/ts/tests/signaturetest -Dglassfish.version=7.0.14

@dmatej dmatej changed the title Revided Ant exec usages in TCK + TCK 10.0.4 Revised Ant exec usages in TCK + TCK 10.0.4 Apr 19, 2024
@dmatej dmatej merged commit 5d59bb6 into eclipse-ee4j:master Apr 19, 2024
2 checks passed
@dmatej dmatej deleted the fix-java-exec branch April 19, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants