aboutsummaryrefslogtreecommitdiff
path: root/docker/ant/files
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-04-30 23:32:05 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-04-30 23:32:05 +0200
commit87ad2f6f5973c355131927d7c4250236c04f7eab (patch)
treed2cb387a5d85c3d2f0a7958bbee0348dd19f761c /docker/ant/files
parent3ea12bdeba0936b4022e731282fd33c9c077e2d7 (diff)
downloadlombok-87ad2f6f5973c355131927d7c4250236c04f7eab.tar.gz
lombok-87ad2f6f5973c355131927d7c4250236c04f7eab.tar.bz2
lombok-87ad2f6f5973c355131927d7c4250236c04f7eab.zip
update docker files and documentation
Diffstat (limited to 'docker/ant/files')
-rw-r--r--docker/ant/files/jdk-10/build.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/ant/files/jdk-10/build.xml b/docker/ant/files/jdk-10/build.xml
new file mode 100644
index 00000000..3f181ed9
--- /dev/null
+++ b/docker/ant/files/jdk-10/build.xml
@@ -0,0 +1,35 @@
+<project name="example" default="dist" basedir=".">
+ <property name="src" location="src/main/java"/>
+ <property name="build" location="build"/>
+ <property name="dist" location="dist"/>
+ <property name="build.sysclasspath" value="ignore"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ </target>
+
+ <target name="compile" depends="init" description="compile the source">
+ <javac classpath="lombok.jar" srcdir="${src}" destdir="${build}" fork="true">
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED"/>
+ <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"/>
+ </javac>
+ </target>
+
+ <target name="dist" depends="compile" description="generate the distribution">
+ <mkdir dir="${dist}/lib"/>
+ <jar jarfile="${dist}/lib/example-${DSTAMP}.jar" basedir="${build}"/>
+ </target>
+
+ <target name="clean" description="clean up">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project> \ No newline at end of file