Hi Tomas, many thanks for your work, it seems, i will be able to ditch the shell scripts i currently used soon :)
May i ask you to also add the support for modules in the jar task and to create a jlink task ? regards, Rémi ----- Mail original ----- > De: "Tomas Zezula" <[email protected]> > À: [email protected] > Envoyé: Mercredi 30 Mars 2016 07:53:56 > Objet: Jigsaw + Ant > > Hi All, > the Ant 1.9.7alpha (https://ant.apache.org/nightlies.html) now supports > modules in the Javac and Java tasks. > > The Javac single module compilation example: > > <javac srcdir="${src}" > destdir="${build}" > includeantruntime="false" > modulepath="modules" > source="9" > /> > > > The Javac multi-module compilation example: > > <javac modulesourcepath="${src}/*/{gen,lin{32,64}}/classes" > destdir="${build}" > includeantruntime="false" > modulepath="modules" > source="9" > /> > > The main module execution example: > > <java fork="true" > module="TestModule" > modulepath="lib:dist/test.jar”/> > > An execution of an explicit main class in a module: > > <java fork="true" > module="TestModule" > classname="Main"> > <modulepath> > <pathelement location="lib"/> > <pathelement location="dist/test.jar"/> > </modulepath> > </java> > > > — Tomas
