This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I tried run an ant in my J2ME project, but i found this error: BUILD FAILED: C:\des\crazy\java\build.xml:40: Execute failed: java.io.IOException: CreateProcess: preverify.exe -classpath C:\WTK21\lib\midpapi20.jar -d C:\des\crazy\java\bin\build\preverified C:\des\crazy\java\bin error=2
I am trying preverifies the code, but i don�t know what�s happen.
I have just had this same problem. You have to ensure the folder where this executable lives is included in your build path. You also need to explicitly define where the executable lives in your build file if it still doesn't work.
For instance my problem: C:\workspace\WayneGrant\build.exe.xml:19: Execute failed: java.io.IOException: CreateProcess: makensis.exe error=2
From this line: <exec executable="makensis.exe"/>
Was fixed by: <project name="NSIS" default="build" basedir="." >