Hello Al.
I worked on some big project where Maven was used(or misused) and form that tme
I refuse to solve Maven troubles so Skipping the Maven stuff as this is nto the
case:
I used to manage dependencies myself and I buil Hello WOrld Application from
scratch. Just Hello World. Until I put velocity-1.4.jar and
velocity-dep-1.4.jar I have got following errors at deploy time.
--------------------
5.9.2007 14:31:37 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter HelloWorldApplication
java.lang.NoClassDefFoundError:
org/apache/commons/collections/ExtendedProperties
at
org.apache.velocity.runtime.RuntimeInstance.(RuntimeInstance.java:160)
at
org.apache.velocity.runtime.RuntimeSingleton.(RuntimeSingleton.java:95)
at org.apache.velocity.app.Velocity.init(Velocity.java:106)
.....
5.9.2007 14:31:38 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter HelloWorldApplication
java.lang.NoClassDefFoundError:
org/apache/commons/collections/ExtendedProperties
at
org.apache.velocity.runtime.RuntimeInstance.(RuntimeInstance.java:160)
at
org.apache.velocity.runtime.RuntimeSingleton.(RuntimeSingleton.java:95)
at org.apache.velocity.app.Velocity.init(Velocity.java:106)
.....
--------------------
So there is sure dependency in Wicket why developer needs to include these two
velocity packages. This is the plus and cons of self managing libraries ... :-)
Sure one can find libraries in examples folder but this is not conceptual
aproach. I need runtime libraries and expect them exactly where they has to be
and not looking for needed libs in examples/demo/tutor directories. There is so
much wicket*.jar duplicated libraries that duplicating log4j and velocity is
minor in package size question. So if you do not want duplicity do not
duplicate even wicket libs, or if you wanrt completness include also libs
needed to be wicket usable out of the box :-)
Robert
----- Originálna Správa -----
Od: Al Maw
Komu:
Poslaná: 05.09.2007 14:56
Predmet: Re: Wicket libraries
> Robo wrote:
> > Why there is no complete distribution of jar`s, needed to run Wicket
> > aplication just \\\"out of the box\\\". it is a little bit boring to find
> > out that I also need to download slf4j and velocity. I uderstand that this
> > info is writen on your page but I would expect just download one tar (zip)
> > unpackit to my classpath write demo and run it.
>
> > Contrary to lib where one would expect them they are included in example`s
> > war.
>
> We give you a ready-to-run WAR file which has all the dependencies for
> the projects.
>
> If we included the JAR files in addition to this, we\'d double the size
> of the download. It\'s an already-sizeable 14.8Mb for the ZIP.
>
> If you use Maven 2, it will manage the dependencies for you. If you
> choose to manage your dependencies manually, then you will obviously
> have some work to do.
>
> > and understand why I need org.apache.velocity packages when I do not use
> > it, is simply confusing me. does Wicket from clear and nice programming go
> > to something unclear and confused?
> >
> > And can someone point me to some link where there is explained why when I
> > develop simple HelloWorld application I need also org.apache.velocity.
>
> You don\'t. You need that for things that use the wicket-velocity
> project. Such as wicket-examples, which has example code for that.
>
> If you want a complete list of dependencies for each project, please
> find it here:
>
> http://herebebeasties.com/static/wicket-dependencies.txt
>
>
> Regards,
>
> Al
> --
> Alastair Maw
> Wicket-biased blog at http://herebebeasties.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
__________
http://kultura.sme.sk/ - Informačný server o kultúre a šoubiznise
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]