You should use the build file provided with the cocoon 2.0 srcs,build.xml.This file has all the instructions in order to generate cocoon.war.Do not use the cocoon project that comes with JB,create your own empty project.
Gustavo -----Mensagem original----- De: Wap Brunei [mailto:[EMAIL PROTECTED]] Enviada em: sábado, 12 de janeiro de 2002 00:51 Para: [EMAIL PROTECTED] Assunto: Re: RES: JBuilder Cocoon2 I have downland and installed the AntRunner configure to JB5. I always start the cocoon by a right click on the mouse and Cocoon Run. It seem like JB5 still using 1.8 to build. Then i Run Ant to build the application. it has an error message. i have configure Ant to use the build.xml which i original download from www.apache.com. Should i create my own build.xml and how? >From: "Gustavo Fernandes" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RES: JBuilder Cocoon2 >Date: Fri, 11 Jan 2002 11:30:10 -0200 > > >You can use AntRunner to build your project instead of JB default buld >tool(http://antrunner.sourceforge.net/).AntRunner is a JB´s open tool,wich >integrates Ant to the JB IDE.You should create a project containing the >cocoon sources,include an Ant build file (xml) ,and specify the deploy >dir.Then with a single command,you can run Ant from inside JBuilder,and see >its output in a window below the code window >In order to JB recognize .xmap and .xconf files as xml (and thus providing >all the JB´s xml built-in facilities for these files),you should add the >following lines to the user.properties file in the JBuilder dir : > >file.types;custom.xmap=xml/properties >file.types;custom.xconf=xml/properties > >These hints are for Cocoon 2.0 deployed in JBoss 5 Enterprise and windows >2000. > >Feel free to contact me if you have any doubts > >Gustavo > > > > >-----Mensagem original----- >De: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] >Enviada em: sexta-feira, 11 de janeiro de 2002 06:36 >Para: [EMAIL PROTECTED] >Assunto: Re: JBuilder Cocoon2 > > > >----- Original Message ----- >From: "Wap Brunei" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, January 11, 2002 3:15 AM >Subject: JBuilder Cocoon2 > > > > Could anyone tell me how to setup Cocoon2 in JBuilder5 and JBuilder5 do >not > > include .xmap and xconf file. Can i just drop the cocoon.war generated >by > > JBuilder5 to work with Tomcat 4.0? > >JBuilder doesn't copy files that it doesn't recognize as important to the >build in the build dir. >Maybe adding the xmap and xconf file types to the config of JBuilder should >do it. >Look at the JBuilder community faqs in the www.borland.com site to have >more >insight on this. > >-- >Nicola Ken Barozzi [EMAIL PROTECTED] > >These are the days of miracle and wonder... > ...so don't cry baby, don't cry... > Paul Simon > > >--------------------------------------------------------------------- >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: <[EMAIL PROTECTED]> >For additional commands, e-mail: <[EMAIL PROTECTED]> > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>