The following worked.

$ mvn install 

How do I run the Start class?

I tried the following, but I get a class not found error. Usually, I have run
classes inside the src/java area, but not in src/test .

$ cd example
$ mvn exec:java -Dexec.mainClass="org.wicketopia.example.web.util.Start"

brian

On Fri, Jan 20, 2012 at 06:14:24PM -0500, James Carman wrote:
> Run mvn install from the top-level directory.
> 
> Then, in the example webapp project, there is a class called Start:
> 
> https://github.com/jwcarman/Wicketopia/blob/master/example/src/test/java/org/wicketopia/example/web/util/Start.java
> 
> Run that.  Good luck!
> 
> On Thu, Jan 19, 2012 at 5:35 PM, Brian Lavender <br...@brie.com> wrote:
> > James,
> >
> > I cloned the repository.
> >
> > $ git clone https://github.com/jwcarman/Wicketopia.git
> > $ cd Wicketopia
> > $ mvn eclipse:eclipse
> >
> > a few errors including the below error.
> >
> > [ERROR] Failed to execute goal on project wicketopia-persistence: Could not 
> > resolve dependencies for project 
> > org.wicketopia:wicketopia-persistence:jar:1.0-SNAPSHOT: Could not find 
> > artifact org.wicketopia:wicketopia:jar:1.0-20110328.173826-2 in 
> > sonatype-nexus-snapshots 
> > (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
> > [ERROR]
> >
> > Imported it into Eclipse.
> >
> > Which test case do I run?
> >
> > I tried changing into the example directory and doing a "mvn 
> > eclipse:eclipse" too, but it gave the below error.
> >
> > [ERROR] Failed to execute goal on project wicketopia-example: Could not 
> > resolve dependencies for project 
> > org.wicketopia:wicketopia-example:war:1.0-SNAPSHOT: The following artifacts 
> > could not be resolved: org.wicketopia:wicketopia:jar:1.0-SNAPSHOT, 
> > org.wicketopia:wicketopia-joda:jar:1.0-SNAPSHOT, 
> > org.wicketopia:wicketopia-cdi-weld:jar:1.0-SNAPSHOT, 
> > org.wicketopia:wicketopia-spring-security:jar:1.0-SNAPSHOT, 
> > org.wicketopia:wicketopia-hibernate:jar:1.0-SNAPSHOT, 
> > org.wicketopia:wicketopia:jar:tests:1.0-SNAPSHOT: Failure to find 
> > org.wicketopia:wicketopia:jar:1.0-20110328.173826-2 in 
> > https://oss.sonatype.org/content/repositories/snapshots was cached in the 
> > local repository, resolution will not be reattempted until the update 
> > interval of sonatype-nexus-snapshots has elapsed or updates are forced -> 
> > [Help 1]
> >
> >
> > brian
> >
> > On Wed, Jan 18, 2012 at 06:58:08AM -0500, James Carman wrote:
> >> Either way, you can open it in your IDE and run the jetty test server
> >> that's included.  That's how I run it usually so that I can easily
> >> debug and play around.
> >>
> >> On Wed, Jan 18, 2012 at 6:57 AM, James Carman
> >> <ja...@carmanconsulting.com> wrote:
> >> > I don't know if the plugin is turned on for the example application.
> >> > But, you'd need to make sure you are in the example module before you
> >> > try.
> >> >
> >> > On Wed, Jan 18, 2012 at 1:15 AM, Brian Lavender <br...@brie.com> wrote:
> >> >> On Sun, Jan 15, 2012 at 12:36:48PM +0200, Martin Grigorov wrote:
> >> >>> See https://github.com/jwcarman/Wicketopia
> >> >>
> >> >> Maybe I missed something, but I wasn't able to do a
> >> >>
> >> >> mvn jetty:run
> >> >>
> >> >> or did the war package run after generating a war file.
> >> >>
> >> >> brian
> >> >> --
> >> >> Brian Lavender
> >> >> http://www.brie.com/brian/
> >> >>
> >> >> "There are two ways of constructing a software design. One way is to
> >> >> make it so simple that there are obviously no deficiencies. And the 
> >> >> other
> >> >> way is to make it so complicated that there are no obvious 
> >> >> deficiencies."
> >> >>
> >> >> Professor C. A. R. Hoare
> >> >> The 1980 Turing award lecture
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >
> > --
> > Brian Lavender
> > http://www.brie.com/brian/
> >
> > "There are two ways of constructing a software design. One way is to
> > make it so simple that there are obviously no deficiencies. And the other
> > way is to make it so complicated that there are no obvious deficiencies."
> >
> > Professor C. A. R. Hoare
> > The 1980 Turing award lecture
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to