Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 11034 invoked by uid 500); 14 Mar 2002 17:01:19 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 10950 invoked from network); 14 Mar 2002 17:01:18 -0000 From: "Moritz Petersen" To: , "Nicola Ken Barozzi" Subject: RE: newbie: how to get a clean application Date: Thu, 14 Mar 2002 18:03:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <007f01c1cb47$ec2c0930$670004c0@PC103> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N thank you all for your replies. unfortunately, it doesn't work that smooth. if i run ant installwar i get the error message: Q:\home\Moritz\development\apache.org\cocoon-2.0.1-src\cocoon-2.0.1\build.xm l:264: Could not create task of type: user-input. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant installation (ANT_HOME). ----------------------------------- ok, i don't have the user-input optionals (using ant 1.4.1). so i comment it out and set install.war to build/mycocoon but then running ant installwar again, i get the error message: generate-java-code: [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [style] java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory [style] at org.apache.tools.ant.taskdefs.optional.XalanLiaison.(XalanLiaison.java :82) [style] at java.lang.Class.newInstance0(Native Method) [style] at java.lang.Class.newInstance(Class.java:237) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java: 278) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:406) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:266) [style] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.Project.executeTargets(Project.java:560) [style] at org.apache.tools.ant.Main.runBuild(Main.java:454) [style] at org.apache.tools.ant.Main.start(Main.java:153) [style] at org.apache.tools.ant.Main.main(Main.java:176) [style] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [style] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.(XslpLiaison.java:7 7) [style] at java.lang.Class.newInstance0(Native Method) [style] at java.lang.Class.newInstance(Class.java:237) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java: 274) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:403) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:266) [style] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.Project.executeTargets(Project.java:560) [style] at org.apache.tools.ant.Main.runBuild(Main.java:454) [style] at org.apache.tools.ant.Main.start(Main.java:153) [style] at org.apache.tools.ant.Main.main(Main.java:176) --------------------------------------------- what's what i wouldn't call a well-prepared build file. anyways, i keep on trying; any help will be very welcome, though! cheers, moritz. > -----Original Message----- > From: Nicola Ken Barozzi [mailto:nicolaken@apache.org] > Sent: Thursday, March 14, 2002 12:04 PM > To: cocoon-users@xml.apache.org > Subject: Re: newbie: how to get a clean application > > > From: "Vadim Gritsenko" > > > > From: Moritz Petersen [mailto:devmaillist@pnpconsult.com] > > > > > > hi list, > > > > > > i'm quite a newbie to cocoon. the last few hours, i've spent removing > > .jar > > > files, pipelines etc. from the original cocoon configuration. > > > my goal is to build a thin cocoon application, which renders xml to > > svg to > > > png. so all the database stuff, the searching abilities, the hello > > world > > > pipelines etc. are not used by my application. > > > is there a clean cocoon template anywhere, > > > > http://sourceforge.net/projects/chello > > Next release of Cocoon will have an improved war, that can be cleaned by > just a directory that contains the samples. > It should suit your needs :-) > > > > or how do i know, which jars and > > > > http://xml.apache.org/cocoon/installing/jars.html > > > > > other configuration settings are necessary for my application? > > > > All the necessary configuration is created automatically by the Ant > > build script. Just remove all the jars from the lib/optional which you > > do not want/need, and do "build clean; build -Dinclude.webapp.libs=yes > > webapp". > > Or more easily (new build targets): > build clean > build installwar > > > > one example: while the documentation says the maybeupload jar is _not_ > > > required, cocoon throws an exception without it. > > > > Have you build cocoon after removing the jar as described above? > > And also remember, as dad Vadim keeps repeating at every occasion ;-) , to > do a build clean and deleting the work directory of the webapp comtainer. > > -- > Nicola Ken Barozzi nicolaken@apache.org > - verba volant, scripta manent - > (discussions get forgotten, just code remains) > --------------------------------------------------------------------- > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: