diff options
author | Roel Spilker <r.spilker@gmail.com> | 2021-03-18 23:12:30 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-03-19 00:54:25 +0100 |
commit | 76144935e2e74c98534a47a66d472de61fe1fef2 (patch) | |
tree | a0a579b4a01294b79f4860c9d0a455205317c62c /docker/ant/files/jdk-16/modules | |
parent | e18ae4328e8e22e364dc8c38f75e80d17e771500 (diff) | |
download | lombok-76144935e2e74c98534a47a66d472de61fe1fef2.tar.gz lombok-76144935e2e74c98534a47a66d472de61fe1fef2.tar.bz2 lombok-76144935e2e74c98534a47a66d472de61fe1fef2.zip |
[jdk16] docker
[jdk16] delombok
Diffstat (limited to 'docker/ant/files/jdk-16/modules')
-rw-r--r-- | docker/ant/files/jdk-16/modules/build.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/ant/files/jdk-16/modules/build.xml b/docker/ant/files/jdk-16/modules/build.xml new file mode 100644 index 00000000..3f181ed9 --- /dev/null +++ b/docker/ant/files/jdk-16/modules/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 |