diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-01-08 01:20:27 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-01-08 01:32:24 +0100 |
commit | a4345d11453fc7d80e7814c27605ce1a5caa23f8 (patch) | |
tree | d72ddb8d12c4adc2d78f3d06408c3f7ec486dd01 /docker/ant/files/jdk-13/classpath | |
parent | 20952446671d78533e3662bfa8206e3801c70b54 (diff) | |
download | lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.gz lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.bz2 lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.zip |
new versions for docker
Diffstat (limited to 'docker/ant/files/jdk-13/classpath')
-rw-r--r-- | docker/ant/files/jdk-13/classpath/build.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/ant/files/jdk-13/classpath/build.xml b/docker/ant/files/jdk-13/classpath/build.xml new file mode 100644 index 00000000..01decd3f --- /dev/null +++ b/docker/ant/files/jdk-13/classpath/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" modulepath="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 |