cziegeler 2002/10/04 05:18:50 Modified: tools/src blocks-build.xsl Log: Using java compiler options from main tree for blocks as well Revision Changes Path 1.8 +8 -2 xml-cocoon2/tools/src/blocks-build.xsl Index: blocks-build.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/tools/src/blocks-build.xsl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- blocks-build.xsl 2 Oct 2002 08:10:33 -0000 1.7 +++ blocks-build.xsl 4 Oct 2002 12:18:50 -0000 1.8 @@ -144,12 +144,18 @@ <xsl:attribute name="configuration">${build.dest}/org/apache/cocoon/cocoon.roles</xsl:attribute> </roles-tool> - <echo message="Compiling block..." /> + <echo> + <xsl:attribute name="message">Compiling block with Java ${ant.java.version}, debug ${debug}, optimize ${optimize}, deprecation ${deprecation}...</xsl:attribute> + </echo> <javac> <xsl:attribute name="srcdir">${build.currentblock.src}</xsl:attribute> - <xsl:attribute name="destdir">${build.currentblock.dest}</xsl:attribute> + <xsl:attribute name="debug">${debug}</xsl:attribute> + <xsl:attribute name="optimize">${optimize}</xsl:attribute> + <xsl:attribute name="deprecation">${deprecation}</xsl:attribute> + <xsl:attribute name="target">${target.vm}</xsl:attribute> + <xsl:attribute name="nowarn">${nowarn}</xsl:attribute> <classpath refid="currentblock.classpath" /> </javac>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]