Jean-Baptiste Quenot wrote:
* Andreas Hartmann:
the block-compile macro doesn't use the source.vm property.
Is this intentional?
<javac destdir="${{build.blocks}}/@{{name}}/dest"
debug="${{compiler.debug}}"
optimize="${{compiler.optimize}}"
deprecation="${{compiler.deprecation}}"
+ source="${{source.vm}}"
target="${{target.vm}}"
nowarn="${{compiler.nowarn}}"
compiler="${{compiler}}">
Hello,
What's this variable used for?
It determines the version of the Java source (1.2, 1.3, 1.4, ...).
I have a block which contains assert statements, and it won't compile
with the default setting. If I add the javac source attribute, it works.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]