Wicket Quickstart

Posted October 7, 2007 by

People seem to have problems getting started with Wicket using the Maven 2 archetype quickstart. In an effort to make this as obvious as possible, I’ve created a screencast showing you how to do it, explaining each step in detail along the way. It’s done from a pretty-much virgin installation, so there are no bits of magic here.

Click on the video image to view the video:
preview image
Alternatively, you can download a DivX 5 AVI here.

– UPDATE –
Wicket 1.3.0 is now out, so you should use that in the versions instead of 1.3.0-beta3 in all those commands. The Wicket web site is the canonical source, as ever.

Post Details

13 Opinions have been expressed on “Wicket Quickstart”. What is your opinion?

  1. purvainais commented:

    Cool screencast, thanks!

    Tough it would be even cooler, if it had some kind of pause/play and forward/rewind controls :)

    Or quicktime download link.

  2. Alastair commented:

    Yeah, working on it. ;-)

  3. JulianS commented:

    Very nice. I would add one thing that I find useful, namely the maven 2 plugin for eclipse.

    - It uses maven to build and package your war
    - You don’t need to worry about M2_REPO
    - You can optionally use it to run your app using jetty:run

    I’ve written about it at:

    http://javathoughts.capesugarbird.com/2007/09/qwicket-maven-and-eclipse.html

    Julian

  4. Antony commented:

    Brilliant! Thanks Alastair, I had been banging my head against a brick wall before I noticed the quickstart README had the wrong archetypeVersion in it (-DarchetypeVersion=1.3.0-SNAPSHOT) and your screencast highlighted that!

    It also very simply showed the simple link between Maven and Eclipse.

    Antony

  5. joseroyjavelosa commented:

    Good job! The best part of this screencast is the detailed explanation of each maven commands used to generate your project.

    My machine is using WindowsXp and im more of a rightClick kind of person.
    Another way to add a path variable for M2_REPO is 1) rightClick your project
    2) select BuildPath >>> Link Source
    3) in the Link Source popUp window press the “Variables” button
    4) another popUp window would appear(Selcet Path Variable) press “New”
    5) Enter “M2_REPO” for the name field then press the folder button to browse for the location ^^

  6. Ed commented:

    When I run “mvn eclipse:eclipse -DdownloadSources” NOTHING happens. Nothing downloads and the “.m2″ directory is not created.

    Any ideas??

  7. Ed commented:

    Ok, figured it out. First of all, the 1.3.1 version didn’t seem to want to work. The 1.3.0 version downloaded fine.

    The “.m2″ directory was my stupidity. It was hidden and “show hidden files” fixed that.

    Sorry!

    Thanks for the great screencast. It helped a lot.

  8. Jonathan Locke commented:

    Nice!

    Would be an even cooler demo now with that new quickstart command line generator.

  9. Frank Silbermann commented:

    What happened to the presentation? I used to be able to view it; now I cannot. When I click on the .AVI and view it in Windows Media Viewer I get the sound, but no picture.

  10. Alastair commented:

    I’ve fixed the embedded flash player.
    If you want to view the downloaded file, you will need to install the DivX codecs. See http://www.divx.com.

Trackbacks/Pingbacks
  1. [...] Here Be Beasties » Wicket Quickstart Para quem Não conhece o Wicket e quiser brincar um pouco. É um screencast rápido sobre o setup inicial do Wicket Quickstart que usa os arquétipos do Maven 2. Simples e efetivo. (tags: wicket maven java screencast) [...]

  2. [...] found a tutorial video here. It is pretty easy to install, maven does almost everything for you but add the M2_REPO location [...]

  3. [...] Existing Projects into Workspace und dort wählen wir das Projektverzeichnis aus. Ganz so, wie im Screencast von Alastair Maw. Da das Projekt dann noch viele Fehler aufweist, gehen wir in Window > Preferences > Java [...]

Leave a Reply