On Sat, Apr 26, 2008 at 11:11 AM, Barrie Treloar <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 22, 2008 at 2:44 AM,  <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to