1 <project name="Build specific targets and properties" default="noDefault"> 2 3 <!-- ===================================================================== 4 5 The Following Properties are available in all targets: 6 - eclipse.base : the base folder everything will be collected into 7 - eclipse.plugins : the plugins folder 8 - eclipse.features: the features folder 9 - archiveFullPath : the full path of the final archive once it is created 10 11 ===================================================================== --> 12 13 <!-- ===================================================================== --> 14 <!-- Called after each invocation of the gather.bin.parts target on the --> 15 <!-- individual plugins and features. --> 16 <!-- Available properties are: --> 17 <!-- projectLocation: location of the project being gathered --> 18 <!-- projectName: symbolic name with version (org.eclipse.foo_1.0.0.v123) --> 19 <!-- target.folder: the destination, eclipse/plugins or eclipse/features --> 20 <!-- --> 21 <!-- The generated pattern is that plugins/features are gathered into the --> 22 <!-- folder ${target.folder}/${projectName} --> 23 <!-- ===================================================================== --> 24 <target name="gather.bin.parts"> 25 </target> 26 27 <!-- ===================================================================== --> 28 <!-- Called after invoking the gather.bin.parts targets for all plugins --> 29 <!-- and features. Results exist as folders and have not yet been jarred. --> 30 <!-- ===================================================================== --> 31 <target name="post.gather.bin.parts"> 32 </target> 33 34 <!-- ===================================================================== --> 35 <!-- Called just prior to signing a jar --> 36 <!-- In addititon to the properties listed above: --> 37 <!-- - source : plugins or features directory --> 38 <!-- - elementName: element being signed without .jar --> 39 <!-- (eg "org.eclipse.foo_1.0.0" --> 40 <!-- ===================================================================== --> 41 <target name="pre.jarSigning"> 42 </target> 43 44 <!-- ===================================================================== --> 45 <!-- Called after all plugins and features have been jarred --> 46 <!-- (and potentially signed) --> 47 <!-- ===================================================================== --> 48 <target name="post.jarUp"> 49 </target> 50 51 <!-- ===================================================================== --> 52 <!-- Called just before the archive file is built --> 53 <!-- In addititon to the properties listed above: --> 54 <!-- - rootFolder : the folder containing the root files --> 55 <!-- ===================================================================== --> 56 <target name="pre.archive"> 57 <!-- copy windows console executables (will fail on macosx and linux) --> 58 <copy file="${eclipse.builder.path}/features/${eclipse.builder.executable}/bin/${os}/${ws}/${arch}/eclipsec.exe" tofile="${eclipse.base}/motodevstudioc.exe" overwrite="true" failonerror="false" /> 59 60 <!-- remove appvalidator.app from macosx products (will fail on windows and linux)--> 61 <delete file="${eclipse.base}/appvalidator.app" failonerror="false" /> 62 </target> 63 64 <!-- ===================================================================== --> 65 <!-- Default target --> 66 <!-- ===================================================================== --> 67 <target name="noDefault"> 68 <echo message="You must specify a target when invoking this file" /> 69 </target> 70 71 </project> 72