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


You could also just create a container feature to include your two features and run a normal build on that container.  The container will not be included in the build results if you leave its bin.includes property empty.

-Andrew


Mark Russell <mark_russell@xxxxxxxxxxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

07/17/2008 10:36 AM

Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>

To
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
cc
Subject
Re: [pde-build-dev] Build multiple features in one run of PDE





Thank you :->,

I did web searched but could not find any information on this.

Ariel Garcia wrote:
> Hi Mark,
>
>> If I have two features that I want to build.  Can I build then in one
>> run of the PDE build?
>>
>> If so How do I do that?
>
> yes you can, you have list them both in the "allElements.xml" file,
> modifying the allelementsDelegator target.
> It would look like this, change the "value" entries:
>
>   <target name="allElementsDelegator">
>     <ant antfile="${genericTargets}" target="${target}">
>       <property name="type" value="feature" />
>       <property name="id" value="eu.geclipse" />
>     </ant>
>     <ant antfile="${genericTargets}" target="${target}">
>       <property name="type" value="feature" />
>       <property name="id" value="eu.geclipse.batch" />
>     </ant>
> ...
>   </target>
>
> and then for each feature you have to repeat the assemble target blocks:
>
>   <!-- All core targets -->
>   <target name="assemble.eu.geclipse.group.group.group">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
>   <target name="assemble.eu.geclipse.linux.gtk.x86">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
> ...
>   <target name="assemble.eu.geclipse.win32.all.x86">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
>
>   <!-- All batch targets -->
>   <target name="assemble.eu.geclipse.batch.group.group.group">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
>   <target name="assemble.eu.geclipse.batch.linux.gtk.x86">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
> ...
>   <target name="assemble.eu.geclipse.batch.win32.all.x86">
>     <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
>   </target>
>
> Hope it helps, cheers, Ariel
> _______________________________________________
> pde-build-dev mailing list
> pde-build-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-build-dev
>


--
Mark Russell
Instantiations, Inc.
+1 724-368-3331 (land line)
http://www.instantiations.com
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev

Attachment: smime.p7s
Description: Binary data