Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] eclipse.buildScript: Requires features to be in "features" folder

All,

I would like to use the eclipse.buildScript task to create ant build files
for features and their plugin children from within Eclipse 2.1.1. However,
it seems that this task only works if the feature is in a folder features
(org.eclipse.pde.internal.build.IPDEBuildConstants.DEFAULT_FEATURE_LOCATION)
because the ant task does not let me specify the featureRootLocation. The
latter is set explicitly from the popup menu "Create Ant Build File." Is my
assessment correct or am I overlooking something?

To be more precise, here is my layout on disk:

eclipse
	workspace
		com.foo.feature    // feature project
		com.foo.plugin1    // plugin project
		com.foo.plugin2    // plugin project
		com.foo.build      // simple project
			mybuild.xml  // hand-written build file


In the hand-created mybuild.xml file, I would like to create an Eclipse
product using the following steps:

1. Use eclipse.buildScript to create the build.xml scripts for all the
features and their children. (This is the step where I fail.)

2. Use the build.xml scripts to build the features.

3. Manually move the startup.jar and splash.bmp from org.eclipse.platform.

4. Zip it up.

A symbolic link may work in eclipse that aliases workspace with features may
help, but this wouldn't be portable.

Is there a good way to do this? Is there a better overall approach that
works from within Eclipse 2.1.1?

Regards,

Martin

P.S.	I am posting here rather than on platform-releng-dev because the
code is in org.eclipse.pde.

 

BEGIN:VCARD
VERSION:2.1
N:Buechi;Martin
FN:Martin Buechi, Ph.D.
ORG:ChoiceMaker Technologies
TITLE:Chief Technology Officer
TEL;WORK;VOICE:(646) 336-4443
TEL;WORK;FAX:(646) 336-4468
ADR;WORK:;;71 W 23rd Street, Ste 515;New York;NY;10010;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:71 W 23rd Street, Ste 515=0D=0ANew York, NY 10010=0D=0AUnited States of Amer=
ica
URL;WORK:http://www.choicemaker.com
EMAIL;PREF;INTERNET:Martin.Buechi@xxxxxxxxxxxxxxx
REV:20030609T224307Z
END:VCARD

Back to the top