Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] Build of multiple features

On 3/11/07, Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First off if this is the wrong list I'm sorry.  Please advise me where I
should post questions like this.

I have two features that are unrelated and I would like to build them.
I there a way to build them with one call to the PDE.  I was thinking of
modifying the allElements.xml to have multiple ant calls in the
allElementsDelegator.

something like this:
        <target name="allElementsDelegator">
                <echo message="build.directory=${build.directory}" />
                <ant antfile="${genericTargets}" target="${target}">
                        <property name="type" value="feature" />
                        <property name="id" value="com.zzz.feature1" />
                </ant>
                <ant antfile="${genericTargets}" target="${target}">
                        <property name="type" value="feature" />
                        <property name="id" value="com.zzz.feature2" />
                </ant>
        </target>

and then I would add the proper assembly targets for the features.

Please advise if this is the correct way to do this.

I have not done this (yet).

But instead of modifying the file, why not try to use the
eclipse.buildScript ant call and supply as elements both your
features.

I am not at work to check the syntax of this so until tomorrow you
will have to muddle on your own to see if you can get it to work.


Back to the top