Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 96350 - Product export should support pluggable ant targets
Summary: Product export should support pluggable ant targets
Status: RESOLVED DUPLICATE of bug 84065
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-23 16:16 EDT by Patrick Paulin CLA
Modified: 2005-11-28 20:53 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Paulin CLA 2005-05-23 16:16:00 EDT
It would be great to have pluggable ant targets that would fire at different 
points in the build process. I'm thinking of something similar to the targets 
supported by PDE Build.

preProcess/postProcess - Used to run operations before and after compiling the 
source

preAssemble/postAssemble - Used to run operations before and after assembling 
the binary distributables

postBuild - Used to run operations at the end of the build

My use case is that I need to modify the source code (replace tokens) during a 
product export. Another use case (mentioned in bug 85443) would be to package 
the product with an installer.
Comment 1 Gunnar Wagenknecht CLA 2005-05-25 08:53:59 EDT
I don't think that this should be in the domain of PDE UI. As you already
mentioned, this is already available in PDE Build. 

Wouldn't it be better if PDE UI would create some tools for creating the Ant
scripts necessary for an automated build using PDE build? I tried to replicate
the product export feature using PDE Build but this is not possible because of
the hidden magic in ProductExportJob.
Comment 2 Patrick Paulin CLA 2005-05-25 10:54:28 EDT
I see where you're going with that. If there was some way to get the product 
export functionality (launchers, icons, ini file, vm args, etc) into the PDE 
Build process, that would be great. 

The bottom line is that there really needs to be a way to build an RCP 
application in an automated way, and in a way which allows the actual RCP 
product export to be integrated into a larger build process.

It looks like there's already a general discussion of this in bug 84065. We 
could call this a dup, if you like.
Comment 3 Wassim Melhem CLA 2005-11-28 20:53:32 EST

*** This bug has been marked as a duplicate of 84065 ***