There were two problems using the ANT build task for JCPP under windows:
1- "etc/global.xml", line 15
there is an absolute path reference to /usr/share/ant/lib
It is better to use the ANT property ${ant.home} instead, so the script will also work in different installations:
<fileset dir="${ant.home}/lib">
2- "etc/targets/global-javadoc.xml", line 51:
the javadoc task makes a reference to directory "${global.dir.etc}/javadoc" ()
When I use a fresh copy from the sources, this directory does not exists, so the javadoc task fails (aborting the build process). A good workaround is to create this directory if it does not exists, before the javadoc task is called. So I've inserted the following two lines at line 6 of "etc/targets/global-javadoc.xml":
<!-- create javadoc etc directory if it does not exist-->
<mkdir dir="${global.dir.etc}/javadoc" />
There were two problems using the ANT build task for JCPP under windows:
1- "etc/global.xml", line 15 there is an absolute path reference to /usr/share/ant/lib It is better to use the ANT property ${ant.home} instead, so the script will also work in different installations: <fileset dir="${ant.home}/lib">
2- "etc/targets/global-javadoc.xml", line 51: the javadoc task makes a reference to directory "${global.dir.etc}/javadoc" ( )
When I use a fresh copy from the sources, this directory does not exists, so the javadoc task fails (aborting the build process). A good workaround is to create this directory if it does not exists, before the javadoc task is called. So I've inserted the following two lines at line 6 of "etc/targets/global-javadoc.xml":
<!-- create javadoc etc directory if it does not exist-->
<mkdir dir="${global.dir.etc}/javadoc" />