Denis,
The projects in Wicket stuff are meant to create component jars (except
the wicket-stuff project itself, which is a site generation project).
There is work going on creating new distributions for each project, but
that will take some time, as there are many projects and development on
them continues (hibernate3, databinding packages).
So in the case of velocity panel, you'd run 'maven jar' and find a few
seconds later a wicket-contrib-velocity-1.0.jar file in the target
directory. This you can use in your own projects.
If you open the project in your IDE, then you can run the example(s)
(which is the war type of thingy for) specific for that project. Maven
typically supports only one artifact per project, so creating a war of
this jar type of project is probably doomed. :-|
We are happy to hear better strategies for implementing these projects.
Our main reasons for the current structure are that
o each project should be independend as far as possible,
o each project should create its own section on the web
o each project is maintained by someone with high interest in keeping
it alive/progressing it, IT COULD BE YOU!
o one huge examples project would be a maintenance nightmare, think for
instance about showing both hibernate2 and hibernate3 components in one
project -> so each project has its own examples interwoven into it.
Martijn
Denis Haskin wrote:
For those of us wicket/maven neophytes, can someone give some quick
tips on how to bulid & run one or more of the items in wicket-stuff?
I'd be happy to add it to the wiki if you do <grin>
I got wicket-contrib-velocity by using the maven command given at
http://wicket-stuff.sourceforge.net/cvs-usage.html:
maven scm:checkout-project -Dmaven.scm.method=cvs
-Dmaven.scm.cvs.module=wicket-stuff
-Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff
-Dmaven.scm.checkout.dir=.
That only got me the wicket-stuff module, which I then ran maven on
but it didn't seem to build much.
So then I tried pulling wicket-contrib-velocity (the one I'm mainly
interested in) by doing a similar maven scm command but with
module=wicket-contrib-velocity
I then built that by saying 'maven', it built me a war file in
target... I then ran that with maven jetty:run-war, but the war file
doesn't have the web.xml in it (althouhg there is one in this project).
Is that just an error? Any recommendations? I'm not really up to
speed on maven, so I may be missing something obvious.
Thanks,
dwh
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user