cancel
Showing results for 
Search instead for 
Did you mean: 

How to fix BUILD FAILED while executing "ant all command"? Log is attached below.

Aswin7722
Discoverer

Accepted Solutions (1)

Accepted Solutions (1)

adambadura
Participant
0 Kudos

Make sure that you executed setantenv.bat before building. It looks like you didn't judging by this:

[echo] Ant memory settings: -Djava.security.manager=allow


It should additionally contain something like this:

--add-exports java.xml/com.sun.org.apache.xpath.internal=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xpath.internal.objects=ALL-UNNAMED
Aswin7722
Discoverer
0 Kudos

Thanks for helping out Adam. After executing setantenv.bat, the build executed successfully.

Answers (0)