Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 36788 invoked from network); 10 Feb 2005 14:17:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Feb 2005 14:17:57 -0000 Received: (qmail 90524 invoked by uid 500); 10 Feb 2005 14:17:46 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 90479 invoked by uid 500); 10 Feb 2005 14:17:46 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 90460 invoked by uid 99); 10 Feb 2005 14:17:46 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO ivmail2.fcc.es) (195.235.176.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 10 Feb 2005 06:17:43 -0800 Received: from fcccorreo1.sg.gr.fcc.es ([10.1.1.190]) by ivmail2.fcc.es with InterScan Messaging Security Suite; Thu, 10 Feb 2005 15:17:39 +0100 Received: from BLEXC1.sg.gr.fcc.es ([10.1.90.7]) by fcccorreo1.sg.gr.fcc.es with Microsoft SMTPSVC(5.0.2195.6713); Thu, 10 Feb 2005 15:17:38 +0100 Subject: RE: Development Env' - Cocoon, Eclipse and Tomcat - Newbie question MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C50F7B.46001698" Date: Thu, 10 Feb 2005 15:17:37 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Development Env' - Cocoon, Eclipse and Tomcat - Newbie question Thread-Index: AcUOvL+rBNZTRyBKTP+uN9HWjhpiPQAuYxEgAACPsbAAAHsccA== From: "Perez Carmona, David" To: X-OriginalArrivalTime: 10 Feb 2005 14:17:38.0010 (UTC) FILETIME=[4605B3A0:01C50F7B] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C50F7B.46001698 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable See my answers below, =0D _____ =0D De: Elad Messing [mailto:elad.messing@gmail.com]=0D Enviado el: jueves, 10 de febrero de 2005 15:11 Para: Perez Carmona, David Asunto: AW: Development Env' - Cocoon, Eclipse and Tomcat - Newbie question =0D Dear David Sorry for writing in private, but I do not want to clutter the mailing= list. [David] I think it is better to use the mailing list, other users, that= may have the same problem, will benefit also. I seem to miss something. Let me repeat the steps I think you meant in= your reply : =0D 1. From the cocoon dist, compile the source. 2. Now I have the build directory with the examples, doc and all. 3. Add a new Tomcat Project in Eclipse. 4. link all the jars in the Coccon_Build\WEB-INF\LIB to the Eclipse new= project's class-path. =0D Opened questions : 1. As Eclipse already create a "WEB-INF\SRC" directory - what should I= do in your step 2 ? [David]The WEB-INF/src and WEB-INF/classes folders are just for code in= custom components. 2. As Eclipse compile all sources in "WEB-INF\SRC" directory into a= "WEB-INF\CLASSES" directory - what should I do in your step 3 ? 3. What about the web.xml, the xmap and conf files that are compiled in= the "Coccon_Build\WEB-INF" directory ? are they not needed ? [David] Of course they are needed. Cocoon is a regular servlet app and= any servlet needs a web.xml file. Look at the servlet specification,= specially its directory structure, it is quite simple Sorry for my ignorance in the matter :) =0D [David] If you are using Java 1.4, put in tomcat/common/endorsed/ the= following files provided with Cocoon: 1. xalan*.jar 2. xerces*.jar 3. xml-apis.jar =0D Elad =0D _____ =0D Von: Perez Carmona, David [mailto:DPerezCar@fcc.es]=0D Gesendet: Donnerstag, 10. Februar 2005 14:45 An: users@cocoon.apache.org Betreff: RE: Development Env' - Cocoon, Eclipse and Tomcat - Newbie= question Hi, I have managed to use Cocoon 2.1.x under Eclipse 2 and Eclipse 3, with= Tomcat and the Sysdeo plugin, I haven't done anything special, just=0D 1. adding WEB-INF/lib/*.jar to the CLASSPATH,=0D 2. set the source files in WEB-INF/src and=0D 3. the output folder to WEB-INF/classes. Maybe you have misconfigured the Sysdeo plugin. _____ =0D De: Elad Messing [mailto:elad.messing@gmail.com]=0D Enviado el: mi=E9rcoles, 09 de febrero de 2005 16:34 Para: users@cocoon.apache.org Asunto: Development Env' - Cocoon, Eclipse and Tomcat - Newbie question =0D Hello again ! After reading a bit about cocoon, while looking for a framework for= a multi-profile (client profiles) web application framework, I have= decided to delve deeper into Cocoon. =0D BUT (there is always a but) I am bugging you to understand better how I should build my= environment. I would like to use Tomcat. This I managed to do. I have build= Cocoon and copied the directory to my Tomcat's "webapps" directory. All= the examples works. Now I would like to develop - for this I use Eclipse. When I need= to develop on tomcat - I use the "Sysdeo" Plugin - this allows me to= develop, deploy and debug my code my local Tomcat. Good. Now Cocoon.=0D Usually when I develop code with a framework (I.E. Tapestry) - I= add a new "Tomcat project" , add some framework libraries/resource= files/etc to my Eclipse project, add some of my own application code,= compile, and using the Plugin - connect it to Tomcat running in Eclipse -= for testing. When I went through the Eclipse related documentation for cocoon -= I saw some notes about building it under Eclipse, but failed to really= understand what is needed to build an Eclipse environment to develop= cocoon based applications. I have already built cocoon (outside Eclipse),= and now have the binaries. Now what ? I have went through the following resources : 1. http://wiki.apache.org/cocoon/LoadInEclipse= - Where I managed to import= all of the cocoon source into an Eclipse project. Not sure this is= needed.... 2. http://wiki.apache.org/cocoon/GetStarted?action= =3Dhighlight&value=3Declipse= - Where I tuned my "Sysdeo" Plugin to work with my Tomcat, and= also installed some XML related plugins. 3. http://marc.theaimsgroup.com/?l=3Dxml-cocoon-users&m= =3D105472994930132&w=3D2 - Where I didn't understood= where to start. =0D So basically my question is : What steps should I follow in order= to have an Eclipse project, with the needed libraries/files/etc where I= can add my own application files, and use the Eclipse-Tomcat Plugin to= have it running in Tomcat in a way that I can also debug it. It looks like I might be missing something big here - So any help= will be appreciated.. =0D Thanks =0D Elad Messing ************************************************************* Este correo ha sido procesado por el Antivirus del Grupo FCC. ************************************************************* =0D ************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC. ************************************************************* =0D ************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC. ************************************************************* =0D ************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC. ************************************************************* ------_=_NextPart_001_01C50F7B.46001698 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Development Env' - Cocoon, Eclipse and Tomcat - Newbie= question

See my answers below,

 


De: Elad= Messing [mailto:elad.messing@gmail.com]
Enviado el: jueves, 10 de= febrero de 2005 15:11
Para: Perez Carmona,= David
Asunto: AW: Development Env'= - Cocoon, Eclipse and Tomcat - Newbie question

 

Dear= David

    Sorry for writing= in private, but I do not want to clutter the mailing= list.

 [David] I think it is better= to use the mailing list, other users, that may have the same problem, will= benefit also.

   = I seem to miss something. Let me repeat the steps I think you= meant in your reply :

 

    1. From the cocoon dist, compile the source.

    2. Now I have the= build directory with the examples, doc and all.

    3. Add a new Tomcat Project in Eclipse.

    4. link all the= jars in the Coccon_Build\WEB-INF\LIB to the Eclipse new project's= class-path.

 

    Opened questions= :

   = 1. As Eclipse already create a "WEB-INF\SRC" directory - what should I= do in your step 2 ?

[David]The WEB-INF/src= and WEB-INF/classes= folders are just for code in custom components.

   = 2. As Eclipse compile all sources in "WEB-INF\SRC" directory into a "WEB-INF\CLASSES" directory - what should I do in your step 3= ?

   = 3. What about the web.xml, the xmap and conf files that are compiled in the "Coccon_Build\WEB-INF" directory ? are they not needed ?

 [David] Of course they are needed. = =A0Cocoon is a regular servlet app and any servlet needs a web.xml file. =A0Look at the= servlet specification, specially its directory structure, it is quite= simple

   = Sorry for my ignorance in the matter= :)

 

[David] If you are using Java 1.4, put in= tomcat/common/endorsed/ the following files provided with= Cocoon:

  1. xalan*.jar
  2. xerces*.jar
  3. xml-apis.jar

 

Elad

 


Von: Perez Carmona, David [mailto:DPerezCar@fcc.es]
Gesendet: Donnerstag, 10.= Februar 2005 14:45
An:= users@cocoon.apache.org
Betreff: RE: Development= Env' - Cocoon, Eclipse and Tomcat - Newbie question

Hi,=

I= have managed to use Cocoon 2.1.x under Eclipse 2 and Eclipse 3, with Tomcat and= the Sysdeo plugin, I haven’t done anything special, just=

1.   adding WEB-INF/lib/*.jar to the CLASSPATH,=

2.   set the= source files in WEB-INF/src and=

3.   the output folder to WEB-INF/classes.

Maybe you have misconfigured the Sysdeo= plugin.


De: Elad= Messing [mailto:elad.messing@gmail.com]
Enviado el: mi=E9rcoles, 09= de febrero de 2005 16:34
Para:= users@cocoon.apache.org
Asunto: Development Env' -= Cocoon, Eclipse and Tomcat - Newbie question

 

Hello again !

        After reading a bit about cocoon, while looking for a framework for= a multi-profile (client profiles) web application framework, I have decided= to delve deeper into Cocoon.

       

        BUT (there is always a but)

        I am bugging you to understand better how I should build my= environment.

        I would like to use Tomcat. This I managed to do. I have build= Cocoon and copied the directory to my Tomcat's "webapps" directory. All the examples works.

        Now I would like to develop - for this I use Eclipse.= When I need to develop on tomcat - I use the "Sysdeo" Plugin - this= allows me to develop, deploy and debug my code my local= Tomcat.

        Good.

        Now Cocoon.

        Usually when I develop code with a framework (I.E.= Tapestry) - I add a new "Tomcat project" , add some framework libraries/resource files/etc to my Eclipse project, add some of my own application code, compile, and using the Plugin - connect it to Tomcat= running in Eclipse - for testing.

        When I went through the Eclipse related documentation= for cocoon - I saw some notes about building it under Eclipse, but failed to= really understand what is needed to build an Eclipse environment to develop cocoon based applications. I have already built cocoon (outside Eclipse), and now= have the binaries. Now what ?

        I have went through the following resources= :

        1. http://wiki.apache.org/cocoon/LoadI= nEclipse - Where I managed to import all of the cocoon source into an Eclipse project.= Not sure this is needed….

        2. http://wiki.apache.org/cocoon/GetSt= arted?action=3Dhighlight&value=3Declipse - Where I tuned my "Sysdeo" Plugin to work with my Tomcat, and also installed some XML related plugins.

        3. http://marc.theaimsgroup.com/?l= =3Dxml-cocoon-users&m=3D105472994930132&w= =3D2 - Where I didn't understood where to start.

 

        So basically my question is : What steps should I follow= in order to have an Eclipse project, with the needed libraries/files/etc where= I can add my own application files, and use the Eclipse-Tomcat Plugin to have= it running in Tomcat in a way that I can also debug= it.

        It looks like I might be missing something big here - So= any help will be appreciated..

 

        Thanks

 

Elad Messing

*****************************************= ********************
Este correo ha sido procesado por el Antivirus del Grupo FCC.
= *************************************************************

 

*****************************************= ********************
Este correo ha sido procesado por el antivirus del Grupo FCC.
= *************************************************************

 

************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************
************************************************************* Este correo ha sido procesado por el antivirus del Grupo FCC.
*************************************************************
------_=_NextPart_001_01C50F7B.46001698--