</path>
2, make up the srcdir attribute in <wtkbuild>
task, like this:
<target
depends="-mtj-initialize"
name="-mtj-build">
<echo
message="Building
source files..."/>
<wtkbuild
destdir="${path.build.classes}"
encoding="${src.encoding}"
source="1.3"
sourcepath=""
srcdir="${project.root.Wang_Feng_Test}/res">
<classpath
refid="classpath.Wang_Feng_Test"/>
</wtkbuild>
<wtkbuild
destdir="${path.build.classes}"
encoding="${src.encoding}"
source="1.3"
sourcepath=""
srcdir="${project.root.Wang_Feng_Test}/src">
<classpath
refid="classpath.Wang_Feng_Test"/>
</wtkbuild>
</target>
3. BTW, I find
that if a project refer another project, the exported build files will
fail to build, end with an error say that cannot find a class. I guess
it will be hard for an exported ant build file to solve this problem, because
the exported Ant build files may have to contain targets that build all
the projects in a certain sequence, the sequence is not easy to determine.
Best Regards,
Feng(Marvin) Wang(王峰)
Sybase Software (China) Co., Ltd
Room 1202-1203, Building One,
Zhangjiang Semiconductor Industry Park
3000 Longdong Avenue
Pudong, Shanghai 201203
Tel: +8621-38657441 or 258-7441
email: feng.wang@xxxxxxxxxx