So not I moved the project to the C: directory, and I get this error, but I
can not find where this is being called from. It seems like it is failing on
the second run of the generateFeature target. I can not find where this is
looking for this plug-in name value.

C:\mavenpde\test.pde_maven_plugin.simple_application>mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Simple Plugin PDE Example
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [pde:ext]
[INFO] java -classpath "C:\Program Files\JavaWorkEnv\eclipse\startup.jar"
org.eclipse.core.launcher.Main -application or
g.eclipse.ant.core.antRunner -buildfile "C:\Program
Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071
019\scripts\productBuild\productBuild.xml"
-Dbuilder=C:\mavenpde\test.pde_maven_plugin.simple_application\buildConfigura
tion
-DbuildDirectory=C:\mavenpde\test.pde_maven_plugin.simple_application\..\..
-DbuildTempFolder=C:\mavenpde\test.pde_
maven_plugin.simple_application\target\pdeTemp -DjavacFailOnError=true
Buildfile: C:\Program
Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071019\scripts\productBuild\produ
ctBuild.xml

main:

preBuild:

preSetup:

checkLocalMaps:

getMapFiles:
   [concat] No existing resources and no nested text, doing nothing

postSetup:

checkLocalBase:

getBaseComponents:

generateFeature:

fetch:

generateFeature:
:
:

[eclipse.generateFeature]       Another singleton version selected:
org.eclipse.xsd_2.3.2.v200802051830

BUILD FAILED
C:\Program
Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071019\scripts\productBuild\productBuild.xml
:24: The following error occurred while executing this line:
C:\Program
Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071019\scripts\productBuild\productBuild.xml
:52: *Unable to find plug-in:
test.pde_maven_plugin.simple_application.*Please check the error log
for more details.

Total time: 5 seconds
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing command line. Exit code:13
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Mon Apr 28 15:45:52 CDT 2008
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------



On Mon, Apr 28, 2008 at 2:42 PM, <[EMAIL PROTECTED]> wrote:

> From the tutorial:
>
>   http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html
>
> It uses the ZIP to package the PDE project, but this would not run without
> having the startup.jar file for Eclipses.
> So I changed it to JAR to package, and it built with no problems but would
> not run as a jar. So it needs to be ZIP with exe and prepackage launcher
> included in the ZIP.
>
>
>
>
> On Mon, Apr 28, 2008 at 12:01 PM, SKrepkovich <[EMAIL PROTECTED]>
> wrote:
>
> >
> > Try building in a path that does not contain spaces - i.e. not in
> > "Documents
> > and Settings".  I've had problems with this before.
> > Why is your packaging ZIP instead of JAR? Maybe I missed something from
> > an
> > earlier post, but I didn't know Maven supported ZIP packaging...
> >
> >
> > MALou wrote:
> > >
> > > So after I moved the startup.jar file and changed the pom.xml package
> > tag
> > > to zip.
> > >
> > > I get this error below.
> > >
> > > I can not find where they are calling  the "AND" target from.
> > >
> > > C:\Documents and
> > >
> > Settings\w39833\workspace\PDE\PDE_Plugin_Tutorial\plugins\test.pde_maven_plugin.simple_application>mvn
> > > install
> > > [INFO] Scanning for projects...
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Building Simple Plugin PDE Example
> > > [INFO]    task-segment: [install]
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] [pde:ext]
> > > [INFO] java -classpath "C:\Program
> > Files\JavaWorkEnv\eclipse\startup.jar"
> > > org.eclipse.core.launcher.Main -application or
> > > g.eclipse.ant.core.antRunner -buildfile "C:\Program
> > > Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071
> > > 019\scripts\productBuild\productBuild.xml" -Dbuilder=C:\Documents and
> > > Settings\workspace\PDE\PDE_Plugin_Tutorial\
> > > plugins\test.pde_maven_plugin.simple_application\buildConfiguration
> > > -DbuildDirectory=C:\Documents and Settings\wo
> > >
> > rkspace\PDE\PDE_Plugin_Tutorial\plugins\test.pde_maven_plugin.simple_application\..\..
> > > -DbuildTempFolder=C:\Documents an
> > > d
> > >
> > Settings\workspace\PDE\PDE_Plugin_Tutorial\plugins\test.pde_maven_plugin.simple_application\target\pdeTemp
> > > -Dja
> > > vacFailOnError=true
> > > Buildfile: C:\Program
> > >
> > Files\JavaWorkEnv\eclipse\plugins\org.eclipse.pde.build_3.3.2.v20071019\scripts\productBuild\produ
> > > ctBuild.xml
> > >
> > > BUILD FAILED
> > > Target "and" does not exist in the project "Build a Product".
> > >
> > > Total time: 0 seconds
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Error executing command line. Exit code:13
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > >
> > > On Mon, Apr 28, 2008 at 9:53 AM, SKrepkovich <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > >>
> > >> Yep - copied and renamed to startup.jar
> > >>
> > >>
> > >> MALou wrote:
> > >> >
> > >> > Did you just rename the jar file?
> > >> >
> > >> > On Mon, Apr 28, 2008 at 9:39 AM, SKrepkovich <[EMAIL PROTECTED]
> > >
> > >> > wrote:
> > >> >
> > >> >>
> > >> >> 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]
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >>
> > >> --
> > >> View this message in context:
> > >>
> > http://www.nabble.com/maven-pde-rcp-to-build-tp16815246s177p16940709.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]
> > >>
> > >>
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/maven-pde-rcp-to-build-tp16815246s177p16943349.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