aboutsummaryrefslogtreecommitdiff
path: root/buildScripts/eclipse-p2.ant.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-02-03 02:30:56 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-02-03 02:30:56 +0100
commitdbb7ea00b803b619697d372435d38631c41c686e (patch)
tree9631694a1220e64d25f79252189e94b3df6039a8 /buildScripts/eclipse-p2.ant.xml
parent756f0019c3f7df0438f1ad4eb0b9c13670fd3a24 (diff)
downloadlombok-dbb7ea00b803b619697d372435d38631c41c686e.tar.gz
lombok-dbb7ea00b803b619697d372435d38631c41c686e.tar.bz2
lombok-dbb7ea00b803b619697d372435d38631c41c686e.zip
[build] p2 repo now updated to go to cloudflare R2
Diffstat (limited to 'buildScripts/eclipse-p2.ant.xml')
-rw-r--r--buildScripts/eclipse-p2.ant.xml33
1 files changed, 12 insertions, 21 deletions
diff --git a/buildScripts/eclipse-p2.ant.xml b/buildScripts/eclipse-p2.ant.xml
index baf48c7a..d2375bb2 100644
--- a/buildScripts/eclipse-p2.ant.xml
+++ b/buildScripts/eclipse-p2.ant.xml
@@ -35,7 +35,7 @@ This buildfile is part of projectlombok.org. It is responsible for building the
<java classname="Epoch" classpath="build/p2-support" fork="false" outputproperty="dt.epochMillis" />
</target>
- <target name="eclipsep2.build" depends="version, -eclipsep2.get-epoch">
+ <target name="eclipsep2.build" depends="version, dist, -eclipsep2.get-epoch">
<tstamp><format property="dt.year" pattern="yyyy" /></tstamp>
<mkdir dir="build/p2" />
<mkdir dir="build/p2/features" />
@@ -109,25 +109,16 @@ This buildfile is part of projectlombok.org. It is responsible for building the
<delete file="build/p2/content.xml" />
</target>
- <target name="eclipsep2.pack" depends="eclipsep2.build">
- <tar destfile="dist/eclipse-p2.tar.bz2" compression="bzip2">
- <tarfileset dir="build/p2" />
- </tar>
- </target>
-
- <target name="eclipsep2.publish" depends="eclipsep2.pack">
- <ivy:scpUpload
- from="dist/eclipse-p2.tar.bz2"
- to="/data/lombok/staging"
- server="projectlombok.org"
- username="${ssh.username}"
- keyfile="${ssh.keyfile}"
- knownHosts="ssh.knownHosts" />
- <ivy:sshExec
- cmd="/data/lombok/stagingCmd/deployP2"
- server="projectlombok.org"
- username="${ssh.username}"
- keyfile="${ssh.keyfile}"
- knownHosts="ssh.knownHosts" />
+ <target name="eclipsep2.publish" depends="eclipsep2.build, compile.support">
+ <java classname="lombok.publish.PublishToBucket" failonerror="true">
+ <classpath>
+ <path refid="cp.buildtools" />
+ <pathelement location="build/support" />
+ </classpath>
+ <arg value="${gpg.keyrings}/s3_creds.txt" />
+ <arg value="build/p2" />
+ <arg value="p2" />
+ <arg value="true" />
+ </java>
</target>
</project>