Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

Reactor Ant Build

They say Laziness is the mother of all invention, well it strikes again. I've created another Ant build file for use with Doug Hughes Reactor. The build file will download the lastest set of Reactor files the Doug's SVN server, which at the moment has just reached a beta candidate.

The code for build.xml is below.

To run the file from Eclipse just put the file into any project, update line 9 (the <project> tag) with your Reactor folder location, right-click and then select "Run As -- Ant Build".

view plain print about
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!-- =================================
4The basedir in <project> must be
5the root folder you want your reactor
6files extracted to.
7================================== -->

8
9<project name="Reactor_build" default="build" basedir="d:\My Documents\sites\test\">
10 <description>
11 Download the latest Reactor build
12    </description>
13    
14    <!-- =================================
15    Default values including SVN settings
16    Note: the forward slashes for the
17    reactor folder
18    ================================== -->

19    <property name="reactor.Folder" value="reactor" />
20    <property name="reactor.svn" value="http://svn.reactorframework.com/reactor/trunk/reactor"/>
21
22    
23        <!-- =================================
24        A little clean up
25        ================================== -->
        
26
27        <delete dir="${reactor.Folder}" />
28            
29    
30    <target name="build">
31
32        <!-- =================================
33        Check out the code
34        ================================== -->
        
35        <exec executable="svn">
36            <arg line="export ${reactor.svn} ${reactor.Folder}"/>
37        </exec>
38        
39
40    </target>
41
42</project>

Comments Comments (0) | Print Print | Send Send | 2964 Views

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.

(Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .