cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Huttar" <lars_hut...@sil.org>
Subject cocoon build: files in src/targets "could not be found"
Date Mon, 13 Oct 2003 19:23:08 GMT
Hi all,
I've just built Cocoon 2.1.2 on a Windows XP machine.
(I'm using a cygwin bash shell, in case that's relevant,
but I don't think it is since I'm running the BAT file.)

I ran the build script as follows:
   .\build.bat war
in the directory
   c:\Documents and Settings\Lars\My Documents\work\cocoon-2.1.2


I got the following messages:

------------------------begin-----------------------
Using Java from C:/lib/java/j2sdk1.4.1_03
Buildfile: build.xml
c:\Documents%20and%20Settings\Lars\My%20Documents\work\cocoon-2.1.2\src\targets\
init-build.xml could not be found
c:\Documents%20and%20Settings\Lars\My%20Documents\work\cocoon-2.1.2\src\targets\
compile-build.xml could not be found
etc.
(same with validate-build.xml, samples-build.xml, ...)
prepare:
...
------------------------end-----------------------

However, the build appeared to work successfully.

I wondered if the fact that I had spaces in the directory
path was a problem, though it shouldn't be. 
But at later points in the build process, similar paths
were processed without problems:

------------------------begin-----------------------
Copied 36 empty directories to C:\Documents and Settings\Lars\My Documents\work\
cocoon-2.1.2\build\cocoon-2.1.2\classes
Created dir: C:\Documents and Settings\Lars\My Documents\work\cocoon-2.1.2\build
\cocoon-2.1.2\mocks
Compiling 1 source file to C:\Documents and Settings\Lars\My Documents\work\coco
on-2.1.2\build\cocoon-2.1.2\mocks
Compiling 543 source files to C:\Documents and Settings\Lars\My Documents\work\c
ocoon-2.1.2\build\cocoon-2.1.2\classes
------------------------end-----------------------

Some of them even used %20 (but also forward-slash):
------------------------begin-----------------------
C:/Documents%20and%20Settings/Lars/My%20Documents/work/cocoon-2.1.2/tools/src/ch
eck-jars.xsl:75:37: Warning!
  [WARN] Poor filename for file ojb/lib/commons-pool.jar
  Please add version number or datestamp.
------------------------end-----------------------


So, I guess this isn't a big deal, as the build seemed to
work OK, but maybe the build process needs some attention
with regard to Windows machines, if it's ignoring files in
src/targets.

Regards,
Lars




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


Mime
View raw message