You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ron Wheeler <rw...@artifact-software.com> on 2005/07/27 22:49:12 UTC

Javadoc buld error in Eclipse

The build failed while trying to generate the javadocs. It looks like 
the command line is truncated but I am not sure if this is the problem 
or just a coincidence.

Is there an obvious error in my setup?

Can I suppress the generation of the javadocs?
Does anything happen after this that I actually need to try out Cocoon?

Ron


<tail end of Console Output>
javadocs:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution

BUILD FAILED
C:\eclipse\workspace\Cocoon\tools\targets\docs-build.xml:264: The 
following error occurred while executing this line:
C:\eclipse\workspace\Cocoon\build\cocoon-2.1.7\temp\blocks-build.xml:613: 
Javadoc failed: java.io.IOException: CreateProcess: javadoc.exe 
-J-Xmx192m -stylesheetfile 
C:\eclipse\workspace\Cocoon\src\resources\javadoc\javadoc.css 
-windowtitle "Cocoon API 2.1.7 [July 27 2005]" -splitindex -use -d 
C:\eclipse\workspace\Cocoon\build\cocoon-2.1.7\javadocs -doctitle 
"Cocoon API 2.1.7" -bottom "Copyright © 1999-2005 The Apache Software 
Foundation. All Rights Reserved." -classpath 
C:\eclipse\workspace\Cocoon\tools\lib\ant-contrib-0.6.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-junit.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-launcher.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-trax.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant.jar;C:\eclipse\workspace\Cocoon\tools\lib\easymock-1.1.jar;C:\eclipse\workspace\Cocoon\tools\lib\jing-20030619.jar;C:\eclipse\workspace\Cocoon\tools\lib\junit-3.8.1.jar;C:\eclipse\workspace\Cocoon\tools\lib\qdox-1.5.jar;C:\eclipse\workspace\Cocoon\tools\lib\xmlunit0.8.jar;C:\eclipse\workspace\Cocoon\lib\core\altrmi-common-0.9.2.jar;C:\eclipse\workspace\Cocoon\lib\core\altrmi-registry-0.9.2.jar;C:\ec”
</tail end of Console Output>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Javadoc buld error in Eclipse

Posted by Ron Wheeler <rw...@artifact-software.com>.
Thanks. That did the trick

exclude.javadocs=true

I kept the documentation turned on and appear to have got the 
documentation files generated.

Ron

Joerg Heinicke wrote:

> On 27.07.2005 22:49, Ron Wheeler wrote:
>
>> The build failed while trying to generate the javadocs. It looks like 
>> the command line is truncated but I am not sure if this is the 
>> problem or just a coincidence.
>>
>> Is there an obvious error in my setup?
>
>
> I don't think so. We have the same problem with one of our projects 
> (i.e. not Cocoon) that also has many dependencies and so a big 
> classpath. It's a problem of windows commandline or ant's interface to 
> javadoc.
>
>> Can I suppress the generation of the javadocs?
>
>
> Yes, copy build.properties to local.build.properties and modify in 
> local.build.properties the two properties concerning javadoc 
> generation at the beginning of the file.
>
>> Does anything happen after this that I actually need to try out Cocoon?
>
>
> I don't know the order of the build process. It could also be that 
> there are different orders on different machines. Ant resolves the 
> target dependencies. Just switch off Javadoc generation, the rest 
> should work.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Javadoc buld error in Eclipse

Posted by Joerg Heinicke <jo...@gmx.de>.
On 27.07.2005 22:49, Ron Wheeler wrote:

> The build failed while trying to generate the javadocs. It looks like 
> the command line is truncated but I am not sure if this is the problem 
> or just a coincidence.
> 
> Is there an obvious error in my setup?

I don't think so. We have the same problem with one of our projects 
(i.e. not Cocoon) that also has many dependencies and so a big 
classpath. It's a problem of windows commandline or ant's interface to 
javadoc.

> Can I suppress the generation of the javadocs?

Yes, copy build.properties to local.build.properties and modify in 
local.build.properties the two properties concerning javadoc generation 
at the beginning of the file.

> Does anything happen after this that I actually need to try out Cocoon?

I don't know the order of the build process. It could also be that there 
are different orders on different machines. Ant resolves the target 
dependencies. Just switch off Javadoc generation, the rest should work.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Javadoc build error in Eclipse

Posted by Ron Wheeler <rw...@artifact-software.com>.
In the build.properties, I found the following section.

# ---- Build Exclusions 
--------------------------------------------------------

#exclude.deprecated=true
#exclude.documentation=true
#exclude.javadocs=true
# Include Java source code into the binary jar files
#include.sources-in-jars=true
# Include Java source code into separate, source only jar files
#include.sources-jars=true

It appears that these are the opposite of the defaults so that copying 
these to the local... and removing the comments will reverse the default 
behaviour.

Is this true for all build.properties entries? ie the commented out 
values are the opposite of the defaults.

By suppressing the creation of the javadocs (exclude.javadocs=true), I 
was able top get the build to complete successfully.

Ron



Ron Wheeler wrote:

> The build failed while trying to generate the javadocs. It looks like 
> the command line is truncated but I am not sure if this is the problem 
> or just a coincidence.
>
> Is there an obvious error in my setup?
>
> Can I suppress the generation of the javadocs?
> Does anything happen after this that I actually need to try out Cocoon?
>
> Ron
>
>
> <tail end of Console Output>
> javadocs:
> [javadoc] Generating Javadoc
> [javadoc] Javadoc execution
>
> BUILD FAILED
> C:\eclipse\workspace\Cocoon\tools\targets\docs-build.xml:264: The 
> following error occurred while executing this line:
> C:\eclipse\workspace\Cocoon\build\cocoon-2.1.7\temp\blocks-build.xml:613: 
> Javadoc failed: java.io.IOException: CreateProcess: javadoc.exe 
> -J-Xmx192m -stylesheetfile 
> C:\eclipse\workspace\Cocoon\src\resources\javadoc\javadoc.css 
> -windowtitle "Cocoon API 2.1.7 [July 27 2005]" -splitindex -use -d 
> C:\eclipse\workspace\Cocoon\build\cocoon-2.1.7\javadocs -doctitle 
> "Cocoon API 2.1.7" -bottom "Copyright © 1999-2005 The Apache Software 
> Foundation. All Rights Reserved." -classpath 
> C:\eclipse\workspace\Cocoon\tools\lib\ant-contrib-0.6.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-junit.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-launcher.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant-trax.jar;C:\eclipse\workspace\Cocoon\tools\lib\ant.jar;C:\eclipse\workspace\Cocoon\tools\lib\easymock-1.1.jar;C:\eclipse\workspace\Cocoon\tools\lib\jing-20030619.jar;C:\eclipse\workspace\Cocoon\tools\lib\junit-3.8.1.jar;C:\eclipse\workspace\Cocoon\tools\lib\qdox-1.5.jar;C:\eclipse\workspace\Cocoon\tools\lib\xmlunit0.8.jar;C:\eclipse\workspace\Cocoon\lib\core\altrmi-common-0.9.2.jar;C:\eclipse\workspace\Cocoon\lib\core\altrmi-registry-0.9.2.jar;C:\ec” 
>
> </tail end of Console Output>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org