Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Can I use ant build rcp product?Anybody has correct example?
Can I use ant build rcp product?Anybody has correct example? [message #43628] Mon, 02 February 2009 08:58 Go to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

hi:
I want to use a ant script to build my RCP product,but i tried many
days .I get the errors now follows,I used eclipse Version: 3.4.0
Build id: I20080617-2000.when I executed build.xml,i find it has been
deleted .Anybody knows how I can build rcp with ant,or tell me the
principle rcp product export ?
Thanks a lot..
Re: Can I use ant build rcp product?Anybody has correct example? [message #43714 is a reply to message #43628] Mon, 02 February 2009 14:53 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi,

here is a tutorial:

http://www.vogella.de/articles/EclipsePDEBuild/article.html

Best regards, Lars

sunway wrote:
> hi:
> I want to use a ant script to build my RCP product,but i tried many
> days .I get the errors now follows,I used eclipse Version: 3.4.0
> Build id: I20080617-2000.when I executed build.xml,i find it has been
> deleted .Anybody knows how I can build rcp with ant,or tell me the
> principle rcp product export ?
> Thanks a lot..


--
Lars Vogel
http://www.vogella.de/eclipse.html - Tutorials about Eclipse
http://www.vogella.de/articles/RichClientPlatform/article.ht ml - Eclipse
RCP Tutorial
Re: Can I use ant build rcp product?Anybody has correct example? [message #43816 is a reply to message #43714] Mon, 02 February 2009 17:20 Go to previous messageGo to next message
Tim Dawson is currently offline Tim DawsonFriend
Messages: 5
Registered: July 2009
Junior Member
Lars,

Do you have any suggestion on how to build a headless RCP product
outputting an executable on Windows?

-Tim
Re: Can I use ant build rcp product?Anybody has correct example? [message #43879 is a reply to message #43816] Mon, 02 February 2009 20:11 Go to previous messageGo to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi Tim,

yes, this is what the tutorial is about.

Best regards, Lars


Tim Dawson wrote:
> Lars,
>
> Do you have any suggestion on how to build a headless RCP product
> outputting an executable on Windows?
> -Tim
>
Re: Can I use ant build rcp product?Anybody has correct example? [message #44484 is a reply to message #43879] Wed, 04 February 2009 02:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-3 4:11, Lars Vogel 写道:
> Hi Tim,
>
> yes, this is what the tutorial is about.
>
> Best regards, Lars
>
>
> Tim Dawson wrote:
>> Lars,
>>
>> Do you have any suggestion on how to build a headless RCP product
>> outputting an executable on Windows? -Tim
>>
Hi Lars,
I study your tutorial ,but my rcp includes three other plug-ins and
doesn't has your elipse feature project.How can I use ant build the
correct executable rcp applicaion? I run the
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
example successfully,but my own project build with exception as follows:

Caused by:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:21:
The following error occurred while executing this line:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:53:
Problems parsing the product file
D:\workspace-workflow\RcpBuilder\default1.product.
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)

Can you help me?and I will try your tutorial .....
Re: Can I use ant build rcp product?Anybody has correct example? [message #44514 is a reply to message #44484] Wed, 04 February 2009 07:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-4 10:59, sunway 写道:
> 于 2009-2-3 4:11, Lars Vogel 写道:
>> Hi Tim,
>>
>> yes, this is what the tutorial is about.
>>
>> Best regards, Lars
>>
>>
>> Tim Dawson wrote:
>>> Lars,
>>>
>>> Do you have any suggestion on how to build a headless RCP product
>>> outputting an executable on Windows? -Tim
>>>
> Hi Lars,
> I study your tutorial ,but my rcp includes three other plug-ins and
> doesn't has your elipse feature project.How can I use ant build the
> correct executable rcp applicaion? I run the
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
> example successfully,but my own project build with exception as follows:
>
> Caused by:
> D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:21:
> The following error occurred while executing this line:
> D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:53:
> Problems parsing the product file
> D:\workspace-workflow\RcpBuilder\default1.product.
> at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
>
> Can you help me?and I will try your tutorial .....
Thanks Lars ,I am successed in building my rcp using ant build

script.I have beend worked more than a week,O(∩_∩)O~。but I got much

WARNING
e.g "Discouraged access: The type IDEInternalWorkbenchImages is not

"accessible due to restriction on classpath entry D:\eclipse\plugins

\org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe

file until I set failonerror="false" .

Best Regards sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #44545 is a reply to message #44514] Wed, 04 February 2009 09:19 Go to previous messageGo to next message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
Hi Sunway,

i got my rcp build running by follow the tutorial by Andrew
( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
without the p2 things :)

But i had problems by getting a exe packed to my rcp. The hints at
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
helped me by the way.

Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an icon
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is solved in
3.4.1

-Matthias

sunway wrote:

> 于 2009-2-4 10:59, sunway 写道:
>> 于 2009-2-3 4:11, Lars Vogel 写道:
>>> Hi Tim,
>>>
>>> yes, this is what the tutorial is about.
>>>
>>> Best regards, Lars
>>>
>>>
>>> Tim Dawson wrote:
>>>> Lars,
>>>>
>>>> Do you have any suggestion on how to build a headless RCP product
>>>> outputting an executable on Windows? -Tim
>>>>
>> Hi Lars,
>> I study your tutorial ,but my rcp includes three other plug-ins and
>> doesn't has your elipse feature project.How can I use ant build the
>> correct executable rcp applicaion? I run the
>>
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>> example successfully,but my own project build with exception as follows:
>>
>> Caused by:
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>> The following error occurred while executing this line:
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>> Problems parsing the product file
>> D:workspace-workflowRcpBuilderdefault1.product.
>> at
>>
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>>
>>
>> Can you help me?and I will try your tutorial .....
> Thanks Lars ,I am successed in building my rcp using ant build

> script.I have beend worked more than a week,O(∩_∩)O~。but I got much

> WARNING
> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not

> "accessible due to restriction on classpath entry D:eclipseplugins

> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe

> file until I set failonerror="false" .

> Best Regards sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #45006 is a reply to message #44545] Thu, 05 February 2009 01:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-4 17:19, Matthias Kappeller 写道:
> Hi Sunway,
>
> i got my rcp build running by follow the tutorial by Andrew
> ( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
> without the p2 things :)
>
> But i had problems by getting a exe packed to my rcp. The hints at
> http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
> helped me by the way.
>
> Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an
> icon (https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is
> solved in 3.4.1
>
> -Matthias
>
> sunway wrote:
>
>> � 2009-2-4 10:59, sunway ��:
>>> � 2009-2-3 4:11, Lars Vogel ��:
>>>> Hi Tim,
>>>>
>>>> yes, this is what the tutorial is about.
>>>>
>>>> Best regards, Lars
>>>>
>>>>
>>>> Tim Dawson wrote:
>>>>> Lars,
>>>>>
>>>>> Do you have any suggestion on how to build a headless RCP product
>>>>> outputting an executable on Windows? -Tim
>>>>>
>>> Hi Lars,
>>> I study your tutorial ,but my rcp includes three other plug-ins and
>>> doesn't has your elipse feature project.How can I use ant build the
>>> correct executable rcp applicaion? I run the
>>>
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>
>>> example successfully,but my own project build with exception as follows:
>>>
>>> Caused by:
>>>
> D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>
>>> The following error occurred while executing this line:
>>>
> D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>
>>> Problems parsing the product file
>>> D:workspace-workflowRcpBuilderdefault1.product.
>>> at
>>>
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
>>>
>>>
>>> Can you help me?and I will try your tutorial .....
>> Thanks Lars ,I am successed in building my rcp using ant build
>
>> script.I have beend worked more than a week,O(�_�)O~�but I got much
>
>> WARNING
>> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not
>
>> "accessible due to restriction on classpath entry D:eclipseplugins
>
>> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe
>
>> file until I set failonerror="false" .
>
>> Best Regards sunway
>
>
Hi Matthias:
I can't open the url
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
,so I don't know what happened about you.I don't understand what's the
"without the p2 things" means.I succed in 3.4.1 ,if you had problems by
getting a exe packed,I wonder if you used the 3.4.1 rcp deltapack ?

Best Regards
sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #45133 is a reply to message #45006] Thu, 05 February 2009 06:54 Go to previous messageGo to next message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
sunway wrote:

> 于 2009-2-4 17:19, Matthias Kappeller 写道:
>> Hi Sunway,
>>
>> i got my rcp build running by follow the tutorial by Andrew
>>
( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
>> without the p2 things :)
>>
>> But i had problems by getting a exe packed to my rcp. The hints at
>>
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
>> helped me by the way.
>>
>> Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an
>> icon (https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is
>> solved in 3.4.1
>>
>> -Matthias
>>
>> sunway wrote:
>>
>>> Àºᅵ 2009-2-4 10:59, sunway åᅵᅵéᅵᅵ:
>>>> Àºᅵ 2009-2-3 4:11, Lars Vogel åᅵᅵéᅵᅵ:
>>>>> Hi Tim,
>>>>>
>>>>> yes, this is what the tutorial is about.
>>>>>
>>>>> Best regards, Lars
>>>>>
>>>>>
>>>>> Tim Dawson wrote:
>>>>>> Lars,
>>>>>>
>>>>>> Do you have any suggestion on how to build a headless RCP product
>>>>>> outputting an executable on Windows? -Tim
>>>>>>
>>>> Hi Lars,
>>>> I study your tutorial ,but my rcp includes three other plug-ins and
>>>> doesn't has your elipse feature project.How can I use ant build the
>>>> correct executable rcp applicaion? I run the
>>>>
>>
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>>
>>>> example successfully,but my own project build with exception as follows:
>>>>
>>>> Caused by:
>>>>
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>>
>>>> The following error occurred while executing this line:
>>>>
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>>
>>>> Problems parsing the product file
>>>> D:workspace-workflowRcpBuilderdefault1.product.
>>>> at
>>>>
>>
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>>
>>>>
>>>>
>>>> Can you help me?and I will try your tutorial .....
>>> Thanks Lars ,I am successed in building my rcp using ant build
>>
>>> script.I have beend worked more than a
week,O(âᅵ©_âᅵ©)O~ãᅵᅵbut I got much
>>
>>> WARNING
>>> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not
>>
>>> "accessible due to restriction on classpath entry D:eclipseplugins
>>
>>> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe
>>
>>> file until I set failonerror="false" .
>>
>>> Best Regards sunway
>>
>>
> Hi Matthias
> I can't open the url
>
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
> ,so I don't know what happened about you.
Hmm i can open this url. Maybe you find the topic on browsing through
http://codescale.wordpress.com
> I don't understand what's the "without the p2 things" means.I succed in
> 3.4.1 ,if you had problems by getting a exe packed,I wonder if you used
> the 3.4.1 rcp deltapack ?
Andrew describes '2: Generate p2 metadata' and '3: Perform p2 installs and
archive the results' to build an archive with an exe. There he also
requires the delta pack. I certainly don't you the delta pack.

> Best Regards
> sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #45252 is a reply to message #45133] Thu, 05 February 2009 08:05 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-5 14:54, Matthias Kappeller 写道:
> build a
If you use the eclipse 3.4.1 and the rcp delta pack 3.4.1 you will got
the exe file.
Re: Can I use ant build rcp product?Anybody has correct example? [message #590991 is a reply to message #43628] Mon, 02 February 2009 14:53 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi,

here is a tutorial:

http://www.vogella.de/articles/EclipsePDEBuild/article.html

Best regards, Lars

sunway wrote:
> hi:
> I want to use a ant script to build my RCP product,but i tried many
> days .I get the errors now follows,I used eclipse Version: 3.4.0
> Build id: I20080617-2000.when I executed build.xml,i find it has been
> deleted .Anybody knows how I can build rcp with ant,or tell me the
> principle rcp product export ?
> Thanks a lot..


--
Lars Vogel
http://www.vogella.de/eclipse.html - Tutorials about Eclipse
http://www.vogella.de/articles/RichClientPlatform/article.ht ml - Eclipse
RCP Tutorial
Re: Can I use ant build rcp product?Anybody has correct example? [message #591025 is a reply to message #43714] Mon, 02 February 2009 17:20 Go to previous message
Tim Dawson is currently offline Tim DawsonFriend
Messages: 5
Registered: July 2009
Junior Member
Lars,

Do you have any suggestion on how to build a headless RCP product
outputting an executable on Windows?

-Tim
Re: Can I use ant build rcp product?Anybody has correct example? [message #591046 is a reply to message #43816] Mon, 02 February 2009 20:11 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Hi Tim,

yes, this is what the tutorial is about.

Best regards, Lars


Tim Dawson wrote:
> Lars,
>
> Do you have any suggestion on how to build a headless RCP product
> outputting an executable on Windows?
> -Tim
>
Re: Can I use ant build rcp product?Anybody has correct example? [message #591248 is a reply to message #43879] Wed, 04 February 2009 02:59 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-3 4:11, Lars Vogel 写道:
> Hi Tim,
>
> yes, this is what the tutorial is about.
>
> Best regards, Lars
>
>
> Tim Dawson wrote:
>> Lars,
>>
>> Do you have any suggestion on how to build a headless RCP product
>> outputting an executable on Windows? -Tim
>>
Hi Lars,
I study your tutorial ,but my rcp includes three other plug-ins and
doesn't has your elipse feature project.How can I use ant build the
correct executable rcp applicaion? I run the
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
example successfully,but my own project build with exception as follows:

Caused by:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:21:
The following error occurred while executing this line:
D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:53:
Problems parsing the product file
D:\workspace-workflow\RcpBuilder\default1.product.
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)

Can you help me?and I will try your tutorial .....
Re: Can I use ant build rcp product?Anybody has correct example? [message #591254 is a reply to message #44484] Wed, 04 February 2009 07:34 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-4 10:59, sunway 写道:
> 于 2009-2-3 4:11, Lars Vogel 写道:
>> Hi Tim,
>>
>> yes, this is what the tutorial is about.
>>
>> Best regards, Lars
>>
>>
>> Tim Dawson wrote:
>>> Lars,
>>>
>>> Do you have any suggestion on how to build a headless RCP product
>>> outputting an executable on Windows? -Tim
>>>
> Hi Lars,
> I study your tutorial ,but my rcp includes three other plug-ins and
> doesn't has your elipse feature project.How can I use ant build the
> correct executable rcp applicaion? I run the
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
> example successfully,but my own project build with exception as follows:
>
> Caused by:
> D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:21:
> The following error occurred while executing this line:
> D:\eclipse\plugins\org.eclipse.pde.build_3.4.1.R34x_v2008080 5\scripts\productBuild\productBuild.xml:53:
> Problems parsing the product file
> D:\workspace-workflow\RcpBuilder\default1.product.
> at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
>
> Can you help me?and I will try your tutorial .....
Thanks Lars ,I am successed in building my rcp using ant build

script.I have beend worked more than a week,O(∩_∩)O~。but I got much

WARNING
e.g "Discouraged access: The type IDEInternalWorkbenchImages is not

"accessible due to restriction on classpath entry D:\eclipse\plugins

\org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe

file until I set failonerror="false" .

Best Regards sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #591260 is a reply to message #44514] Wed, 04 February 2009 09:19 Go to previous message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
Hi Sunway,

i got my rcp build running by follow the tutorial by Andrew
( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
without the p2 things :)

But i had problems by getting a exe packed to my rcp. The hints at
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
helped me by the way.

Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an icon
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is solved in
3.4.1

-Matthias

sunway wrote:

> 于 2009-2-4 10:59, sunway 写道:
>> 于 2009-2-3 4:11, Lars Vogel 写道:
>>> Hi Tim,
>>>
>>> yes, this is what the tutorial is about.
>>>
>>> Best regards, Lars
>>>
>>>
>>> Tim Dawson wrote:
>>>> Lars,
>>>>
>>>> Do you have any suggestion on how to build a headless RCP product
>>>> outputting an executable on Windows? -Tim
>>>>
>> Hi Lars,
>> I study your tutorial ,but my rcp includes three other plug-ins and
>> doesn't has your elipse feature project.How can I use ant build the
>> correct executable rcp applicaion? I run the
>>
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>> example successfully,but my own project build with exception as follows:
>>
>> Caused by:
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>> The following error occurred while executing this line:
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>> Problems parsing the product file
>> D:workspace-workflowRcpBuilderdefault1.product.
>> at
>>
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>>
>>
>> Can you help me?and I will try your tutorial .....
> Thanks Lars ,I am successed in building my rcp using ant build

> script.I have beend worked more than a week,O(∩_∩)O~。but I got much

> WARNING
> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not

> "accessible due to restriction on classpath entry D:eclipseplugins

> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe

> file until I set failonerror="false" .

> Best Regards sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #591398 is a reply to message #44545] Thu, 05 February 2009 01:29 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-4 17:19, Matthias Kappeller 写道:
> Hi Sunway,
>
> i got my rcp build running by follow the tutorial by Andrew
> ( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
> without the p2 things :)
>
> But i had problems by getting a exe packed to my rcp. The hints at
> http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
> helped me by the way.
>
> Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an
> icon (https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is
> solved in 3.4.1
>
> -Matthias
>
> sunway wrote:
>
>> � 2009-2-4 10:59, sunway ��:
>>> � 2009-2-3 4:11, Lars Vogel ��:
>>>> Hi Tim,
>>>>
>>>> yes, this is what the tutorial is about.
>>>>
>>>> Best regards, Lars
>>>>
>>>>
>>>> Tim Dawson wrote:
>>>>> Lars,
>>>>>
>>>>> Do you have any suggestion on how to build a headless RCP product
>>>>> outputting an executable on Windows? -Tim
>>>>>
>>> Hi Lars,
>>> I study your tutorial ,but my rcp includes three other plug-ins and
>>> doesn't has your elipse feature project.How can I use ant build the
>>> correct executable rcp applicaion? I run the
>>>
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>
>>> example successfully,but my own project build with exception as follows:
>>>
>>> Caused by:
>>>
> D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>
>>> The following error occurred while executing this line:
>>>
> D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>
>>> Problems parsing the product file
>>> D:workspace-workflowRcpBuilderdefault1.product.
>>> at
>>>
> org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>
>>>
>>>
>>> Can you help me?and I will try your tutorial .....
>> Thanks Lars ,I am successed in building my rcp using ant build
>
>> script.I have beend worked more than a week,O(�_�)O~�but I got much
>
>> WARNING
>> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not
>
>> "accessible due to restriction on classpath entry D:eclipseplugins
>
>> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe
>
>> file until I set failonerror="false" .
>
>> Best Regards sunway
>
>
Hi Matthias:
I can't open the url
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
,so I don't know what happened about you.I don't understand what's the
"without the p2 things" means.I succed in 3.4.1 ,if you had problems by
getting a exe packed,I wonder if you used the 3.4.1 rcp deltapack ?

Best Regards
sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #591442 is a reply to message #45006] Thu, 05 February 2009 06:54 Go to previous message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
sunway wrote:

> 于 2009-2-4 17:19, Matthias Kappeller 写道:
>> Hi Sunway,
>>
>> i got my rcp build running by follow the tutorial by Andrew
>>
( http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html)
>> without the p2 things :)
>>
>> But i had problems by getting a exe packed to my rcp. The hints at
>>
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
>> helped me by the way.
>>
>> Also i run into the Bug in Eclipse 3.4.0 at branding the exe with an
>> icon (https://bugs.eclipse.org/bugs/show_bug.cgi?id=237922) this is
>> solved in 3.4.1
>>
>> -Matthias
>>
>> sunway wrote:
>>
>>> Àºᅵ 2009-2-4 10:59, sunway åᅵᅵéᅵᅵ:
>>>> Àºᅵ 2009-2-3 4:11, Lars Vogel åᅵᅵéᅵᅵ:
>>>>> Hi Tim,
>>>>>
>>>>> yes, this is what the tutorial is about.
>>>>>
>>>>> Best regards, Lars
>>>>>
>>>>>
>>>>> Tim Dawson wrote:
>>>>>> Lars,
>>>>>>
>>>>>> Do you have any suggestion on how to build a headless RCP product
>>>>>> outputting an executable on Windows? -Tim
>>>>>>
>>>> Hi Lars,
>>>> I study your tutorial ,but my rcp includes three other plug-ins and
>>>> doesn't has your elipse feature project.How can I use ant build the
>>>> correct executable rcp applicaion? I run the
>>>>
>>
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
>>
>>>> example successfully,but my own project build with exception as follows:
>>>>
>>>> Caused by:
>>>>
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:21:
>>
>>>> The following error occurred while executing this line:
>>>>
>>
D:eclipsepluginsorg.eclipse.pde.build_3.4.1.R34x_v20080805sc riptsproductBuildproductBuild.xml:53:
>>
>>>> Problems parsing the product file
>>>> D:workspace-workflowRcpBuilderdefault1.product.
>>>> at
>>>>
>>
org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:541)
>>
>>>>
>>>>
>>>> Can you help me?and I will try your tutorial .....
>>> Thanks Lars ,I am successed in building my rcp using ant build
>>
>>> script.I have beend worked more than a
week,O(âᅵ©_âᅵ©)O~ãᅵᅵbut I got much
>>
>>> WARNING
>>> e.g "Discouraged access: The type IDEInternalWorkbenchImages is not
>>
>>> "accessible due to restriction on classpath entry D:eclipseplugins
>>
>>> org.eclipse.ui.ide_3.4.1.M20080903-2000.jar",I have not got the exe
>>
>>> file until I set failonerror="false" .
>>
>>> Best Regards sunway
>>
>>
> Hi Matthias
> I can't open the url
>
http://codescale.wordpress.com/2008/11/15/no-executable-afte r-headless-pde-product-build
> ,so I don't know what happened about you.
Hmm i can open this url. Maybe you find the topic on browsing through
http://codescale.wordpress.com
> I don't understand what's the "without the p2 things" means.I succed in
> 3.4.1 ,if you had problems by getting a exe packed,I wonder if you used
> the 3.4.1 rcp deltapack ?
Andrew describes '2: Generate p2 metadata' and '3: Perform p2 installs and
archive the results' to build an archive with an exe. There he also
requires the delta pack. I certainly don't you the delta pack.

> Best Regards
> sunway
Re: Can I use ant build rcp product?Anybody has correct example? [message #591474 is a reply to message #45133] Thu, 05 February 2009 08:05 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-2-5 14:54, Matthias Kappeller 写道:
> build a
If you use the eclipse 3.4.1 and the rcp delta pack 3.4.1 you will got
the exe file.
Previous Topic:Target Definition and deployed plugins = class path problem in build.xml
Next Topic:pde.exportPlugins failed
Goto Forum:
  


Current Time: Thu Mar 28 23:39:38 GMT 2024

Powered by FUDForum. Page generated in 0.04139 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top