You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2010/10/18 14:33:25 UTC

svn commit: r1023765 - /incubator/river/jtsk/trunk/qa/build.xml

Author: sijskes
Date: Mon Oct 18 12:33:24 2010
New Revision: 1023765

URL: http://svn.apache.org/viewvc?rev=1023765&view=rev
Log:
RIVER-326: doc target in qa/build.xml fails to produce documentation. fixed.

Modified:
    incubator/river/jtsk/trunk/qa/build.xml

Modified: incubator/river/jtsk/trunk/qa/build.xml
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/qa/build.xml?rev=1023765&r1=1023764&r2=1023765&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/qa/build.xml (original)
+++ incubator/river/jtsk/trunk/qa/build.xml Mon Oct 18 12:33:24 2010
@@ -331,22 +331,23 @@
         <delete dir="${doc.api.dir}" quiet="true"/>
         <mkdir  dir="${doc.api.dir}"/>
 
-        <!-- TODO: find out why this takes so much memory on Windows -->
-        <javadoc author="true"
-			 breakiterator="yes"
-			 destdir="${doc.api.dir}"
-			 doctitle="${javadoc.doc-title}"
-			 serialwarn="${verbose}"
-			 source="5"
-                         linkoffline="${jdk.doc.url} ${jdk.packages}"
-			 use="true"
-			 version="true"
-			 windowtitle="${javadoc.win-title}"
-                         maxmemory="256M"
-                         verbose="${verbose}">
+        <javadoc
+                author="true"
+                breakiterator="yes"
+                destdir="${doc.api.dir}"
+                doctitle="${javadoc.doc-title}"
+                serialwarn="${verbose}"
+                source="5"
+                linkoffline="${jdk.doc.url} ${jdk.packages}"
+                use="true"
+                version="true"
+                windowtitle="${javadoc.win-title}"
+                maxmemory="256M"
+                verbose="${verbose}"
+                >
             <bottom><![CDATA[${api.copyright}]]></bottom>
-            <classpath refid="javadoc.classpath"/>
             <sourcepath>
+                <pathelement path="${src.dir}/../../src/"/>
                 <pathelement path="${src.dir}"/>
             </sourcepath>
             <package name="com.sun.jini.qa.*"/>



Re: svn commit: r1023765 - /incubator/river/jtsk/trunk/qa/build.xml

Posted by Sim IJskes - QCG <si...@qcg.nl>.
On 10/20/2010 10:49 PM, Jonathan Costers wrote:
> Just curious, why has the extra path element been added?
> I thought the docs failed to produce because of an out of memory issue in
> some cases?

I replaced the classpath element with an element pointing at the jini 
sources. Not only were out of memory errors reported, but it kept 
producing other exceptions, these were cured. And if the errors under 
windows still occur, please reopen the issue.

Gr. Sim

Re: svn commit: r1023765 - /incubator/river/jtsk/trunk/qa/build.xml

Posted by Jonathan Costers <jo...@googlemail.com>.
Just curious, why has the extra path element been added?
I thought the docs failed to produce because of an out of memory issue in
some cases?

2010/10/18 <si...@apache.org>

> Author: sijskes
> Date: Mon Oct 18 12:33:24 2010
> New Revision: 1023765
>
> URL: http://svn.apache.org/viewvc?rev=1023765&view=rev
> Log:
> RIVER-326: doc target in qa/build.xml fails to produce documentation.
> fixed.
>
> Modified:
>    incubator/river/jtsk/trunk/qa/build.xml
>
> Modified: incubator/river/jtsk/trunk/qa/build.xml
> URL:
> http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/qa/build.xml?rev=1023765&r1=1023764&r2=1023765&view=diff
>
> ==============================================================================
> --- incubator/river/jtsk/trunk/qa/build.xml (original)
> +++ incubator/river/jtsk/trunk/qa/build.xml Mon Oct 18 12:33:24 2010
> @@ -331,22 +331,23 @@
>         <delete dir="${doc.api.dir}" quiet="true"/>
>         <mkdir  dir="${doc.api.dir}"/>
>
> -        <!-- TODO: find out why this takes so much memory on Windows -->
> -        <javadoc author="true"
> -                        breakiterator="yes"
> -                        destdir="${doc.api.dir}"
> -                        doctitle="${javadoc.doc-title}"
> -                        serialwarn="${verbose}"
> -                        source="5"
> -                         linkoffline="${jdk.doc.url} ${jdk.packages}"
> -                        use="true"
> -                        version="true"
> -                        windowtitle="${javadoc.win-title}"
> -                         maxmemory="256M"
> -                         verbose="${verbose}">
> +        <javadoc
> +                author="true"
> +                breakiterator="yes"
> +                destdir="${doc.api.dir}"
> +                doctitle="${javadoc.doc-title}"
> +                serialwarn="${verbose}"
> +                source="5"
> +                linkoffline="${jdk.doc.url} ${jdk.packages}"
> +                use="true"
> +                version="true"
> +                windowtitle="${javadoc.win-title}"
> +                maxmemory="256M"
> +                verbose="${verbose}"
> +                >
>             <bottom><![CDATA[${api.copyright}]]></bottom>
> -            <classpath refid="javadoc.classpath"/>
>             <sourcepath>
> +                <pathelement path="${src.dir}/../../src/"/>
>                 <pathelement path="${src.dir}"/>
>             </sourcepath>
>             <package name="com.sun.jini.qa.*"/>
>
>
>