You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by marco <th...@gmx.net> on 2001/09/13 13:37:07 UTC

Re[2]: Cocoon2 problem

Hello Enric,

Wednesday, September 12, 2001, 3:23:59 PM, you wrote:

ES> Rafa, nosotros los solucionamos así (translation: Rafa, we solved it like
ES> this):


ES> 1. Edit the ant file with joe (We're using Linux RedHat 7.0)
ES> 2. Delete the blank between #! and /bin/sh
ES> 3. If you see an underlined M at the end of each line...delete it
ES> 4. Save and execute

ES> Good Luck!

ES> Enric
ES> BCN


ES> -----Mensaje original-----
ES> De: root@www.mizarworks.com [mailto:root@www.mizarworks.com]En nombre de
ES> Rafa Granados
ES> Enviado el: miércoles, 12 de septiembre de 2001 14:01
ES> Para: cocoon-users@xml.apache.org
ES> Asunto: Cocoon2 problem


ES> Hi all,

>>I´m installing Cocoon2. I´ve already installed Tomcat 3.3 + Apache
ES> (under
>>Redhat 7.0) and they work properly.

>>Problems emerge when I try to generate the Cocoon.war.
>>I´ve established the environment variables:
>>             JAVA_HOME=/usr/java/jdk1.3.1
>>             TOMCAT_HOME=/usr/local/jakarta-tomcat-3.3-b2
>>
>>I´ve introduced in the PATH  /usr/java/jdk1.3.1/bin
>>...but when I try to run the command:
>>
>>. /build.sh -Dinclude.webapp.libs=yes
>>-Dinstall.war=/usr/local/jakarta-tomcat-3.3-b2/webapps install
>>
>>the following error appears:
>>
>>/usr/local/xml-cocoon2/bin/ant: /usr/java/jdk1.3.1/bin/java: This file
ES> or
>>directory doesn´t exist.


>>However, the java file is recognised (concretely, this is a symbolic
ES> link
>>to the file .java_wrapper).
>>
>>I don´t know where is the error. Please, help me.
>>
>>Best regards.

ES> Rafa Granados.





ES> ---------------------------------------------------------------------
ES> Please check that your question has not already been answered in the
ES> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

ES> To unsubscribe, e-mail: <co...@xml.apache.org>
ES> For additional commands, e-mail: <co...@xml.apache.org>


ES> ---------------------------------------------------------------------
ES> Please check that your question has not already been answered in the
ES> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

ES> To unsubscribe, e-mail: <co...@xml.apache.org>
ES> For additional commands, e-mail: <co...@xml.apache.org>

another way: use the tool dos2unix on the ant files.


-- 
Best regards,
 marco                            mailto:thopter@gmx.net



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>