aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-06-10 11:56:07 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-06-10 11:56:07 +0200
commite453c2fafab13c066a7260434f0c08f61e437c8b (patch)
treedc4dc4a46497ec4b8639459266c0438a5d934bae
parente70a2058deba939be59400e07e9fb9e13b5720c6 (diff)
downloadlombok-e453c2fafab13c066a7260434f0c08f61e437c8b.tar.gz
lombok-e453c2fafab13c066a7260434f0c08f61e437c8b.tar.bz2
lombok-e453c2fafab13c066a7260434f0c08f61e437c8b.zip
switched publishing model away from a googlecode download and onto a projectlombok.org hosted download.
-rw-r--r--build.xml45
-rw-r--r--buildScripts/ivy-repo/projectlombok.org-ant-googlecode-0.0.2.xml11
-rw-r--r--buildScripts/ivy.xml1
3 files changed, 11 insertions, 46 deletions
diff --git a/build.xml b/build.xml
index 6e81138a..ede1998f 100644
--- a/build.xml
+++ b/build.xml
@@ -25,7 +25,6 @@ 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]/[organisation]-[artifact].[ext]" />
<available file="lib/ivyplusplus.jar" property="ivyplusplus.available" />
@@ -662,41 +661,9 @@ You can also create your own by writing a 'testenvironment.properties' file. The
trust="true" command="./showMavenCentralPassword" />
</target>
- <target name="-credentials">
- <available property="hasCredentialsFile" file="${credentialsFile}"/>
- </target>
-
- <target name="-checkCredentialsFile" depends="-credentials" unless="hasCredentialsFile">
- <echo file="${credentialsFile}">
-#username=[your google account name without @gmail.com]
-#password=[your googlecode password, is NOT your gmail password]
- </echo>
- <fail message="fill in ${credentialsFile} to provide your credentials" />
- </target>
-
- <target name="publish" description="Publishes the latest build to googlecode." depends="version, -checkCredentialsFile, dist, dist-utils, test, -defSSH">
- <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpathref="build.path" name="gcupload" />
+ <target name="publish" description="Publishes the latest build to googlecode." depends="version, dist, dist-utils, test, -defSSH">
<available file="escudo-upload.key" property="escudo.key.available" />
<fail unless="escudo.key.available">You don't have the escudo-upload.key; you'll need it to get write access to the server.</fail>
- <property file="${credentialsFile}" prefix="google" />
- <gcupload
- username="${google.username}"
- password="${google.password}"
- projectname="projectlombok"
- filename="dist/lombok.jar"
- targetfilename="lombok-${lombok.version}.jar"
- summary="Version ${lombok.version}"
- labels=""
- verbose="true" />
- <gcupload
- username="${google.username}"
- password="${google.password}"
- projectname="projectlombok"
- filename="dist/lombok.jar"
- targetfilename="lombok.jar"
- summary="Version ${lombok.version} - The everything jar - doubleclick it to install, or just include it in your projects."
- labels="Featured"
- verbose="true" />
<scp
localFile="dist/lombok-utils-${lombok.version}.jar"
todir="lombokup@projectlombok.org:/staging"
@@ -707,6 +674,16 @@ You can also create your own by writing a 'testenvironment.properties' file. The
username="lombokup"
keyfile="escudo-upload.key" passphrase=""
trust="true" command="./deployLombokUtils '${lombok.version}'" />
+ <scp
+ localFile="dist/lombok-${lombok.version}.jar"
+ todir="lombokup@projectlombok.org:/staging"
+ keyfile="escudo-upload.key" passphrase=""
+ sftp="false" verbose="true" trust="true" />
+ <sshexec
+ host="projectlombok.org"
+ username="lombokup"
+ keyfile="escudo-upload.key" passphrase=""
+ trust="true" command="./deployLombok '${lombok.version}'" />
</target>
<target name="publish-all" depends="clean, version, website-publish, maven-publish, publish"
diff --git a/buildScripts/ivy-repo/projectlombok.org-ant-googlecode-0.0.2.xml b/buildScripts/ivy-repo/projectlombok.org-ant-googlecode-0.0.2.xml
deleted file mode 100644
index 9f5d13ba..00000000
--- a/buildScripts/ivy-repo/projectlombok.org-ant-googlecode-0.0.2.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<ivy-module version="2.0">
- <info organisation="projectlombok.org" module="ant-googlecode" revision="0.0.2" publication="20100419062500">
- <description homepage="http://code.google.com/p/ant-googlecode/" />
- </info>
- <configurations>
- <conf name="build" />
- </configurations>
- <publications>
- <artifact conf="build" url="http://projectlombok.org/ivyrepo/tools/ant-googlecode-0.0.2.jar" />
- </publications>
-</ivy-module>
diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml
index 8be22f6a..41f58632 100644
--- a/buildScripts/ivy.xml
+++ b/buildScripts/ivy.xml
@@ -28,7 +28,6 @@
<dependency org="org.apache.ant" name="ant" rev="1.8.1" conf="buildBase->default; contrib->sources" />
<dependency org="projectlombok.org" name="spi" rev="0.2.7" conf="buildBase->build" />
- <dependency org="projectlombok.org" name="ant-googlecode" rev="0.0.2" conf="buildBase->build" />
<dependency org="com.jcraft" name="jsch" rev="0.1.42" conf="buildBase->default" />
<dependency org="projectlombok.org" name="jsch-ant-fixed" rev="0.1.42" conf="buildBase->build" />
<dependency org="projectlombok.org" name="markdownj" rev="1.02b4" conf="buildBase->build" />