aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml3
-rw-r--r--buildScripts/.gitignore1
-rw-r--r--buildScripts/eclipse-p2.ant.xml25
-rw-r--r--buildScripts/lombok.jksbin0 -> 2359 bytes
-rw-r--r--buildScripts/p2/feature.xml4
5 files changed, 29 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 0a2187fe..f50d68f6 100644
--- a/build.xml
+++ b/build.xml
@@ -375,8 +375,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
<antcall target="dist" />
</target>
- <target name="eclipse-p2" depends="config-ssh, -eclipse-p2-dist" description="Builds an eclipse p2 update site which allows lombok to be installed as an eclipse plugin">
-
+ <target name="eclipse-p2" depends="config-ssh, version, -eclipse-p2-dist" description="Builds an eclipse p2 update site which allows lombok to be installed as an eclipse plugin">
<ant antfile="buildScripts/eclipse-p2.ant.xml" target="dist-eclipse-p2" inheritAll="false">
<property name="lombok.version" value="${lombok.version}" />
</ant>
diff --git a/buildScripts/.gitignore b/buildScripts/.gitignore
new file mode 100644
index 00000000..46452f58
--- /dev/null
+++ b/buildScripts/.gitignore
@@ -0,0 +1 @@
+/lombok.jks.password
diff --git a/buildScripts/eclipse-p2.ant.xml b/buildScripts/eclipse-p2.ant.xml
index 4dc9b719..db33b674 100644
--- a/buildScripts/eclipse-p2.ant.xml
+++ b/buildScripts/eclipse-p2.ant.xml
@@ -55,6 +55,13 @@ This buildfile is part of projectlombok.org. It is responsible for building the
<zipfileset dir="buildScripts/p2" includes="p2.inf" prefix="META-INF/" />
<zipfileset dir="dist" includes="lombok-${lombok.version}.jar" fullpath="lombok.jar" />
</jar>
+ <loadfile property="store.pass" srcFile="buildScripts/lombok.jks.password" />
+ <signjar
+ jar="build/p2/plugins/org.projectlombok.agent_${lombok.version}.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<length property="agent.zip.size" file="build/p2/plugins/org.projectlombok.agent_${lombok.version}.jar" />
@@ -67,6 +74,12 @@ This buildfile is part of projectlombok.org. It is responsible for building the
</filterset>
</copy>
<zip destfile="build/p2/features/org.projectlombok.feature_${lombok.version}.jar" basedir="build/p2" includes="feature.xml" />
+ <signjar
+ jar="build/p2/features/org.projectlombok.feature_${lombok.version}.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<delete file="build/p2/feature.xml" />
<length property="feature.zip.size" file="build/p2/features/org.projectlombok.feature_${lombok.version}.jar" />
@@ -81,7 +94,19 @@ This buildfile is part of projectlombok.org. It is responsible for building the
</filterset>
</copy>
<zip destfile="build/p2/artifacts.jar" basedir="build/p2" includes="artifacts.xml" />
+ <signjar
+ jar="build/p2/artifacts.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<zip destfile="build/p2/content.jar" basedir="build/p2" includes="content.xml" />
+ <signjar
+ jar="build/p2/content.jar"
+ alias="lombok"
+ storepass="${store.pass}"
+ keystore="buildScripts/lombok.jks"
+ />
<delete file="build/p2/artifacts.xml" />
<delete file="build/p2/content.xml" />
</target>
diff --git a/buildScripts/lombok.jks b/buildScripts/lombok.jks
new file mode 100644
index 00000000..3c57736b
--- /dev/null
+++ b/buildScripts/lombok.jks
Binary files differ
diff --git a/buildScripts/p2/feature.xml b/buildScripts/p2/feature.xml
index f5d08c4d..27fe2559 100644
--- a/buildScripts/p2/feature.xml
+++ b/buildScripts/p2/feature.xml
@@ -32,8 +32,8 @@ THE SOFTWARE.
<plugin
id="org.projectlombok.agent"
- download-size="0"
- install-size="0"
+ download-size="1158"
+ install-size="1158"
version="@VERSION@"/>
</feature>