Export Product with ANT [message #457490] |
Wed, 01 November 2006 17:43 |
Eclipse User |
|
|
|
Originally posted by: florianwendland.freenet.de
Hello all,
is it possible to export a rcp-app with ANT and not with the build-in export
product wizard?
Greetings
Florian
------------------------------------------------------------ ----------------
----
Ich verwende die kostenlose Version von SPAMfighter,
die bei mir bis jetzt 2306 Spammails entfernt hat.
F
|
|
|
|
Re: Export Product with ANT [message #457544 is a reply to message #457492] |
Thu, 02 November 2006 10:20 |
Eclipse User |
|
|
|
Originally posted by: florianwendland.freenet.de
Hello Patrick,
thanks fo rapid answering. I followed the link you mentioned, hut didn't get
behind the scenes of the automatic build.
Is there a an example, what explains how an automatic build could be done
within ant?
Thx
Florian
"Patrick Paulin" <patrick@rcpquickstart.com> schrieb im Newsbeitrag
news:44049e5ada8008c30a67eb98d9e2a8b7$1@www.eclipse.org...
> Hi Florian,
>
> Yes, it's actually pretty easy to set up. Check out the following help doc
> for details.
>
>
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. pde.doc.user/ref
erence/api/org/eclipse/pde/core/build/package-summary.html
>
> --- Patrick
> www.rcpquickstart.com
>
>
> Florian Wendland wrote:
>
> > Hello all,
>
> > is it possible to export a rcp-app with ANT and not with the build-in
export
> > product wizard?
>
> > Greetings
> > Florian
>
>
> ------------------------------------------------------------ --------------
--
> > ----
> > Ich verwende die kostenlose Version von SPAMfighter,
> > die bei mir bis jetzt 2306 Spammails entfernt hat.
> > F
|
|
|
Re: Export Product with ANT [message #457563 is a reply to message #457544] |
Thu, 02 November 2006 15:21 |
Patrick Paulin Messages: 44 Registered: July 2009 Location: Madison, Wisconsin |
Member |
|
|
Hi Florian,
Sorry about that. The correct link is:
http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.use r/guide/tasks/pde_product_build.htm
The help doc is meant to get you to the point where you can launch an RCP
build from a command line. To launch the build from Ant, you would need to
create a target that uses the command line build. It would look something
like:
<target name="rcpAutomatedBuild">
<java classname="org.eclipse.core.launcher.Main" fork="true"
failonerror="true">
<arg value="-application" />
<arg value="org.eclipse.ant.core.antRunner" />
<arg value="-buildfile" />
<arg value="path-to-build-file" />
<arg value="-Dbuilder=path-to-config-folder" />
<classpath>
<pathelement location="path-to-eclipse/startup.jar" />
</classpath>
</java>
</target>
If I were you, I'd start by trying to build the "Hello RCP" application
(you can create this using the New Plug-in Project Wizard). The
instructions in the help page contain all the information you need. First
get it working from the command line and then add the Ant target.
If you have any specific questions about how to get it running, feel free
to ask.
--- Patrick
www.rcpquickstart.com
Florian Wendland wrote:
> Hello Patrick,
> thanks fo rapid answering. I followed the link you mentioned, hut didn't get
> behind the scenes of the automatic build.
> Is there a an example, what explains how an automatic build could be done
> within ant?
> Thx
> Florian
Patrick Paulin
Eclipse RCP/OSGi Trainer and Consultant
Modular Mind, Ltd.
patrick@modumind.com
www.modumind.com
twitter.com/pjpaulin
linkedin.com/in/pjpaulin
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04829 seconds