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.<init>(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.<init>(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:[EMAIL PROTECTED]]
> Sent: Thursday, March 14, 2002 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: newbie: how to get a clean application
>
>
> From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
>
> > > From: Moritz Petersen [mailto:[EMAIL PROTECTED]]
> > >
> > > 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                   [EMAIL PROTECTED]
>             - 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. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


---------------------------------------------------------------------
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]>

Reply via email to