Author: fm
Date: 2007-11-14 16:03:55 +0100 (Wed, 14 Nov 2007)
New Revision: 5864

Added:
   
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/src/main/resources/allElements.xml
Removed:
   xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/target/
Modified:
   xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml
Log:
* Fixed build process in order to avoid a bug in the Eclipse PDE build

Modified: 
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml
===================================================================
--- xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml 
2007-11-14 14:37:25 UTC (rev 5863)
+++ xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml 
2007-11-14 15:03:55 UTC (rev 5864)
@@ -60,6 +60,7 @@
           <buildProperties>
             <javacSource>1.5</javacSource>
             <javacTarget>1.5</javacTarget>
+                       
<allElementsFile>${basedir}/buildConfiguration/allElements.xml</allElementsFile>
           </buildProperties>
           <!-- You must provide a profiles.xml file containing the value of 
eclipseInstall and pdeBuildVersion,
                or set them up in your settings.xml or pass them on the command 
line.

Added: 
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/src/main/resources/allElements.xml
===================================================================
--- 
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/src/main/resources/allElements.xml
                              (rev 0)
+++ 
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/src/main/resources/allElements.xml
      2007-11-14 15:03:55 UTC (rev 5864)
@@ -0,0 +1,99 @@
+<project name="Product Build allElements Delegator">
+       <property name="archiveNamePrefix" value="${buildId}"/>
+       
+       <!-- 
===================================================================== -->
+       <!-- Run a given ${target} on all elements being built                  
   -->
+       <!-- Add on <ant> task for each top level element being built.          
   -->
+       <!-- 
===================================================================== -->
+       <target name="allElementsDelegator">
+               <ant antfile="${genericTargets}" target="${target}">
+                       <property name="type" value="feature" />
+                       <property name="id" 
value="org.eclipse.pde.build.container.feature" />
+               </ant>
+       </target>
+ 
+       <!-- 
===================================================================== -->
+       <!-- Targets to assemble the built elements for particular 
configurations  -->
+       <!-- These generally call the generated assemble scripts (named in      
   -->
+       <!-- ${assembleScriptName}) but may also add pre and post processing    
   -->
+       <!-- Add one target for each root element and each configuration        
   -->
+       <!-- 
===================================================================== -->
+       <target name="assemble.org.eclipse.pde.build.container.feature">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">
+                       <property name="archiveName" 
value="${archiveNamePrefix}.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.win32.win32.x86">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-win32.win32.x86.zip"/>
+               </ant>
+
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.ppc">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-linux.gtk.ppc.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-linux.gtk.x86.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.linux.gtk.x86_64">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-linux.gtk.x86_64.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.linux.motif.x86">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-linux.motif.x86.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.solaris.motif.sparc">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-solaris.motif.sparc.zip"/>
+               </ant>
+       </target>
+               
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.solaris.gtk.sparc">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-solaris.gtk.sparc.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.aix.motif.ppc">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-aix.motif.ppc.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.hpux.motif.PA_RISC">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-hpux.motif.PA_RISC.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.ppc">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-macosx.carbon.ppc.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.macosx.carbon.x86">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-macosx.carbon.x86.zip"/>
+               </ant>
+       </target>
+       
+       <target 
name="assemble.org.eclipse.pde.build.container.feature.group.group.group">
+               <ant antfile="${assembleScriptName}" dir="${buildDirectory}">   
                
+                       <property name="archiveName" 
value="${archiveNamePrefix}-group.zip"/>
+               </ant>
+       </target>
+</project>

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to