pde-maven-plugin doesn't work with Eclipse 3.3 because startup.jar has been 
moved
---------------------------------------------------------------------------------

                 Key: MOJO-730
                 URL: http://jira.codehaus.org/browse/MOJO-730
             Project: Mojo
          Issue Type: Bug
          Components: pde
         Environment: pde-maven-plugin 1.0-alpha-1-SNAPSHOT
Eclipse 3.3 M6

            Reporter: Thai Ha



The root cause is because the below code snippet

AbstractEclipsePDEMojo.java, lines: 177-181
------------------------------------------------------------------
        this.startupJar = new File( this.eclipseInstall, "startup.jar" );
        if ( !startupJar.exists() )
        {
            throw new MojoExecutionException( startupJar.getPath()
                + " not found.  Have you set up your -DeclipseInstall?" );
        }
------------------------------------------------------------------

In Eclipse 3.3M6, the startup.jar is not located at eclipse\startup.jar anymore 
(it is moved to eclipse\plugins\org.eclipse.platform_xxx\startup.jar), so an 
exception occurs ("..startup.jar not found.  Have you set up your 
-DeclipseInstall?").

I believe that the code should be updated to lookup startup.jar in folders 
below eclipse\plugins\ to allow it to work with Eclipse 3.3+


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to