You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by th...@gmail.com on 2008/04/21 19:14:34 UTC

maven pde rcp to build

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

Re: maven pde rcp to build

Posted by th...@gmail.com.
Thanks for replying Barrie.

I thought this posting would go dead!

I know you are using 3.2 with the startup.jar. But the 3.3.X does not have a
startup.jar! Do you know the  name of the eclipse 3.3 starting jar?

Is there are eclipse RCP standalone for 3.3?

Thanks!

On Sun, Apr 27, 2008 at 7:10 PM, Barrie Treloar <ba...@gmail.com> wrote:

> On Sat, Apr 26, 2008 at 11:11 AM, Barrie Treloar <ba...@gmail.com>
> wrote:
> > On Tue, Apr 22, 2008 at 2:44 AM,  <th...@gmail.com> 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.
> >
> >  I wrote that tutorial, but I use 3.2 so I think the only change needed
> >  is to copy the startup jar from inside the plugins dir to the
> >  toplevel.
> >
> >
> >  >  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 think you need zip.
> >
> >  A product build doest not create an executable jar.
> >
> >  It builds a zip file which you extract and then you run the
> >  <application>.exe that Eclipse PDE created for you.
> >
> >  I would have to check all this at work on Monday.
> >
>
> I've looked at the tutorial and the way we set things up here.
>
> You definitely need a zip packaging, otherwise the PDE plugin can not
> attach itself to the correct lifecycle.
>
> If you use "zip" what happens? I suspect that you need to copy the
> startup.jar into the root of your eclipse install.
>
> as stated before, when it all works you need to unzip the
> "..\..\I.TestBuild\TestBuild-win32.win32.x86.zip" file and run its
> launcher.exe.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
On Sat, Apr 26, 2008 at 11:11 AM, Barrie Treloar <ba...@gmail.com> wrote:
> On Tue, Apr 22, 2008 at 2:44 AM,  <th...@gmail.com> 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.
>
>  I wrote that tutorial, but I use 3.2 so I think the only change needed
>  is to copy the startup jar from inside the plugins dir to the
>  toplevel.
>
>
>  >  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 think you need zip.
>
>  A product build doest not create an executable jar.
>
>  It builds a zip file which you extract and then you run the
>  <application>.exe that Eclipse PDE created for you.
>
>  I would have to check all this at work on Monday.
>

I've looked at the tutorial and the way we set things up here.

You definitely need a zip packaging, otherwise the PDE plugin can not
attach itself to the correct lifecycle.

If you use "zip" what happens? I suspect that you need to copy the
startup.jar into the root of your eclipse install.

as stated before, when it all works you need to unzip the
"..\..\I.TestBuild\TestBuild-win32.win32.x86.zip" file and run its
launcher.exe.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
On Tue, Apr 22, 2008 at 2:44 AM,  <th...@gmail.com> 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.

I wrote that tutorial, but I use 3.2 so I think the only change needed
is to copy the startup jar from inside the plugins dir to the
toplevel.

>  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 think you need zip.

A product build doest not create an executable jar.

It builds a zip file which you extract and then you run the
<application>.exe that Eclipse PDE created for you.

I would have to check all this at work on Monday.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
On Wed, Apr 30, 2008 at 7:17 AM,  <th...@gmail.com> wrote:
> I will try to get it to build from the ant script! Thanks!
>
>  Have you upgrade your build to use Eclipse 3.3.2?

No, we are still 3.2.2

We are too close to production to upgrade at this stage and it is a
non-trivial exercise.

>  Did you have a issue with space in path names?

Yes. Spaces in paths suck.
If they are passed to external tools they tends to get lost because
they are not escaped properly, hence your "and" target problem
earlier.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
I will try to get it to build from the ant script! Thanks!

Have you upgrade your build to use Eclipse 3.3.2?
Did you have a issue with space in path names?

Thanks!

On Tue, Apr 29, 2008 at 4:02 PM, Barrie Treloar <ba...@gmail.com> wrote:

> On Tue, Apr 29, 2008 at 10:38 PM,  <th...@gmail.com> wrote:
> > The differences are that I am using 3.3.2 and there is no RCP standalone
> >  package for 3.3.2.
>
> Sorry, I'm starting to run out of ideas.
>
> Are you able to get the project build via ant?
> the pde plugin just calls the ant build files, so if you can get it
> built via ant you should also be able to get it built via maven.
> Are there examples on how to build PDE project via ant with 3.3 on the
> eclipse site?
>
> If you are still having trouble, try the pde mailing list or newsgroup.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
On Tue, Apr 29, 2008 at 10:38 PM,  <th...@gmail.com> wrote:
> The differences are that I am using 3.3.2 and there is no RCP standalone
>  package for 3.3.2.

Sorry, I'm starting to run out of ideas.

Are you able to get the project build via ant?
the pde plugin just calls the ant build files, so if you can get it
built via ant you should also be able to get it built via maven.
Are there examples on how to build PDE project via ant with 3.3 on the
eclipse site?

If you are still having trouble, try the pde mailing list or newsgroup.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
The differences are that I am using 3.3.2 and there is no RCP standalone
package for 3.3.2.

On Tue, Apr 29, 2008 at 8:05 AM, <th...@gmail.com> wrote:

> I created the project in Eclipse and it runs! I went thru every step, I
> have not been about to get any of the projects to work with maven2.
>
>
> On Mon, Apr 28, 2008 at 6:57 PM, Barrie Treloar <ba...@gmail.com>
> wrote:
>
> > On Tue, Apr 29, 2008 at 6:22 AM,  <th...@gmail.com> wrote:
> > > 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
> > [del]
> > >  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.
> >
> > Did you follow the step "Confirm the Project works"?
> >
> > If you can not run your project inside eclipse then there is no way
> > Maven and the PDE ant plugin will work.
> >
> > Did you read the "Getting Started" guide?
> > http://mojo.codehaus.org/pde-maven-plugin/examples/getting_started.html
> >
> > You can download working copies of the tutorials.
> > Make sure you can get those to work and then use that learning on your
> > own projects.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: maven pde rcp to build

Posted by th...@gmail.com.
I created the project in Eclipse and it runs! I went thru every step, I have
not been about to get any of the projects to work with maven2.

On Mon, Apr 28, 2008 at 6:57 PM, Barrie Treloar <ba...@gmail.com> wrote:

> On Tue, Apr 29, 2008 at 6:22 AM,  <th...@gmail.com> wrote:
> > 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
> [del]
> >  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.
>
> Did you follow the step "Confirm the Project works"?
>
> If you can not run your project inside eclipse then there is no way
> Maven and the PDE ant plugin will work.
>
> Did you read the "Getting Started" guide?
> http://mojo.codehaus.org/pde-maven-plugin/examples/getting_started.html
>
> You can download working copies of the tutorials.
> Make sure you can get those to work and then use that learning on your
> own projects.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
On Tue, Apr 29, 2008 at 6:22 AM,  <th...@gmail.com> wrote:
> 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
[del]
>  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.

Did you follow the step "Confirm the Project works"?

If you can not run your project inside eclipse then there is no way
Maven and the PDE ant plugin will work.

Did you read the "Getting Started" guide?
http://mojo.codehaus.org/pde-maven-plugin/examples/getting_started.html

You can download working copies of the tutorials.
Make sure you can get those to work and then use that learning on your
own projects.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
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, <th...@gmail.com> 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 <sk...@gmail.com>
> 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 <sk...@gmail.com>
> > > 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 <skrepkovich@gmail.com
> > >
> > >> > 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: users-unsubscribe@maven.apache.org
> > >> >> For additional commands, e-mail: users-help@maven.apache.org
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >>
> > >> --
> > >> 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: users-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >
> > >
> >
> > --
> > 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: maven pde rcp to build

Posted by th...@gmail.com.
>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 <sk...@gmail.com> 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 <sk...@gmail.com>
> > 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 <sk...@gmail.com>
> >> > 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: users-unsubscribe@maven.apache.org
> >> >> For additional commands, e-mail: users-help@maven.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> 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: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by SKrepkovich <sk...@gmail.com>.
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 <sk...@gmail.com>
> 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 <sk...@gmail.com>
>> > 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: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
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 <sk...@gmail.com> 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 <sk...@gmail.com>
> > 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: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by SKrepkovich <sk...@gmail.com>.
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 <sk...@gmail.com>
> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
Did you just rename the jar file?

On Mon, Apr 28, 2008 at 9:39 AM, SKrepkovich <sk...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by SKrepkovich <sk...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to instruct Maven to run more than one script?

Posted by Jerome Lacoste <je...@gmail.com>.
On Sat, May 3, 2008 at 2:20 AM, Tawfik, Sameh E
<Sa...@fairisaac.com> wrote:
>
> Hi,
>
> I've two Perl scripts, "Before_Build.pl", and "After_Build.pl " that I
> need to run the first one before the build starts and the other one
> after the build is complete.
>
> So, what is the command line syntax to run a full build with the above
> requirements?

Extract from the soon to be published FAQ of the exec mojo:

Q: How to execute the plugin multiple times ?

    Use several execution nodes each with a different id. Don't forget
to bind each execution to a phase.

    Read the full answer here:
http://article.gmane.org/gmane.comp.java.maven-plugins.mojo.user/1307




> I've the following code in my pom.xml:
>
>             <plugin>
>               <groupId>org.codehaus.mojo</groupId>
>               <artifactId>exec-maven-plugin</artifactId>
>               <executions>
>                 <execution>
>                   <goals>
>                     <goal>exec</goal>
>                   </goals>
>                 </execution>
>               </executions>
>               <inherited>false</inherited>
>               <configuration>
>                 <executable>Before_Build.pl</executable>
>                 <arguments>
>                   <argument>20</argument>
>                 </arguments>
>               </configuration>
>             </plugin>
>
>             <plugin>
>               <groupId>org.codehaus.mojo</groupId>
>               <artifactId>exec-maven-plugin</artifactId>
>               <executions>
>                 <execution>
>                   <goals>
>                     <goal>exec</goal>
>                   </goals>
>                 </execution>
>               </executions>
>               <inherited>false</inherited>
>               <configuration>
>                 <executable>After_Build.pl</executable>
>                 <arguments>
>                   <argument>20</argument>
>                 </arguments>
>               </configuration>
>             </plugin>
>
> I can successfully execute the first Perl script "Before_Build.pl" from
> the command line, by running the following command:
>
>  C:\projects>mvn -N exec:exec -Dexec.executable=" Before_Build.pl"
>
>
>   Thanks,
>
>     Sameh
> This email and any files transmitted with it are confidential, proprietary
> and intended solely for the individual or entity to whom they are addressed.
> If you have received this email in error please delete it immediately.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Jerome Lacoste, +47 40867729, Daglig Leder, CoffeeBreaks AS

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


How to instruct Maven to run more than one script?

Posted by "Tawfik, Sameh E" <Sa...@fairisaac.com>.
Hi,

I've two Perl scripts, "Before_Build.pl", and "After_Build.pl " that I
need to run the first one before the build starts and the other one
after the build is complete.

So, what is the command line syntax to run a full build with the above
requirements?

I've the following code in my pom.xml:

             <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>exec-maven-plugin</artifactId>
               <executions>
                 <execution>
                   <goals>
                     <goal>exec</goal>
                   </goals>
                 </execution>
               </executions>
               <inherited>false</inherited>
               <configuration>
                 <executable>Before_Build.pl</executable>
                 <arguments>
                   <argument>20</argument>
                 </arguments>
               </configuration>
             </plugin>

             <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>exec-maven-plugin</artifactId>
               <executions>
                 <execution>
                   <goals>
                     <goal>exec</goal>
                   </goals>
                 </execution>
               </executions>
               <inherited>false</inherited>
               <configuration>
                 <executable>After_Build.pl</executable>
                 <arguments>
                   <argument>20</argument>
                 </arguments>
               </configuration>
             </plugin>

I can successfully execute the first Perl script "Before_Build.pl" from
the command line, by running the following command:
  
  C:\projects>mvn -N exec:exec -Dexec.executable=" Before_Build.pl"


   Thanks,

     Sameh
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


site generation fails if war plugin is defined with goal 'exploded' (cant override read-only parameter)

Posted by Leonard Gestrin <Le...@markettools.com>.
Hello,
I am running into problems generating site for project that has war
plugin using 'exploded' goal. 

I searched the archives and it looks like other people had issues with
it over the last couple years, but I could not find solution for it.

The error is 

[INFO] Using default encoding to copy filtered resources.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin.
Reason: ERROR: Cannot override
read-only parameter: classesDirectory in goal: war:exploded
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
configuring: org.apache.maven.plugins:
maven-war-plugin. Reason: ERROR: Cannot override read-only parameter:
classesDirectory in goal: war:
exploded
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor
.java:568)


Perhaps, this can be solved by defining profiles and each profile
defining different configuration for war plugin, but I was thinking
there is a simpler solution for it.

Thanks
Leonard


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by Barrie Treloar <ba...@gmail.com>.
Where did you get with this?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
Carlos,  Can you open the sample code area?


On Wed, Apr 30, 2008 at 9:15 AM, <th...@gmail.com> wrote:

> I need a userid and passcode to get access to the code.
>
>
> On Tue, Apr 29, 2008 at 6:59 PM, Carlos Sanchez <ca...@apache.org> wrote:
>
> > the link to the code is in the slides
> >
> > On Fri, Apr 25, 2008 at 7:47 AM,  <th...@gmail.com> wrote:
> > > There was no sample code with the slides, so I was a little lost. Most
> > of
> > >  the stuff has in the slide seems ok, but I could not make heads or
> > tails
> > >  without the src code.
> > >
> > >  On Thu, Apr 24, 2008 at 6:04 AM, Vincent Siveton <
> > vincent.siveton@gmail.com>
> > >  wrote:
> > >
> > >
> > >
> > >  > Hi,
> > >  >
> > >  > Have a look on Carlos's blog
> > >  > http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
> > >  >
> > >  > Cheers,
> > >  >
> > >  > Vincent
> > >  >
> > >  > 2008/4/21  <th...@gmail.com>:
> > >  > > 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
> > >  > >
> > >  >
> > >  >
> > ---------------------------------------------------------------------
> > >  > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >  > For additional commands, e-mail: users-help@maven.apache.org
> > >  >
> > >  >
> > >
> >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >  -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: maven pde rcp to build

Posted by th...@gmail.com.
I need a userid and passcode to get access to the code.

On Tue, Apr 29, 2008 at 6:59 PM, Carlos Sanchez <ca...@apache.org> wrote:

> the link to the code is in the slides
>
> On Fri, Apr 25, 2008 at 7:47 AM,  <th...@gmail.com> wrote:
> > There was no sample code with the slides, so I was a little lost. Most
> of
> >  the stuff has in the slide seems ok, but I could not make heads or
> tails
> >  without the src code.
> >
> >  On Thu, Apr 24, 2008 at 6:04 AM, Vincent Siveton <
> vincent.siveton@gmail.com>
> >  wrote:
> >
> >
> >
> >  > Hi,
> >  >
> >  > Have a look on Carlos's blog
> >  > http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
> >  >
> >  > Cheers,
> >  >
> >  > Vincent
> >  >
> >  > 2008/4/21  <th...@gmail.com>:
> >  > > 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
> >  > >
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >  > For additional commands, e-mail: users-help@maven.apache.org
> >  >
> >  >
> >
>
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>  -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Carlos Sanchez <ca...@apache.org>.
the link to the code is in the slides

On Fri, Apr 25, 2008 at 7:47 AM,  <th...@gmail.com> wrote:
> There was no sample code with the slides, so I was a little lost. Most of
>  the stuff has in the slide seems ok, but I could not make heads or tails
>  without the src code.
>
>  On Thu, Apr 24, 2008 at 6:04 AM, Vincent Siveton <vi...@gmail.com>
>  wrote:
>
>
>
>  > Hi,
>  >
>  > Have a look on Carlos's blog
>  > http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
>  >
>  > Cheers,
>  >
>  > Vincent
>  >
>  > 2008/4/21  <th...@gmail.com>:
>  > > 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
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  > For additional commands, e-mail: users-help@maven.apache.org
>  >
>  >
>



-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
There was no sample code with the slides, so I was a little lost. Most of
the stuff has in the slide seems ok, but I could not make heads or tails
without the src code.

On Thu, Apr 24, 2008 at 6:04 AM, Vincent Siveton <vi...@gmail.com>
wrote:

> Hi,
>
> Have a look on Carlos's blog
> http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
>
> Cheers,
>
> Vincent
>
> 2008/4/21  <th...@gmail.com>:
> > 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
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Vincent Siveton <vi...@gmail.com>.
Hi,

Have a look on Carlos's blog
http://www.jroller.com/carlossg/entry/slides_from_eclipsecon

Cheers,

Vincent

2008/4/21  <th...@gmail.com>:
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven pde rcp to build

Posted by th...@gmail.com.
That break is from the email format.

Have you been through this tutorial?

Thanks!

On Wed, Apr 23, 2008 at 5:17 AM, Steinar Bang <sb...@dod.no> wrote:

> >>>>> thenew05@gmail.com:
> >           <eclipseInstall>C:\Program
> > Files\JavaWorkEnv\eclipse</eclipseInstall>
>
> Is the line break here actual, or an artifact of your email program?  If
> it is actual, it could be the problem.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven pde rcp to build

Posted by Steinar Bang <sb...@dod.no>.
>>>>> thenew05@gmail.com:
>           <eclipseInstall>C:\Program
> Files\JavaWorkEnv\eclipse</eclipseInstall>

Is the line break here actual, or an artifact of your email program?  If
it is actual, it could be the problem.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org