Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » pde build with ant doesn't embed launcher anymore since 3.5
pde build with ant doesn't embed launcher anymore since 3.5 [message #68508] Tue, 21 July 2009 08:22 Go to next message
Eclipse UserFriend
Hi all.
I have an rcp application made from a few plugins that is built on an
integration portal using Ant.

Since I passed to 3.5 version of Eclipse, all the builds work well except
last one that is related to the "master" plugin (that contains the
Application and the .product).
Well, in fact, it works and finishes with no error but now, the result zip
file doesn't contain the OS specific launcher anymore.

Does someone have an idea on why this behavior changed while I didn't
change anything but the version of Eclipse to use in my plugins.

Notes :
- a build using "product export" wizard works well and contains the
launcher.
- the laucher is not is result zip whatever the target platform (linux-gtk
or win32)
- I have no use of Eclipse Update mechanism and only want as result a zip
containing all needed to launch my Application (except JRE).

Any help would be greatly appreciated as I searched with no success since
almost a week.
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #68522 is a reply to message #68508] Tue, 21 July 2009 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aurelien.pupier.esial.net

Martin Hardy a écrit :
> Hi all.
> I have an rcp application made from a few plugins that is built on an
> integration portal using Ant.
>
> Since I passed to 3.5 version of Eclipse, all the builds work well
> except last one that is related to the "master" plugin (that contains
> the Application and the .product).
> Well, in fact, it works and finishes with no error but now, the result
> zip file doesn't contain the OS specific launcher anymore.
>
> Does someone have an idea on why this behavior changed while I didn't
> change anything but the version of Eclipse to use in my plugins.
>
> Notes :
> - a build using "product export" wizard works well and contains the
> launcher.
> - the laucher is not is result zip whatever the target platform
> (linux-gtk or win32)
> - I have no use of Eclipse Update mechanism and only want as result a
> zip containing all needed to launch my Application (except JRE).
>
> Any help would be greatly appreciated as I searched with no success
> since almost a week.
>
Hi martin,

for the OS specific launcher,
Are these can be help?
see here : http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .pde.doc.user/tasks/pde_p2_buildtasks.htm

and specifically : "In particular, instead of producing per-platform archives, the build will produce a single p2 repository which is a group of all the platforms"


Aurelien
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #68533 is a reply to message #68522] Tue, 21 July 2009 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Aurelien Pupier wrote:

> Hi martin,

> for the OS specific launcher,
> Are these can be help?
> see here :
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .pde.doc.user/tasks/pde_p2_buildtasks.htm

> and specifically : "In particular, instead of producing per-platform
archives, the build will produce a single p2 repository which is a group of
all the platforms"


> Aurelien

Thanks Aurelien for this answer.

My problem is that I don't want to use a P2 repository. I don't need an
update site, I just need a single zip build just same as the result of the
"product export" wizard you can call with a right-click on a .product file.

It should be possible as it worked through ANT before the 3.5 and it still
works (even with multiple platforms) on 3-5 with the wizard.
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #68864 is a reply to message #68508] Thu, 23 July 2009 05:29 Go to previous message
Eclipse UserFriend
Hi Martin!

Maybe this is related to

https://bugs.eclipse.org/bugs/show_bug.cgi?id=281353
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248578
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278086

See also

http://aniefer.blogspot.com/2009/06/using-deltapack-in-eclip se-35.html

I solved the problem by separating the Eclipse which runs the build
(org.eclipse.ant.core.antRunner) and the target platform (including the
delta pack).

Matthias

Martin Hardy wrote:
> Hi all.
> I have an rcp application made from a few plugins that is built on an
> integration portal using Ant.
>
> Since I passed to 3.5 version of Eclipse, all the builds work well
> except last one that is related to the "master" plugin (that contains
> the Application and the .product).
> Well, in fact, it works and finishes with no error but now, the result
> zip file doesn't contain the OS specific launcher anymore.
>
> Does someone have an idea on why this behavior changed while I didn't
> change anything but the version of Eclipse to use in my plugins.
>
> Notes :
> - a build using "product export" wizard works well and contains the
> launcher.
> - the laucher is not is result zip whatever the target platform
> (linux-gtk or win32)
> - I have no use of Eclipse Update mechanism and only want as result a
> zip containing all needed to launch my Application (except JRE).
>
> Any help would be greatly appreciated as I searched with no success
> since almost a week.
>
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #599659 is a reply to message #68508] Tue, 21 July 2009 10:37 Go to previous message
Eclipse UserFriend
Martin Hardy a écrit :
> Hi all.
> I have an rcp application made from a few plugins that is built on an
> integration portal using Ant.
>
> Since I passed to 3.5 version of Eclipse, all the builds work well
> except last one that is related to the "master" plugin (that contains
> the Application and the .product).
> Well, in fact, it works and finishes with no error but now, the result
> zip file doesn't contain the OS specific launcher anymore.
>
> Does someone have an idea on why this behavior changed while I didn't
> change anything but the version of Eclipse to use in my plugins.
>
> Notes :
> - a build using "product export" wizard works well and contains the
> launcher.
> - the laucher is not is result zip whatever the target platform
> (linux-gtk or win32)
> - I have no use of Eclipse Update mechanism and only want as result a
> zip containing all needed to launch my Application (except JRE).
>
> Any help would be greatly appreciated as I searched with no success
> since almost a week.
>
Hi martin,

for the OS specific launcher,
Are these can be help?
see here : http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .pde.doc.user/tasks/pde_p2_buildtasks.htm

and specifically : "In particular, instead of producing per-platform archives, the build will produce a single p2 repository which is a group of all the platforms"


Aurelien
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #599668 is a reply to message #68522] Tue, 21 July 2009 11:13 Go to previous message
Eclipse UserFriend
Aurelien Pupier wrote:

> Hi martin,

> for the OS specific launcher,
> Are these can be help?
> see here :
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .pde.doc.user/tasks/pde_p2_buildtasks.htm

> and specifically : "In particular, instead of producing per-platform
archives, the build will produce a single p2 repository which is a group of
all the platforms"


> Aurelien

Thanks Aurelien for this answer.

My problem is that I don't want to use a P2 repository. I don't need an
update site, I just need a single zip build just same as the result of the
"product export" wizard you can call with a right-click on a .product file.

It should be possible as it worked through ANT before the 3.5 and it still
works (even with multiple platforms) on 3-5 with the wizard.
Re: pde build with ant doesn't embed launcher anymore since 3.5 [message #599833 is a reply to message #68508] Thu, 23 July 2009 05:29 Go to previous message
Eclipse UserFriend
Hi Martin!

Maybe this is related to

https://bugs.eclipse.org/bugs/show_bug.cgi?id=281353
https://bugs.eclipse.org/bugs/show_bug.cgi?id=248578
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278086

See also

http://aniefer.blogspot.com/2009/06/using-deltapack-in-eclip se-35.html

I solved the problem by separating the Eclipse which runs the build
(org.eclipse.ant.core.antRunner) and the target platform (including the
delta pack).

Matthias

Martin Hardy wrote:
> Hi all.
> I have an rcp application made from a few plugins that is built on an
> integration portal using Ant.
>
> Since I passed to 3.5 version of Eclipse, all the builds work well
> except last one that is related to the "master" plugin (that contains
> the Application and the .product).
> Well, in fact, it works and finishes with no error but now, the result
> zip file doesn't contain the OS specific launcher anymore.
>
> Does someone have an idea on why this behavior changed while I didn't
> change anything but the version of Eclipse to use in my plugins.
>
> Notes :
> - a build using "product export" wizard works well and contains the
> launcher.
> - the laucher is not is result zip whatever the target platform
> (linux-gtk or win32)
> - I have no use of Eclipse Update mechanism and only want as result a
> zip containing all needed to launch my Application (except JRE).
>
> Any help would be greatly appreciated as I searched with no success
> since almost a week.
>
Previous Topic:Create project in headless mode
Next Topic:platform:/plugin URLs behave differently for deployed plugins and plugins started from source
Goto Forum:
  


Current Time: Thu Jul 03 19:21:17 EDT 2025

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

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

Back to the top