Hi,
i checkout Velocity from svn and i have problem with build.
Standard build is ok, but when i want to compile with javacc (type ant
parser) i got error that i need JavaCC 3.1 and Ant 1.6.
i have javacc 3.2 (i already set javacc.home to valid directory)
Propably problem exists becouse ant build.xml script checks for ant 1.6 and
i have 1.7.
-----
<condition property="parser-task-runnable">
<and>
<available file="${javacc.home}" type="dir"/>
<!-- include a list of acceptable ant versions here -->
<or>
<contains string="${ant.version}" substring="1.6"/>
</or>
</and>
</condition
--
And another error, even i put 1.7 in script build script fails with compile
errors in generated classes
compile-src:
[javac] Compiling 215 source files to D:\projects\velocity\bin\classes
[javac]
D:\projects\velocity\bin\src\org\apache\velocity\runtime\parser\Pars
erVisitor.java:7: cannot find symbol
[javac] symbol : class SimpleNode
[javac] location: interface
org.apache.velocity.runtime.parser.ParserVisitor
[javac] public Object visit(SimpleNode node, Object data);
[javac] ^
[javac]
D:\projects\velocity\bin\src\org\apache\velocity\runtime\parser\Pars
erVisitor.java:8: cannot find symbol
[javac] symbol : class ASTprocess
[..]
I found also that javacc autogenerated classes should be directly copied to
src becouse some manual modifications
Sylwester