I'm trying to run a buildXXX.xml file using ANT but i'm getting this error:
Buildfile: C:\Users\Amira\Desktop\SaloméTMF\Salome TMF
V3.1SourceCode\buildSOAPClient.xml
init:
prepare:
compile:
makesoapjar:
makeihmjar:
makecorejar:
makedatajar:
makeapijar:
makeloginjar:
maketoolsjar:
makeplugintoolsjar:
makeUpdatejar:
makebootjar:
makecodexjar:
makejar:
signjar:
[signjar] Signing JAR: C:\Users\Amira\Desktop\SaloméTMF\Salome TMF
V3.1SourceCode\distrib\salome_tmf-soap-client\activation.jar to
C:\Users\Amira\Desktop\SaloméTMF\Salome TMF V3.1SourceCode\distrib\salome_tmf-soap-
client\activation.jar as salome_tmf
BUILD FAILED
C:\Users\Amira\Desktop\SaloméTMF\Salome TMF V3.1SourceCode\buildSOAPClient.xml:251:
Execute failed: java.io.IOException: Cannot run program "jarsigner.exe": CreateProcess
error=2, Le fichier spécifié est introuvable
Total time: 5 seconds
I made a search so i found that i should use JDK instead of JRE so i change it but the same error persist.
Any idea will be appreciated cheers
The solution is to use JDK as installed JRE in eclipse , and to set the JAVA-HOME variable to JDK path. Hope this help others :))
My solution was to change from 'Run in the same JRE as the workspace' to 'Separate JRE' which is weird because these are the same JRE.
Strange!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With