cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Unable to build docs, javadocs and site
Date Mon, 08 May 2000 11:41:03 GMT
The line in build.sh should read chmod 0755 not chmod +755. This has been 
fixed in CVS.

However, I had the same problem. antrun could not be run even after I had 
done this. Bizarre. If this happens to you, you can still build the docs by 
doing

build.sh -verbose

and then copying and pasting the command line outputted, without the antRun 
at the start of the line.

Kowshik.Podder@ubsw.com wrote:
>
>I've got a small problem, trying to build stuff from the Cocoon 1.7.3
>distribution.
>
>I can build cocoon.jar fine without any problems, but when I attempt to
>build docs, javadocs or site, the build fails to build the packages
>reporting an "[exec] Result: -1" error. From what I can work out after
>looking at the build.xml file, the error is occuring during the during
>the java fork to stylebook.
>
>Here is the terminal output during compilation:
>
>========================================================================
>=====
>~/docman/src/cocoon-1.7.3 >./build.sh docs
>
>Cocoon Build System
>-------------------
>
>Building with classpath
>../lib/ant.jar:/home/podderko/docman/jdk/lib/tools.jar:/lib/xerces_1_0_3.
>jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet2_2.jar:/hom
>e/podderko/docman/ant/lib/ant.jar:/home/podderko/docman/ant/lib/xm.jar:/
>home/podderko/docman/jdk/lib/tools.jar:/lib/j2ee.jar:/home/podderko/docm
>n/jaxp/jaxp.jar:/home/podderko/docman/jaxp/parser.jar
>chmod: ERROR: invalid mode
>
>Starting Ant...
>Buildfile: build.xml
>Project base dir set to: /home/podderko/docman/src/cocoon-1.7.3
>Executing Target: init
>------------------- Cocoon 1.7.3 [1999-2000] ----------------
>Executing Target: prepare-docs
>Replacing ./xdocs/dtd/ --> dtd/
>Replacing ./xdocs/dtd/ --> dtd/
>Executing Target: docs
>Created dir: /home/podderko/docman/src/cocoon-1.7.3/build/docs
>[exec] Result: -1
>Completed in 1 seconds
>
>~/docman/src/cocoon-1.7.3 >./build.sh javadocs
>
>Cocoon Build System
>-------------------
>
>Building with classpath
>../lib/ant.jar:/home/podderko/docman/jdk/lib/tools.jar:/lib/xerces_1_0_3.
>jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet2_2.jar:/hom
>e/podderko/docman/ant/lib/ant.jar:/home/podderko/docman/ant/lib/xm.jar:/
>home/podderko/docman/jdk/lib/tools.jar:/lib/j2ee.jar:/home/podderko/docm
>n/jaxp/jaxp.jar:/home/podderko/docman/jaxp/parser.jar
>chmod: ERROR: invalid mode
>
>Starting Ant...
>Buildfile: build.xml
>Project base dir set to: /home/podderko/docman/src/cocoon-1.7.3
>Executing Target: init
>------------------- Cocoon 1.7.3 [1999-2000] ----------------
>Executing Target: prepare
>Executing Target: prepare-projectx
>Executing Target: prepare-xt
>Executing Target: prepare-ecma
>Executing Target: prepare-ldap
>Executing Target: prepare-doclet
>Executing Target: prepare-src
>Executing Target: javadocs
>Created dir: /home/podderko/docman/src/cocoon-1.7.3/build/javadocs
>Generating Javadoc
>Parsing source files for packages
>Javadoc execution
>[exec] Result: -1
>Completed in 2 seconds
>
>~/docman/src/cocoon-1.7.3 >./build.sh site
>
>Cocoon Build System
>-------------------
>
>Building with classpath
>../lib/ant.jar:/home/podderko/docman/jdk/lib/tools.jar:/lib/xerces_1_0_3.
>jar:./lib/xalan_1_0_1.jar:./lib/fop_0_12_1.jar:./lib/servlet2_2.jar:/hom
>e/podderko/docman/ant/lib/ant.jar:/home/podderko/docman/ant/lib/xm.jar:/
>home/podderko/docman/jdk/lib/tools.jar:/lib/j2ee.jar:/home/podderko/docm
>n/jaxp/jaxp.jar:/home/podderko/docman/jaxp/parser.jar
>chmod: ERROR: invalid mode
>
>Starting Ant...
>Buildfile: build.xml
>Project base dir set to: /home/podderko/docman/src/cocoon-1.7.3
>Executing Target: init
>------------------- Cocoon 1.7.3 [1999-2000] ----------------
>Executing Target: prepare-docs
>Replacing ./xdocs/dtd/ --> dtd/
>Replacing ./xdocs/dtd/ --> dtd/
>Executing Target: site
>Deleting: /home/podderko/docman/src/cocoon-1.7.3/xdocs/book.xml
>[exec] Result: -1
>Completed in 1 seconds
>
>========================================================================
>=====
>
>Obviously, this is not a major problem, since I can build cocoon.jar
>and the docs are already present in the distribution anyway, but it
>would be nice to be able to build everything! I'm using JDK 1.2.2_05 on
>Solaris 2.6.
>
>Also, why the chmod error - the build.xml entry seems fine. And where
>can I find documentation for Stylebook - does any exist?
>
>Any ideas?
>
>Cheers,
>
>Kosh
>
>
>This message contains confidential information and is intended only
>for the individual named.  If you are not the named addressee you
>should not disseminate, distribute or copy this e-mail.  Please
>notify the sender immediately by e-mail if you have received this
>e-mail by mistake and delete this e-mail from your system.
>
>E-mail transmission cannot be guaranteed to be secure or error-free
>as information could be intercepted, corrupted, lost, destroyed,
>arrive late or incomplete, or contain viruses.  The sender therefore
>does not accept liability for any errors or omissions in the contents
>of this message which arise as a result of e-mail transmission.  If
>verification is required please request a hard-copy version.  This
>message is provided for informational purposes and should not be
>construed as a solicitation or offer to buy or sell any securities or
>related financial instruments.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message