You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Russell Brown <rb...@link.co.uk> on 2006/01/03 12:51:12 UTC

2.1.8 Build Failed. Cannot find file validate-build.xml.

Hi,
I am trying to build and install Cocoon 2.1.8. I am on Windows XP
running JDK. I have downloaded the 2.1.8 release and untarred it. I have
typed "build.bat" at my shell prompt and I get the following error from
ant

BUILD FAILED
M:\cocoon-2.1.8\build.xml:39: Cannot find
tools/targets/validate-build.xml imported from M:\cocoon-2
.1.8\build.xml

I have had a look at the build.xml and it simply includes a list of
other xxx-build.xml files from the tools/targets/ directory. I have
looked in that directory and there is no validate-build.xml. Also there
is not a webapp-build.xml, tools-build.xml nor upgrade build.xml.

I downloaded the latest source package just in case and the same issue
persists. 

Where can I get the missing files from ? Should they be in the src
package or should I delete the lines from the build.xml ?

I am trying to build cocoon as the first step to installing and learning
to use Apache Lenya.

Many thanks in advance

Russell


Russell Brown
Developer
LINK Interchange Network Ltd

Tel: 01423 356316



________________________________________________________________________
The Information contained in this e-mail message is intended only for
the individuals named above. If you are not the intended recipient,
you should be aware that any dissemination, distribution, forwarding
or other duplication of this communication is strictly prohibited.
The views expressed in this e-mail are those of the individual
author and not necessarily those of LINK Interchange Network Ltd.
Prior to taking any action based upon this e-mail message you should
seek appropriate confirmation of its authenticity. If you have
received this e-mail in error, please notify the sender immediately.
________________________________________________________________________

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


Re: 2.1.8 Build Failed. Cannot find file validate-build.xml.

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 3 janv. 06, à 12:51, Russell Brown a écrit :

> ....I have had a look at the build.xml and it simply includes a list of
> other xxx-build.xml files from the tools/targets/ directory. I have
> looked in that directory and there is no validate-build.xml. Also there
> is not a webapp-build.xml, tools-build.xml nor upgrade build.xml...

Something seems to be wrong with your download or the way it was 
extracted, here's what you should see:

tar ztvf cocoon-2.1.8-src.tar.gz  | grep build.xml
tar: Record size = 16 blocks
-rw-r--r-- /              3568 2005-11-17 09:19:03 
cocoon-2.1.8/build.xml
-rw-r--r-- /               862 2005-11-17 09:18:25 
cocoon-2.1.8/src/blocks/axis/build.xml
-rw-r--r-- /              1076 2005-11-17 09:19:00 
cocoon-2.1.8/src/blocks/hsqldb/build.xml
-rw-r--r-- /              3548 2005-11-17 09:18:42 
cocoon-2.1.8/src/blocks/ojb/build.xml
-rw-r--r-- /              2499 2005-11-17 09:18:56 
cocoon-2.1.8/src/blocks/serializers/charsets/build.xml
-rw-r--r-- /              2075 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/admin-build.xml
-rw-r--r-- /              8961 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/compile-build.xml
-rw-r--r-- /              3591 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/dist-build.xml
-rw-r--r-- /              1137 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/docs-build.xml
-rw-r--r-- /              3427 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/ide-build.xml
-rw-r--r-- /              7654 2005-11-17 09:17:49 
cocoon-2.1.8/tools/targets/init-build.xml
-rw-r--r-- /              1462 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/instrumentation-build.xml
-rw-r--r-- /              3074 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/samples-build.xml
-rw-r--r-- /              3061 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/standalone-demo-build.xml
-rw-r--r-- /             12824 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/test-build.xml
-rw-r--r-- /              1524 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/tools-build.xml
-rw-r--r-- /             11333 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/upgrade-build.xml
-rw-r--r-- /              4651 2005-11-17 09:17:49 
cocoon-2.1.8/tools/targets/validate-build.xml
-rw-r--r-- /              6305 2005-11-17 09:17:50 
cocoon-2.1.8/tools/targets/webapp-build.xml

and if you want to check your downloaded file:
$ md5sum cocoon-2.1.8-src.tar.gz
98ecb00c42ed41525cb6f098eacf76e5  cocoon-2.1.8-src.tar.gz

-Bertrand