switched publishing model away from a googlecode download and onto a projectlombok.org hosted download.

This commit is contained in:
Reinier Zwitserloot committed 2014-06-10 11:56:07 +02:00
1 parent e70a2058de
commit e453c2fafa
3 files changed
+11 -46

No files matched your search

+11 -34
View File
@@ -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"
@@ -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>
-1
View File
@@ -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" />