CFeclipse ANT nightly build
I've been getting into ANT for the last couple days and while mucking about i've created a build.xml file for the CFE nightly build. Its nothing amazing, more of a modified version of Wayne Grahams recent Model Glue build.xml.
The code for build.xml is below, to run the file from Eclipse just put the file into any directory, update line 10 with your CFEclipse folder location, right-click and then select Run As -- Ant Build.
1<?xml version="1.0" encoding="UTF-8"?>
2<project name="build-nightly-cfe" default="setup" basedir=".">
3 <description>
4 Download the CFE nightly build and extracts to your pluggin folder
5 </description>
6
7 <!-- =================================
8 This includes our build.properties file
9 ================================== -->
10 <property name="cfePluginFolder" value="d:/program files/eclipse/" />
11 <property name="srcURL" value="http://www.robrohan.com/client/includes/pods/cfeclipse_nightly.zip" />
12
13 <!-- =================================
14 target: setup
15 ================================= -->
16 <target name="setup" depends="init,downloadZip,unzip,cleanDirs"
17 description="-->Sets up your CFeclipse nightly build">
18 <tstamp/>
19 <echo message="Build fininshed at ${DSTAMP}" />
20 </target>
21
22 <!-- - - - - - - - - - - - - - - - - -
23 target: init
24 - - - - - - - - - - - - - - - - - -->
25 <target name="init" description="Build directory structure">
26 <mkdir dir="tmp"/>
27 </target>
28
29
30 <!-- - - - - - - - - - - - - - - - - -
31 target: cleanDirs
32 - - - - - - - - - - - - - - - - - -->
33 <target name="cleanDirs" description="clean up">
34 <delete dir="${basedir}/tmp" />
35 </target>
36
37 <!-- - - - - - - - - - - - - - - - - -
38 target: unzip
39 - - - - - - - - - - - - - - - - - -->
40 <target name="unzip" description="Unzip the file">
41 <unzip src="${basedir}/tmp/cfeclipse_nightly.zip" dest="${cfePluginFolder}" />
42 </target>
43
44 <!-- - - - - - - - - - - - - - - - - -
45 target: downloadZip
46 - - - - - - - - - - - - - - - - - -->
47 <target name="downloadZip" depends="init" description="Download the
48 zip file for ModelGlue">
49 <get src="${srcURL}" dest="${basedir}/tmp/cfeclipse_nightly.zip"
50 verbose="true" usetimestamp="true" />
51 </target>
52</project>
2<project name="build-nightly-cfe" default="setup" basedir=".">
3 <description>
4 Download the CFE nightly build and extracts to your pluggin folder
5 </description>
6
7 <!-- =================================
8 This includes our build.properties file
9 ================================== -->
10 <property name="cfePluginFolder" value="d:/program files/eclipse/" />
11 <property name="srcURL" value="http://www.robrohan.com/client/includes/pods/cfeclipse_nightly.zip" />
12
13 <!-- =================================
14 target: setup
15 ================================= -->
16 <target name="setup" depends="init,downloadZip,unzip,cleanDirs"
17 description="-->Sets up your CFeclipse nightly build">
18 <tstamp/>
19 <echo message="Build fininshed at ${DSTAMP}" />
20 </target>
21
22 <!-- - - - - - - - - - - - - - - - - -
23 target: init
24 - - - - - - - - - - - - - - - - - -->
25 <target name="init" description="Build directory structure">
26 <mkdir dir="tmp"/>
27 </target>
28
29
30 <!-- - - - - - - - - - - - - - - - - -
31 target: cleanDirs
32 - - - - - - - - - - - - - - - - - -->
33 <target name="cleanDirs" description="clean up">
34 <delete dir="${basedir}/tmp" />
35 </target>
36
37 <!-- - - - - - - - - - - - - - - - - -
38 target: unzip
39 - - - - - - - - - - - - - - - - - -->
40 <target name="unzip" description="Unzip the file">
41 <unzip src="${basedir}/tmp/cfeclipse_nightly.zip" dest="${cfePluginFolder}" />
42 </target>
43
44 <!-- - - - - - - - - - - - - - - - - -
45 target: downloadZip
46 - - - - - - - - - - - - - - - - - -->
47 <target name="downloadZip" depends="init" description="Download the
48 zip file for ModelGlue">
49 <get src="${srcURL}" dest="${basedir}/tmp/cfeclipse_nightly.zip"
50 verbose="true" usetimestamp="true" />
51 </target>
52</project>
| Tweet |
| If you like what you see on the website and/or this post has helped you out in some way please consider donating to help keep me in beer vodka. The donations are made through Paypal, which accepts almost any credit card or eCheck. |