Upayavira,

Thanks for the push in the right direction. I had a <cr><lf> problem
with tools/bin/ant.bat and other batch files. I converted the files
from Unix format to Windows format and the build progresses, with the
output included at the end of the note. Now I get a build directory,
but when I try to run "cocoon servlet", it complains that there's no
webapp directory under the build directory. There's also no WAR file
generated.

I'm going to keep poking, but I wanted to give you an update.

Thanks,
John

+++++++++++++++++++++++++++++++++++++++++

C:\cocoon-2.1.3>build
Using Java from C:\java\j2sdk1.4.2_03
HOME =
Buildfile: build.xml

init-tasks:
Created dir: C:\cocoon-2.1.3\tools\anttasks
Compiling 2 source files to C:\cocoon-2.1.3\tools\anttasks
Created dir: C:\cocoon-2.1.3\tools\loader
Compiling 1 source file to C:\cocoon-2.1.3\tools\loader

prepare:
+-----------------------------------------------------------+
             Apache Cocoon 2.1.3 [1999-2003]
+-----------------------------------------------------------+
 Building with Apache Ant version 1.5.4 compiled on August 12 2003
 using build file C:\cocoon-2.1.3\build.xml
 Compiling with debug on, optimize on, deprecation off
+--------------------| W A R N I N G |----------------------+
   This build is targeted for use with JVM 1.4
 Using this build on a virtual machine other than the one
   it is targeted for may result in runtime errors.
+-----------------------------------------------------------+
Created dir: C:\cocoon-2.1.3\build\cocoon-2.1.3

compile-core:
Copying 40 files to C:\cocoon-2.1.3\build\cocoon-2.1.3\classes
Copied 34 empty directories to
C:\cocoon-2.1.3\build\cocoon-2.1.3\classes
Created dir: C:\cocoon-2.1.3\build\cocoon-2.1.3\mocks
Compiling 1 source file to C:\cocoon-2.1.3\build\cocoon-2.1.3\mocks
Compiling 555 source files to
C:\cocoon-2.1.3\build\cocoon-2.1.3\classes

compile-deprecated:
Created dir: C:\cocoon-2.1.3\build\cocoon-2.1.3\deprecated
Processing: C:\cocoon-2.1.3\src\deprecated\conf\deprecated.xroles
Writing:
C:\cocoon-2.1.3\build\cocoon-2.1.3\classes\org\apache\cocoon\cocoon.rol
es
Compiling 58 source files to
C:\cocoon-2.1.3\build\cocoon-2.1.3\deprecated
C:\cocoon-2.1.3>

+++++++++++++++++++++++++++++++++++++++++++++

--- Upayavira <[EMAIL PROTECTED]> wrote:
> John Walsh wrote:
> 
> >Greetings,
> >
> >I've downloaded cocoon 2.1.3 onto a Windows 98 box running JDK
> >1.4.1_06. When I try to run build.bat, I get the following result:
> >
> >C:\cocoon-2.1.3>build
> >Using Java from c:\java\j2sdk1.4.1_06
> >OFF
> >
> >I get the same results with JDK 1.4.2_03:
> >
> >C:\cocoon-2.1.3>build
> >Using Java from C:\java\j2sdk1.4.2_03
> >OFF
> >
> >The lines print immediately and I'm back at the DOS prompt. No
> webapps
> >directory is generated.
> >
> >Has anyone experienced this? I've redownloaded and unzipped cocoon.
> >I've rebooted the PC. I removed Ant from my path environment
> variable.
> >I cleared the ANT_HOME environment variable. None of these changes
> >helped. Any pointers would be appreciated.
> >
> >Thanks,
> >John
> >  
> >
> Can you edit the build.bat file, and remove the @echo off line from
> the 
> beginning. Then rerun it, and tell us what happens.
> 
> Regards, Upayavira
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Reply via email to