Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Building two features from one build.xml file
Building two features from one build.xml file [message #675999] Thu, 02 June 2011 06:41 Go to next message
Vasily Lukichev is currently offline Vasily Lukichev
Messages: 32
Registered: July 2009
Member
Hello,

I have build.xml file (attached).

It builds feature com.mybuild1. I can clearly state it in tag <property name="topLevelElementId" value="com.mybuild1" />
A zip archive is created with feature/com.mybuild1 and plugins/com.mybuild1.tade.

The script is executed via antRunner application through Eclipse.

My question is how I can modify my build.xml file to be able to build several features and plug-ins?

For example, I can copy to ${buildDirectory} other features and plug-ins.

As I correctly understand topLevelElementId specifies the feature ID it will build.

Is there any way to do build of all features in one build.xml file?

Any help and refernces to articles are welcome.

Thanks in advance,
Vasily.
  • Attachment: build.xml
    (Size: 1.26KB, Downloaded 69 times)
Re: Building two features from one build.xml file [message #676741 is a reply to message #675999] Mon, 06 June 2011 07:47 Go to previous message
Martin Skorsky is currently offline Martin Skorsky
Messages: 112
Registered: July 2009
Senior Member
the plugins/org.eclipse.pde.build_3.7.0.v20110418/templates/headless-build/allElements.xml template should help. Declare all the features to be build in this file. The comments describe how to.
Previous Topic:Generate "Ant build file" outside Eclipse
Next Topic:disabling plug-in on workspace / runtime start
Goto Forum:
  


Current Time: Tue Jul 29 21:05:06 EDT 2014

Powered by FUDForum. Page generated in 0.01593 seconds