Skip to main content

[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

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top