ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <>
Subject <scriptcondition> is broken with Jython in the recent trunk builds
Date Mon, 30 Jul 2007 23:08:30 GMT
Recent trunk ANT fails in my builds because <scriptcondition> does 
something with the script that Jython cannot digest (new lines?).  
<script> with the same code works fine. This is a test script:

  <script language="jython"><![CDATA[ # test
  <condition property="test">
    <scriptcondition language="jython"><![CDATA[ # test

and the output is:

Buildfile: test.xml
   [script] test

C:\tmp\test.xml:6: Traceback (innermost last):
  (no code object) at line 0
SyntaxError: ('invalid syntax', ('<string>', 1, 8, ' # test'))

Total time: 0 seconds

- Alexey.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message