It return the same information as preverfy in maven. C:\WTK22\bin>preverify -classpath c:\WTK22\lib\midpapi20.jar;c:\WTK22\lib\cldcapi11.jar -d E:\Luke\j2me_workspace\engines\target\wtk-preverify -target CLDC1.1E:\Luke\j2me_workspace\engines\target\engines- 1.0-SNAPSHOT-me.jar JAR file creation failed with error -1 The preverified classes if any are in tmp24632. See jar log of errors in E:\Luke\j2me_workspace\engines\target\wtk-preverify\jarlog.txt
And the jarlog.txt presents this : Error: No such file or directory jar -cfm "E:\Luke\j2me_workspace\engines\target\wtk-preverify\engines- 1.0-SNAPSHOT-me.jar" tmp24632\\META-INF\MANIFEST.MF -C tmp24632 . Thx, Wayne Fay~ 2007/8/2, Wayne Fay <[EMAIL PROTECTED]>: > > Can you try running that preverify executable by itself, outside of > Maven, and see if perhaps it provides more detailed failure > information? > > I am not positive, but it seems like you will want to run something > along the lines of: > > c:\WTK22\bin\preverify -classpath > c:\WTK22\lib\midpapi20.jar;c:\WTK22\lib\cldcapi11.jar -d > E:\Luke\j2me_workspace\engines\target\wtk-preverify -target CLDC1.1 > E:\Luke\j2me_workspace\engines\target\engines-1.0-SNAPSHOT-me.jar > > Try that and see what happens. > > Wayne > > On 8/1/07, Luke w <[EMAIL PROTECTED]> wrote: > > The result after run "mvn -e -X install" .And there`s no JAD file > created. > > Please help me to check the red words , is there someting wrong ? > > > > [INFO] WtkPreverify.fullClasspath > > c:\WTK22\lib\midpapi20.jar;c:\WTK22\lib\cldcapi11.jar > > [WtkJad] Preverifying > > E:\Luke\j2me_workspace\engines\target\engines-1.0-SNAPSHOT-me.jar > > [WtkJad] Adjusted Java home to C:\j2sdk1.4.2_08 > > [WtkJad] Executable: c:\WTK22\bin\preverify > > [WtkJad] Arguments : -classpath > > c:\WTK22\lib\midpapi20.jar;c:\WTK22\lib\cldcapi11.jar -d > > E:\Luke\j2me_works > > pace\engines\target\wtk-preverify -target CLDC1.1 > > E:\Luke\j2me_workspace\engines\target\engines-1.0-SNAPSHOT-m > > e.jar > > JAR file creation failed with error -1 > > The preverified classes if any are in tmp25068. See jar log of errors in > > E:\Luke\j2me_workspace\engines\target > > \wtk-preverify\jarlog.txt > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Preverification failed (result=1) > > [INFO] > > ------------------------------------------------------------------------ > > > > 2007/8/1, Rymenams Steven < [EMAIL PROTECTED]>: > > > Try running "mvn clean install", as cleaning often helps with > preverify > > errors. Also, "install" will package the application as well. If it > still > > doesn't work, run "mvn -e -X install" to get more detailled debugging > > information. > > > > > > > > > -----Original Message----- > > > From: Luke w [mailto:[EMAIL PROTECTED] > > > Sent: Wed 8/1/2007 3:04 PM > > > To: [email protected] > > > Subject: [mojo-user] Re: Preverify Error > > > > > > Here is the jarlog created in \target\wtk-preverify folder,when the > > > WtkPreverify error occur. > > > > > > Error: No such file or directory > > > jar -cfm > > "E:\Luke\j2me_workspace\engines\target\wtk-preverify\engines- > > 1.0-SNAPSHOT-me.jar" > > > tmp5172\\META-INF\MANIFEST.MF -C tmp5172 . > > > > > > > > > 2007/8/1, Luke w <[EMAIL PROTECTED]>: > > > > Please check my pom.xml, when i "mvn package" , occur this error. > > > > > > > > [INFO] WtkPreverify.fullClasspath > > > > c:\WTK22\lib\midpapi20.jar;c:\WTK22\lib\cldcapi11.jar > > > > [WtkJad] Preverifying > > > > > > E:\Luke\j2me_workspace\engines\target\engines-1.0-SNAPSHOT-me.jar > > > > JAR file creation failed with error -1 > > > > The preverified classes if any are in tmp25379. See jar log of > errors > > > > in E:\Luke\j2me_workspace\engines\target > > > > \wtk-preverify\jarlog.txt > > > > [INFO] > > ------------------------------------------------------------------------ > > > > [ERROR] FATAL ERROR > > > > [INFO] > > ------------------------------------------------------------------------ > > > > [INFO] Preverification failed (result=1) > > > > [INFO] > > ------------------------------------------------------------------------ > > > > > > > > By the way , there`s no JAD file created or exist, And eclipse-me > > > > section seems does not work.After "mvn eclipse:eclipse" the J2ME Lib > > > > is still not configured when i open the project in eclipse. > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > > > > > -- > > Best regards > > Please feel free to Gmail me > > Luke W > > 王映华 > > Gtalk: [EMAIL PROTECTED] > > Blog: http://hi.baidu.com/hit1983 > -- Best regards Please feel free to Gmail me Luke W 王映华 Gtalk: [EMAIL PROTECTED] Blog: http://hi.baidu.com/hit1983
