For the startup.jar, did you try copying
org.eclipse.equinox.launcher_1.0.0.v20070606.jar (or whatever version you
have) as startup.jar in your eclipse home directory?  This is what my
project uses with Maven and Eclipse 3.3. 



MALou wrote:
> 
> I have been looking for a while for this solution.
> 
> Has anyone been able to run this tutorial to complete?
> 
> http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html
> 
> I have looked through many emails just to get the project to build in
> maven
> with Eclipse 3.3.2 as target.
> 
> Now I am at a point where it builds with 0 errors. I had to change the
> pom.xml packaging setting from ZIP to  JAR.
> 
> So I tried to run it from the dos with:  *java -jar
> simple_application-1.0-SNAPSHOT.jar
> *
> I get nothing. No errors, no failure,......... nothing!
> 
> Here is my pom.xml;
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>test.pde_maven_plugin</groupId>
>   <artifactId>simple_application</artifactId>
>   <packaging>jar</packaging>
>   <name>Simple Plugin PDE Example</name>
>   <version>1.0-SNAPSHOT</version>
>   <description>A Simple Plugin PDE Example</description>
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>pde-maven-plugin</artifactId>
>         <extensions>true</extensions>
>         <configuration>
>           <eclipseInstall>C:\Program
> Files\JavaWorkEnv\eclipse</eclipseInstall>
>           <pdeProductFilename>simple_product.product</pdeProductFilename>
>           <pdeBuildVersion>3.3.2.v20071019</pdeBuildVersion>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> </project>
> 
> 
> Any leads to get this to run from dos as jar or how to get the zip
> packaging
> setting to build?
> 
> Here is the error if I have zip as packaging setting.
> 
>>mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Simple Plugin PDE Example
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [pde:ext]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] C:\Program Files\JavaWorkEnv\eclipse\startup.jar not found.  Have
> you
> set up your -DeclipseInstall?
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Mon Apr 21 12:12:30 CDT 2008
> [INFO] Final Memory: 3M/8M
> [INFO]
> ------------------------------------------------------------------------
> 
> Thanks
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-pde-rcp-to-build-tp16815246s177p16940416.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to