summaryrefslogtreecommitdiff
path: root/makefile/preflighting/product/customAssembly.xml
diff options
context:
space:
mode:
Diffstat (limited to 'makefile/preflighting/product/customAssembly.xml')
-rw-r--r--makefile/preflighting/product/customAssembly.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/makefile/preflighting/product/customAssembly.xml b/makefile/preflighting/product/customAssembly.xml
new file mode 100644
index 0000000..c3341d4
--- /dev/null
+++ b/makefile/preflighting/product/customAssembly.xml
@@ -0,0 +1,71 @@
+<project name="Build specific targets and properties" default="noDefault">
+
+ <!-- =====================================================================
+
+ The Following Properties are available in all targets:
+ - eclipse.base : the base folder everything will be collected into
+ - eclipse.plugins : the plugins folder
+ - eclipse.features: the features folder
+ - archiveFullPath : the full path of the final archive once it is created
+
+ ===================================================================== -->
+
+ <!-- ===================================================================== -->
+ <!-- Called after each invocation of the gather.bin.parts target on the -->
+ <!-- individual plugins and features. -->
+ <!-- Available properties are: -->
+ <!-- projectLocation: location of the project being gathered -->
+ <!-- projectName: symbolic name with version (org.eclipse.foo_1.0.0.v123) -->
+ <!-- target.folder: the destination, eclipse/plugins or eclipse/features -->
+ <!-- -->
+ <!-- The generated pattern is that plugins/features are gathered into the -->
+ <!-- folder ${target.folder}/${projectName} -->
+ <!-- ===================================================================== -->
+ <target name="gather.bin.parts">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Called after invoking the gather.bin.parts targets for all plugins -->
+ <!-- and features. Results exist as folders and have not yet been jarred. -->
+ <!-- ===================================================================== -->
+ <target name="post.gather.bin.parts">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Called just prior to signing a jar -->
+ <!-- In addititon to the properties listed above: -->
+ <!-- - source : plugins or features directory -->
+ <!-- - elementName: element being signed without .jar -->
+ <!-- (eg "org.eclipse.foo_1.0.0" -->
+ <!-- ===================================================================== -->
+ <target name="pre.jarSigning">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Called after all plugins and features have been jarred -->
+ <!-- (and potentially signed) -->
+ <!-- ===================================================================== -->
+ <target name="post.jarUp">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Called just before the archive file is built -->
+ <!-- In addititon to the properties listed above: -->
+ <!-- - rootFolder : the folder containing the root files -->
+ <!-- ===================================================================== -->
+ <target name="pre.archive">
+ <!-- copy windows console executables (will fail on macosx and linux) -->
+ <copy file="${eclipse.builder.path}/features/${eclipse.builder.executable}/bin/${os}/${ws}/${arch}/eclipsec.exe" tofile="${eclipse.base}/motodevstudioc.exe" overwrite="true" failonerror="false" />
+
+ <!-- remove appvalidator.app from macosx products (will fail on windows and linux)-->
+ <delete file="${eclipse.base}/appvalidator.app" failonerror="false" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
+
+</project>