aboutsummaryrefslogtreecommitdiff
path: root/buildScripts
diff options
context:
space:
mode:
Diffstat (limited to 'buildScripts')
-rw-r--r--buildScripts/compile.ant.xml18
-rw-r--r--buildScripts/create-eclipse-project.ant.xml3
-rw-r--r--buildScripts/create-intellij-project.ant.xml3
-rw-r--r--buildScripts/maven.ant.xml3
4 files changed, 22 insertions, 5 deletions
diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml
index 23a8a63c..e4283c29 100644
--- a/buildScripts/compile.ant.xml
+++ b/buildScripts/compile.ant.xml
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2020-2021 The Project Lombok Authors.
+ Copyright (C) 2020-2022 The Project Lombok Authors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -74,7 +74,21 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil
</jar>
</target>
- <target name="compile" depends="version, deps, -setup.build, create.spiProcessor" description="Compiles the code">
+ <target name="create.mavenEcjBootstrapAgent" depends="-setup.build" description="Compiles the Maven ECJ bootstrap agent">
+ <ivy:compile destdir="build/mavenEcjBootstrapAgent" source="1.6" target="1.6" ecj="true">
+ <bootclasspath path="${jdk6-rt.loc}" />
+ <src path="src/mavenEcjBootstrapAgent" />
+ </ivy:compile>
+ <mkdir dir="build/lombok-main/lombok/launch" />
+ <jar destfile="build/lombok-main/lombok/launch/mavenEcjBootstrapAgent.jar" basedir="build/mavenEcjBootstrapAgent">
+ <manifest>
+ <attribute name="Premain-Class" value="lombok.launch.AgentBootstrap" />
+ <attribute name="Can-Redefine-Classes" value="true" />
+ </manifest>
+ </jar>
+ </target>
+
+ <target name="compile" depends="version, deps, -setup.build, create.spiProcessor, create.agentBootstrap" description="Compiles the code">
<!--
1. Compile stubs.
2. Compile transplants.
diff --git a/buildScripts/create-eclipse-project.ant.xml b/buildScripts/create-eclipse-project.ant.xml
index b0f5fcca..f9c45bc6 100644
--- a/buildScripts/create-eclipse-project.ant.xml
+++ b/buildScripts/create-eclipse-project.ant.xml
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2010-2021 The Project Lombok Authors.
+ Copyright (C) 2010-2022 The Project Lombok Authors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -34,6 +34,7 @@ This buildfile is part of projectlombok.org. It creates the infrastructure neede
<srcdir dir="src/launch" />
<srcdir dir="src/utils" />
<srcdir dir="src/eclipseAgent" />
+ <srcdir dir="src/mavenEcjBootstrapAgent" />
<srcdir dir="src/installer" />
<srcdir dir="src/delombok" />
<srcdir dir="src/stubs" srcout="bin/stubs" />
diff --git a/buildScripts/create-intellij-project.ant.xml b/buildScripts/create-intellij-project.ant.xml
index f0bba6e4..3a5398dd 100644
--- a/buildScripts/create-intellij-project.ant.xml
+++ b/buildScripts/create-intellij-project.ant.xml
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2010-2021 The Project Lombok Authors.
+ Copyright (C) 2010-2022 The Project Lombok Authors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -45,6 +45,7 @@ This buildfile is part of projectlombok.org. It creates the infrastructure neede
<srcdir dir="src/launch" />
<srcdir dir="src/utils" />
<srcdir dir="src/eclipseAgent" />
+ <srcdir dir="src/mavenEcjBootstrapAgent" />
<srcdir dir="src/installer" />
<srcdir dir="src/delombok" />
<srcdir dir="src/stubs" />
diff --git a/buildScripts/maven.ant.xml b/buildScripts/maven.ant.xml
index 57bb6b99..fe64a611 100644
--- a/buildScripts/maven.ant.xml
+++ b/buildScripts/maven.ant.xml
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2020 The Project Lombok Authors.
+ Copyright (C) 2020-2022 The Project Lombok Authors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -43,6 +43,7 @@ This buildfile is part of projectlombok.org. It makes maven-compatible repositor
<fileset dir="src/launch" />
<fileset dir="src/utils" />
<fileset dir="src/eclipseAgent" />
+ <fileset dir="src/mavenEcjBootstrapAgent" />
<fileset dir="src/installer" />
<fileset dir="src/delombok" />
<fileset dir="test/transform/src" />