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

<?xml version="1.0" encoding="UTF-8"?>
<project name="build-nightly-cfe" default="setup" basedir=".">
<description>
Download the CFE nightly build and extracts to your pluggin folder
   </description>
   
   <!-- =================================
   Some values
   ================================== -->

   <property name="cfePluginFolder" value="d:/program files/eclipse/" />
<property name="srcURL" value="http://www.cfeclipse.org/beta/cfeclipse_beta.zip" />
   
<!-- =================================
target: setup
================================= -->

<target name="setup" depends="init,downloadZip,unzip,cleanDirs"
description="-->Sets up your CFeclipse nightly build"
>
<tstamp/>
<echo message="Build fininshed at ${DSTAMP}" />
</target>

<!-- - - - - - - - - - - - - - - - - -
target: init
- - - - - - - - - - - - - - - - - -->
<target name="init" description="Build directory structure">
<mkdir dir="tmp"/>
</target>


<!-- - - - - - - - - - - - - - - - - -
target: cleanDirs
- - - - - - - - - - - - - - - - - -->
<target name="cleanDirs" description="clean up">
   <delete dir="${basedir}/tmp" />
</target>

<!-- - - - - - - - - - - - - - - - - -
target: unzip
- - - - - - - - - - - - - - - - - -->
<target name="unzip" description="Unzip the file">
<unzip src="${basedir}/tmp/cfeclipse_nightly.zip" dest="${cfePluginFolder}" />
</target>

<!-- - - - - - - - - - - - - - - - - -
target: downloadZip
- - - - - - - - - - - - - - - - - -->
<target name="downloadZip" depends="init" description="Download the
zip file for ModelGlue"
>

<get src="${srcURL}" dest="${basedir}/tmp/cfeclipse_nightly.zip"
verbose="true" usetimestamp="true" />
</target>

</project>

Comments (0) Print Send del.icio.us Digg It! Linking Blogs

2530 Views | Posted At : March 11, 2006 2:56 AM | Posted By : Andy Jarrett
Related Categories: xml, CFEclipse, Eclipse, Ant

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)