Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

Cfeclipse ANT build update

For anyone who is using Ant script to get the CFE nightly builds will need to update the srcURL property.

The srcURL should now be http://cfeclipse.org/nightly/cfeclipse_nightly.zip

Below is the updated code

view plain print about
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    Some values
9    ================================== -->

10    <property name="cfePluginFolder" value="d:/program files/eclipse/" />
11 <property name="srcURL" value="http://www.cfeclipse.org/beta/cfeclipse_beta.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
53</project>

Comments Comments (6) | Print Print | Send Send | 4425 Views

mikey's Gravatar Posted By mikey @ 3/16/06 10:18 PM
Is there anyway to get nightly builds through a similar fashion for Eclipse? I'm on 3.1.0 and i'm experiecing some saving issues.
Andy J's Gravatar Posted By Andy J @ 3/17/06 8:49 AM
Do you mean get the nightly eclipse builds themselves?
mikey's Gravatar Posted By mikey @ 3/17/06 3:14 PM
Correct, instead of downloading the whole thing everytime.

Great site, btw!
Andy J's Gravatar Posted By Andy J @ 3/19/06 2:46 PM
Nightly builds of eclipse are very unstable, sometimes not working from one platform to the next. Plus unlike CFE I dont think they have a single URL to download from.

Best bet is to start at http://download.eclipse.org/eclipse/downloads/drop...

Also have you tried updating Eclipse from help >> Software updates >> find and install menu?
Stefan's Gravatar Posted By Stefan @ 6/13/06 3:06 PM
Why, I can not say
but when I ran the ant above
my features.xml went away

Was it the script?
Was it my actions with the ants?
Oh well, pants
Andy, you might want to point this to the 1.3 beta rather than the nightly. I am not updating CVS anymore as we are moving to SVN and the Beta DOES have the latest (working) features
BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .