Hi All,
I tried to build a set of java files using jikes from
Ant tool.
The following is the code snippet from Build.xml.
<target name="compile" depends="init"
description="Compile source code">
<javac destdir="destdir"
classpathref="compile.classpath"
debug="true"
>
<src path="${srcdir}"/>
<include name="**/*.java"/>
</javac>
</target>
When the compilation happens , I get the following
error
[javac] Semantic Error: The input file
xx/yy/zz/abc.java was not found
[javac] Semantic Error: The input file
xx/yy/zz/bcd.java was not found
though the files exist in the respective path.
But when i try to compile the packages indivually by
changing the build.xml as
<include name="xx/yy/zz/*.java/>
I get some other compilation errors but not the
Semantic errors.
This happens only when the compiler is jikes.
When i change the compiler from jikes to javac, the
compilation happens successfully without any errors.
It would be of great help, if any one helps me
Jikes version that I use is: 1.18
Thanks in Advance.
Logged In: NO
Can anybody provide some pointers on this please !!!
Logged In: NO
still valid with 1.22 over here