Hi,
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.
my target is:
<target name="preverify_SUN"
description="Previrifies">
<mkdir dir="${project.build.preverified}"/>
<exec dir="${SUN.bin.path}" (C:\WTK21\bin)
executable="preverify.exe">
<arg line="-classpath ${SUN.midp20.path}"/> (C:\WTK21\lib\midpapi20.jar)
<arg line="-d ${project.build.preverified}"/>
<arg line="${project.classes.dir}"/>
</exec>
</target>
I verified the CLASSPATH, PATH, JAVA_HOME and others things, but I don�t find the error.
I am using the Eclipse to run and to edit the Ant.
Someone can help me?
[ November 24, 2004: Message edited by: Afonso Alcantara ]