diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-13 15:15:53 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-10-13 15:15:53 +0200 |
commit | 70a0f6e84cf7b03c7edf444d643025357c945cad (patch) | |
tree | 6749f056380145fa1c0844e2be8f00cee8600759 /buildScripts/deps.ant.xml | |
parent | a602d2f899ea4538429f21d9958ac3e82643f3f8 (diff) | |
download | lombok-70a0f6e84cf7b03c7edf444d643025357c945cad.tar.gz lombok-70a0f6e84cf7b03c7edf444d643025357c945cad.tar.bz2 lombok-70a0f6e84cf7b03c7edf444d643025357c945cad.zip |
Pretty big revamp of the build script system. Downloading dependencies is now done automatically by this script, which also means that e.g. lombok-patcher.jar no longer needs to be checked in.
Diffstat (limited to 'buildScripts/deps.ant.xml')
-rw-r--r-- | buildScripts/deps.ant.xml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/buildScripts/deps.ant.xml b/buildScripts/deps.ant.xml index b9d447f8..f3a07ec8 100644 --- a/buildScripts/deps.ant.xml +++ b/buildScripts/deps.ant.xml @@ -19,33 +19,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> -<project name="lombok-deps" basedir=".." default="buildDeps"> - <description>This buildfile is part of projectlombok.org. It responsible for finding, downloading, -and building dependencies.</description> +<project name="lombok-deps" basedir=".." default="install"> + <description> +This buildfile is part of projectlombok.org. It responsible for finding, downloading, +and building dependencies. + </description> - <property name="lombok.patcher.dir" location="../lombok.patcher" /> - <available file="${lombok.patcher.dir}/build.xml" property="lombok.patcher.available" /> - - <target name="buildDeps" description="Builds dependencies" depends="build-lombok.patcher" /> + <target name="install" description="Gets all dependencies, including optional ones, interactively (asks you)"> + <subant target="install"> + <fileset dir="buildScripts/deps" includes="*.ant.xml" /> + </subant> + </target> - <target name="-warn-lombok.patcher" unless="lombok.patcher.available"> - <echo>Skipping lombok.patcher. clone from: http://github.com/rzwitserloot/lombok.patcher</echo> + <target name="install-silent" description="Gets all dependencies, including optional ones, assuming you want everything."> + <subant target="install-silent"> + <fileset dir="buildScripts/deps" includes="*.ant.xml" /> + </subant> </target> - <target name="-check-lombok.patcher" depends="-warn-lombok.patcher" if="lombok.patcher.available"> - <ant dir="${lombok.patcher.dir}" target="dist" inheritAll="false" /> - <condition property="lombok.patcher.replace"> - <or> - <not><available file="lib/lombok/lombok-patcher.jar" /></not> - <not><uptodate - srcfile="${lombok.patcher.dir}/dist/lombok-patcher.jar" - targetfile="lib/lombok/lombok-patcher.jar" /></not> - </or> - </condition> + <target name="update" description="Updates without interaction those deps you already have."> + <subant target="update"> + <fileset dir="buildScripts/deps" includes="*.ant.xml" /> + </subant> </target> - <target name="build-lombok.patcher" depends="-check-lombok.patcher" if="lombok.patcher.replace"> - <copy file="${lombok.patcher.dir}/dist/lombok-patcher.jar" todir="lib/lombok" /> - <echo level="info">** UPDATED: lib/lombok/lombok-patcher.jar</echo> + <target name="build" description="Builds all dependencies for which you've installed the source version."> + <subant target="build"> + <fileset dir="buildScripts/deps" includes="*.ant.xml" /> + </subant> </target> </project> |