Community
Participate
Working Groups
Created attachment 112902 [details] Screen shot 1) Create a Midlet Project 2) Add a Midlet to it 3) Build it 4) Delete it (removing from disk!) 5) Create a new Midlet Project using the same name as used on step 1 6) The following error message will be displayed when trying to build the new project: Errors during build. Errors running builder 'Preverification' on project 'Teste'. Illegal Manifest Entry Key or Value "C:\Documents and Settings\cwg834\workspace_mtj\Teste\.mtj.tmp\emulation\Teste.jar (The system cannot find the path specified)" C:\Documents and Settings\cwg834\workspace_mtj\Teste\.mtj.tmp\emulation\Teste.jar (The system cannot find the path specified)
Created attachment 113173 [details] Fix getRuntimeJar method The problem was in the methoid: public static File getRuntimeJar(IProject project, IProgressMonitor monitor) throws CoreException from the PreverificationBuilder class. It didn't check if the jar file existed in the file system and assumed it was already created. I'm posting a patch to make this checking on the FS.
just tested the patch and it worked ok. +1 to commit.
Fixed
all bugs we integrated and release on MTj 0.9