aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-25 03:11:50 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-25 03:20:11 +0200
commit27a6e0432d36830e5ee09bcbeeb329706c36dc28 (patch)
tree1041c7a7ebaba15abf1051d7ad5f564edfa4e9f7
parentdcc18f6d6d0b2bd828049cbc4b3b16823cdff0b6 (diff)
downloadlombok-27a6e0432d36830e5ee09bcbeeb329706c36dc28.tar.gz
lombok-27a6e0432d36830e5ee09bcbeeb329706c36dc28.tar.bz2
lombok-27a6e0432d36830e5ee09bcbeeb329706c36dc28.zip
bugfix in the maven target, which still listed the old test/delombok/src dir instead of the new name for that, test/transform/src. Also, <scp> and <sshexec> werent loaded. Also fixed a bug in the buildscript for the publish target (regarding googlecode uploads).
-rw-r--r--build.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 1c0562b9..d438a7bf 100644
--- a/build.xml
+++ b/build.xml
@@ -25,6 +25,7 @@ This buildfile is part of projectlombok.org. It is the main entry point that con
the common tasks and can be called on to run the main aspects of all the sub-scripts.
</description>
+ <property name="credentialsFile" value="google.properties" />
<property name="build.compiler" value="javac1.6" />
<property name="ivy.retrieve.pattern" value="lib/[conf]/[artifact].[ext]" />
<available file="lib/ivyplusplus.jar" property="ivyplusplus.available" />
@@ -248,13 +249,15 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fileset dir="src/installer" />
<fileset dir="src/delombok" />
<fileset dir="experimental/src" />
- <fileset dir="test/delombok/src" />
+ <fileset dir="test/transform/src" />
<fileset dir="test/core/src" />
</sources>
</ivy:make-maven-repo>
</target>
<target name="maven-publish" depends="maven" description="Build a maven repository then upload it to projectlombok.org.">
+ <taskdef name="scp" classname="org.apaxhe.tools.ant.taskdefs.optional.ssh.Scp" classpathref="build.path" />
+ <taskdef name="sshexec" classname="org.apaxhe.tools.ant.taskdefs.optional.ssh.SSHExec" classpathref="build.path" />
<available file="libertad-upload.key" property="libertad.key.available" />
<fail unless="libertad.key.available">You don't have the libertad-upload.key; you'll need it to get write access to the server.</fail>
<scp
@@ -282,7 +285,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</target>
<target name="publish" description="Publishes the latest build to googlecode." depends="version, -checkCredentialsFile, dist, test">
- <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="lib/build/ant-googlecode-0.0.2.jar" name="gcupload" />
+ <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpathref="build.path" name="gcupload" />
<property file="${credentialsFile}" prefix="google" />
<gcupload
username="${google.username}"