You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by rjain15 <rj...@yahoo.com> on 2013/06/06 21:17:49 UTC
Quick Start - Project not created
Hi
I am newbie to Apache Wicket .. sorry about a very basic question.
As per the quick start guide
http://wicket.apache.org/start/quickstart.html
If I try to execute the following command
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0
-DgroupId=example -DartifactId=test
-DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false
I expect wicket to create the directory structure.
If I execute it from say C:\tmp , nothing gets created and mvn exits saying
unable to find pom.xml
If I execute it from C:\apache-wicket (which is where I have installed
wicket) it creates the folder
If I execute it from C:\apache-wicket\archetypes\ -- again same issue,
nothing gets created.
So my very basic/newbie question is , do I have to exceute this command from
the place where I have installed Wicket.
I am just following the instructions on the quick start website, and it
doesn't tell me where to execute this from.
Or do I need to include the wicket jar files in classpath?
Thanks,
Rajesh
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Quick-Start-Project-not-created-tp4659258.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Quick Start - Project not created
Posted by Paul Bors <pa...@bors.ws>.
Forgot to mention, the default TCP/IP port of your web-app when you use the
Jetty MOJO (http://mojo.codehaus.org/jetty-maven-plugin/usage.html) is 8080
unless you changed it.
Thus the URL to load in your browser is http://localhost:8080
You should get familiar with the Maven build system at:
http://maven.apache.org/
I recommend you also read the free "Wicket user guide":
http://wicket.apache.org/learn/books/
~ Thank you,
Paul Bors
-----Original Message-----
From: Paul Bors [mailto:paul@bors.ws]
Sent: Thursday, June 06, 2013 4:25 PM
To: users@wicket.apache.org
Subject: RE: Quick Start - Project not created
c:\src>mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0
-DgroupId=com.example -DartifactId=wicket-webapp -DinteractiveMode=false
c:\src>cd wicket-webapp
c:\src\wicket-webapp>mvn eclipse:eclipse
Then open your eclipse and import the project from "c:\src\wicket-webapp"
where wicket-webapp is your artifactId.
You should have a package called com.example. To run the quick start:
c:\src\wicket-webapp>mvn jetty:run
Then load the URL in your browser.
~ Thank you,
Paul Bors
-----Original Message-----
From: rjain15 [mailto:rjain15@yahoo.com]
Sent: Thursday, June 06, 2013 3:18 PM
To: users@wicket.apache.org
Subject: Quick Start - Project not created
Hi
I am newbie to Apache Wicket .. sorry about a very basic question.
As per the quick start guide
http://wicket.apache.org/start/quickstart.html
If I try to execute the following command
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0
-DgroupId=example -DartifactId=test
-DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false
I expect wicket to create the directory structure.
If I execute it from say C:\tmp , nothing gets created and mvn exits saying
unable to find pom.xml
If I execute it from C:\apache-wicket (which is where I have installed
wicket) it creates the folder
If I execute it from C:\apache-wicket\archetypes\ -- again same issue,
nothing gets created.
So my very basic/newbie question is , do I have to exceute this command from
the place where I have installed Wicket.
I am just following the instructions on the quick start website, and it
doesn't tell me where to execute this from.
Or do I need to include the wicket jar files in classpath?
Thanks,
Rajesh
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Quick-Start-Project-not-created-t
p4659258.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
RE: Quick Start - Project not created
Posted by Paul Bors <pa...@bors.ws>.
c:\src>mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0
-DgroupId=com.example -DartifactId=wicket-webapp -DinteractiveMode=false
c:\src>cd wicket-webapp
c:\src\wicket-webapp>mvn eclipse:eclipse
Then open your eclipse and import the project from "c:\src\wicket-webapp"
where wicket-webapp is your artifactId.
You should have a package called com.example. To run the quick start:
c:\src\wicket-webapp>mvn jetty:run
Then load the URL in your browser.
~ Thank you,
Paul Bors
-----Original Message-----
From: rjain15 [mailto:rjain15@yahoo.com]
Sent: Thursday, June 06, 2013 3:18 PM
To: users@wicket.apache.org
Subject: Quick Start - Project not created
Hi
I am newbie to Apache Wicket .. sorry about a very basic question.
As per the quick start guide
http://wicket.apache.org/start/quickstart.html
If I try to execute the following command
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=6.8.0
-DgroupId=example -DartifactId=test
-DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false
I expect wicket to create the directory structure.
If I execute it from say C:\tmp , nothing gets created and mvn exits saying
unable to find pom.xml
If I execute it from C:\apache-wicket (which is where I have installed
wicket) it creates the folder
If I execute it from C:\apache-wicket\archetypes\ -- again same issue,
nothing gets created.
So my very basic/newbie question is , do I have to exceute this command from
the place where I have installed Wicket.
I am just following the instructions on the quick start website, and it
doesn't tell me where to execute this from.
Or do I need to include the wicket jar files in classpath?
Thanks,
Rajesh
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Quick-Start-Project-not-created-t
p4659258.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org