[Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Dariusz Wojtas

Hi,

I am trying to try Wicket, but having trouble to build a sample application
using version 1.3.
I know this is still beta, but as there are tons of changes between 1.2.x
and 1.3, I want to start with the new one.

I downloaded the beta2 version, but cannot easily create a starter project.
There is some artifact to build an initial project:
archetypes/quickstart 
but following the archetypes/README.txt file does not work.

I try to build wicket from trunk (just checked out from repository):
   mvn install  (or 'mvn mackage')
but I only get exceptions:

c:\projectsWicket\wicket-trunkmvn package
[INFO] Scanning for projects...
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] Error building POM (may not be this project's POM).
Project ID: org.apache.wicket:wicket-jdk14:pom:null
Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
org.apache.wicket:wicket-jdk14:pom:null for project
org.apache.wicket:wicket-jdk14:pom:null

I tried to search for some tutorial on how to build 1st project in 1.3, but
found none.
Yes, there are many statements how exciting framework it is, but no real
help.

What I need is just the initial info, then all these FAQs, mailing lists,
etc. will be the source of info for me.
But I searched it for info about starting - no info found.
Even the 'quickstart' project
(http://wicket.sourceforge.net/wicket-quickstart) is updated to work with
Wicket 1.2 only.

I know I may look at the examples in 1.3, and build something by hand, copy
all JAR files, etc. But since maven is used in the core of Wicket, why can't
I simply use maven to do that for me? I cannot find info that would work in
READMEs, in wiki, in blogs or in older tutorials (outdated now).

I am using JDK 6.0, maven 2.0.7, eclipse 3.3
Any hint on how to create a simple project, using maven, that will open in
Eclipse?

Best regards
Darek
-- 
View this message in context: 
http://www.nabble.com/wicket-1.3---how-to-start--tf4161649.html#a11840986
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Gwyn Evans
On Saturday, July 28, 2007, 10:28:34 AM, Dariusz [EMAIL PROTECTED] wrote:

 I downloaded the beta2 version, but cannot easily create a starter project.
 There is some artifact to build an initial project:
 archetypes/quickstart 
 but following the archetypes/README.txt file does not work.

What errors are you getting?


 I try to build wicket from trunk (just checked out from repository):
mvn install  (or 'mvn mackage')
 but I only get exceptions:

 c:\projectsWicket\wicket-trunkmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 Project ID: org.apache.wicket:wicket-jdk14:pom:null
 Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
 org.apache.wicket:wicket-jdk14:pom:null for project
 org.apache.wicket:wicket-jdk14:pom:null

That suggests you've only checked out the trunk\wicket sub-folder, not from the
top-level, which is where the wicket-parent pom lives.

 I tried to search for some tutorial on how to build 1st project in 1.3, but
 found none.
 Yes, there are many statements how exciting framework it is, but no real
 help.

Well, you're probably close - it's not really that different from 1.2,
which is why there's nothing standing out as a 1.3-specific startup
guide.

 I know I may look at the examples in 1.3, and build something by hand, copy
 all JAR files, etc. But since maven is used in the core of Wicket, why can't
 I simply use maven to do that for me?

That's what the archetype should do, but you've not told us what issue
you have with that.

/Gwyn
-- 
The Wicket-user@lists.sourceforge.net mailing list is shutting down.
Please subscribe to the Apache Wicket user list. Send a message to:
 users-subscribe at wicket.apache.org and follow the instructions.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 1.3 - how to start?

2007-07-28 Thread Dariusz Wojtas

Thanks for help. I started again but it did not work.
I followed this simple guide and it helped me:
  
http://www.oreillynet.com/onjava/blog/2007/07/wicket_source_to_eclipse_using.html
It told me that I need 'mvn install' first in the root dir.
Seems to work now.
I also looked at the beta3 archive downloaded from apache, copied
wicket-examples outside and this is the base for my little app now. It
compiles, opens in eclipse, creates war file (mvn package), also starts
quickly from eclipse (using jetty - start as Java application on the 'Start'
class).

Another happy starter.

Darek


On Saturday, July 28, 2007, 10:28:34 AM, Dariusz [EMAIL PROTECTED] wrote:

 I downloaded the beta2 version, but cannot easily create a starter
 project.
 There is some artifact to build an initial project:
 archetypes/quickstart 
 but following the archetypes/README.txt file does not work.

What errors are you getting?


 I try to build wicket from trunk (just checked out from repository):
mvn install  (or 'mvn mackage')
 but I only get exceptions:

 c:\projectsWicket\wicket-trunkmvn package
 [INFO] Scanning for projects...
 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] Error building POM (may not be this project's POM).
 Project ID: org.apache.wicket:wicket-jdk14:pom:null
 Reason: Cannot find parent: org.apache.wicket:wicket-parent for project:
 org.apache.wicket:wicket-jdk14:pom:null for project
 org.apache.wicket:wicket-jdk14:pom:null

That suggests you've only checked out the trunk\wicket sub-folder, not from
the
top-level, which is where the wicket-parent pom lives.

 I tried to search for some tutorial on how to build 1st project in 1.3,
 but
 found none.
 Yes, there are many statements how exciting framework it is, but no real
 help.

Well, you're probably close - it's not really that different from 1.2,
which is why there's nothing standing out as a 1.3-specific startup
guide.

 I know I may look at the examples in 1.3, and build something by hand,
 copy
 all JAR files, etc. But since maven is used in the core of Wicket, why
 can't
 I simply use maven to do that for me?

That's what the archetype should do, but you've not told us what issue
you have with that.

/Gwyn
-- 
View this message in context: 
http://www.nabble.com/wicket-1.3---how-to-start--tf4161649.html#a11843934
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache Wicket user 
list. Send a message to: users-subscribe at wicket.apache.org and follow the 
instructions.
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user