> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > On Fri, 16 Apr 2004, Stephane Bailliez <[EMAIL PROTECTED]> wrote: > > > What happens if fork="no" and forkmode="xxx" ? > > forkstyle/mode gets ignored.
Which is good. Please no warning message about forkmode being ignored because not forking. I'm already jumping thru hoops to avoid a similar message about memoryMaximumSize in Javac when not forking... See below: <!-- Avoid warning message about memoryMaximumSize being ignored when not forking <javac>, and instead specify directly the JVM argument only when forking... Convoluted, but works! --> <property name="javac.memoryMaximumSize.true" value="-J-Xmx512m" /> <property name="javac.memoryMaximumSize.false" value="" /> <macrodef name="compile"> <attribute name="fork" default="false" /> <element name="sources" /> <sequential> <javac srcdir="src" source="1.4" destdir="build/classes" sourcepath="" deprecation="true" debug="true" verbose="false" includeAntRuntime="false" fork="@{fork}"> <!-- equivalent to <javac ... memoryMaximumSize="512m"> --> <compilerarg line="[EMAIL PROTECTED]" /> <classpath refid="classpath" /> <sources/> </javac> </sequential> </macrodef> <compile fork="true"> <sources> <include name="com/lgc/a/**" /> ... </sources> </compile> <compile> <sources> <include name="com/lgc/b/**" /> ... </sources> </compile> ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]