scala - scaladoc Ant task writing for multiple source directories? -


i wish compile scaladoc , javadoc in project both scala , java in it. project has more 1 source directory (each of may have scala or javadoc). tried:

  <scaladoc destdir="doc">     <classpath refid="compile.classpath"/>      <src>       <fileset dir="src"/>       <fileset dir="tweetstream4j/src"/>     </src>      <include name="src/**/*.scala"/>   </scaladoc> 

and several variants thereof. above variant get:

build failed /blah/build.xml:119: /blah/src/com/foo/blah.java not directory. 

where "blah.java" file in source tree.

i've looked @ scaladoc ant task doc , scaladoc man page. i'm using scala2.7.7final (because that's apt-get puts on ubuntu system).

suggestions of how scaladoc , javadoc out of "src" , "tweetstream4j/src"?

i had same question , came across this. <src> elements don't seem documented able put works various examples found on web:

<scaladoc destdir="doc">     <classpath refid="compile.classpath"/>     <src path="src"/>     <src path="tweetstream4j/src"/>     <include name="**/*.java"/>     <include name="**/*.scala"/> </scaladoc> 

that in both source directories java , scala code , build 1 set of documentation all.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -