I am trying to build this project https://github.com/goldmansachs/gs-collections .
Built with: ant -buildfile build.xml
However I get the following error:
[javadoc] javadoc: error - Illegal package name: "/home/bionix/Desktop/gs-collections/collections-api/target/generated-sources/java/com/gs/collections/api/block/function/primitive/CharFunction.java.crc"
[javadoc] javadoc: error - Illegal package name: "/home/bionix/Desktop/gs-collections/collections-api/target/generated-sources/java/com/gs/collections/api/block/function/primitive/CharFunction0.java.crc
and then here is the result: [javadoc] 100 errors
javadoc-jar:
BUILD FAILED
/home/bionix/Desktop/gs-collections/build.xml:33: The following error occurred while executing this line:
/home/bionix/Desktop/gs-collections/common-build.xml:280: /home/elmaakoul/Desktop/gs-collections/collections-api/target/javadoc does not exist.
I don't know the source of the problem in here. Can someone help me. Thank you
This is the common-build.xml
:
<target name="javadoc" depends="-deploy-properties, -ivy-init">
<ivy:cachepath pathid="runtime.classpath" conf="runtime" />
<javadoc
destdir="target/javadoc"
author="true"
version="true"
use="true"
useexternalfile="true"
windowtitle="${javadoc.title} - ${build.version.full}">
<sourcefiles>
<resources refid="all-sources" />
</sourcefiles>
<classpath refid="runtime.classpath" />
<doctitle>${javadoc.title} - ${build.version.full}</doctitle>
<link href="http://java.sun.com/j2se/1.5.0/docs/api/" />
</javadoc>
</target>
<target name="javadoc-jar"
depends="-deploy-properties, javadoc"
description="Builds the javadoc jar for the application">
<jar
jarfile="${javadoc.jar.name}"
compress="true"
index="false"
basedir="target/javadoc" />
</target>