You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by sam wun <sw...@gmx.com> on 2008/08/18 15:08:16 UTC
simple online order form
Hi,
I want to build a simple online order with Struts, eclipse, and tomcat
(mysql database).
Is there any example/tutorial I can follow to create this simple project?
I found many tutorials are based on MyEclipse, but I am using Elcipse 3.4.
Thank you in advance.
Re: Building AppFuse with mvn
Posted by Martijn Dashorst <ma...@gmail.com>.
This is not a question for the maven list, please ask at the appfuse
forums/lists.
Martijn
On Tue, Aug 19, 2008 at 12:44 PM, sam wun <sw...@gmx.com> wrote:
> Thanks for the quick fix.
>
> It built successfully.
>
> Now from the README.txt file in the project directory, it said:
>
> D:\DEV\samples\AppFuse\phonecards>type README.txt
> AppFuse Basic JSF Archetype
>
> -------------------------------------------------------------------------------
>
> If you're reading this then you've created your new project using Maven and
> appfuse-basic-jsf. You have only created the shell of an AppFuse Java EE
> application. The project object model (pom) is defined in the file
> pom.xml.
> The application is ready to run as a web application. The pom.xml file is
> pre-defined with Hibernate as a persistence model and JSF as the web
> framework.
>
> To get started, please complete the following steps:
>
> 1. Download and install a MySQL 5.x database from
> http://dev.mysql.com/downloads/mysql/5.0.html#downloads.
>
> 2. Run "mvn jetty:run-war" and view the application at
> http://localhost:8080.
>
> 3. More information can be found at:
>
> http://appfuse.org/display/APF/QuickStart+Guide
>
>
>
> But I don't have mysql in this windows Vista desktop.
>
> I have insalled mysql 5 in a linux server. How can I make connection from
> this project to the mysql server in a remote server (linux system)?
>
>
>
> Thanks
>
>
>
>
>
>> ----- Original Message -----
>> From: Martijn Dashorst
>> Sent: 19/08/08 08:37 pm
>> To: Maven Users List
>> Subject: Re: Building AppFuse with mvn
>>
>> add a minus character before your DartifactId=....
>>
>> Martijn
>>
>> On Tue, Aug 19, 2008 at 12:30 PM, sam wun <sw...@gmx.com> wrote:
>> > Hi, I tried to build my first AppFuse project following the link I
>> shown
>> > below,
>> >
>> > http://appfuse.org/display/APF/AppFuse+QuickStart
>> >
>> >
>> >
>> > But I hit the first error:
>> >
>> >
>> >
>> > D:\DEV\samples>mkdir AppFuse
>> >
>> > D:\DEV\samples>cd AppFuse
>> >
>> > D:\DEV\samples\AppFuse>mvn archetype:create
>> > -DarchetypeGroupId=org.appfuse.arche
>> > types -DarchetypeArtifactId=appfuse-basic-jsf
>> > -DremoteRepositories=http://static
>> > .appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.ip6.app
>> > DartifactId
>> > =phonecards
>> > [INFO] Scanning for projects...
>> > [INFO] Searching repository for plugin with prefix: 'archetype'.
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [ERROR] BUILD FAILURE
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Invalid task 'DartifactId=phonecards': you must specify a valid
>> > lifecycle
>> > phase, or a goal in the format plugin:goal or
>> > pluginGroupId:pluginArtifactId:pl
>> > uginVersion:goal
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] For more information, run Maven with the -e switch
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: < 1 second
>> > [INFO] Finished at: Tue Aug 19 20:24:11 EST 2008
>> > [INFO] Final Memory: 2M/4M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> >
>> > D:\DEV\samples\AppFuse>
>> >
>> >
>> > There is no reference related to the groupid and project name.
>> >
>> > What is the proper way to create this project?
>> >
>> >
>> >
>> > Thanks
>> >
>> >
>> >
>> >
>> >
>> >> ----- Original Message -----
>> >> From: sam wun
>> >> Sent: 19/08/08 04:08 pm
>> >> To: Maven Users List, Maven Users List
>> >> Subject: Re: Re: simple online order form
>> >>
>> >> Hi,
>> >>
>> >>
>> >>
>> >> I am wondering is this AppFuse a widely use framework or library for
>> >> building form like this?
>> >>
>> >>
>> >>
>> >> Thanks
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> > ----- Original Message -----
>> >> > From: Rusty Wright
>> >> > Sent: 19/08/08 04:37 am
>> >> > To: Maven Users List
>> >> > Subject: Re: simple online order form
>> >> >
>> >> > You could try looking at AppFuse:
>> >> >
>> >> > http://www.ibm.com/developerworks/java/library/j-appfuse/
>> >> >
>> >> >
>> >> > sam wun wrote:
>> >> > > Hi,
>> >> > >
>> >> > >
>> >> > >
>> >> > > I want to build a simple online order with Struts, eclipse, and
>> >> tomcat
>> >> > > (mysql database).
>> >> > >
>> >> > > Is there any example/tutorial I can follow to create this simple
>> >> > project?
>> >> > >
>> >> > > I found many tutorials are based on MyEclipse, but I am using
>> Elcipse
>> >> > 3.4.
>> >> > >
>> >> > >
>> >> > >
>> >> > > Thank you in advance.
>> >> > >
>> >> > >
>> >> > >
>> >> > >
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> > For additional commands, e-mail: users-help@maven.apache.org
>> >> >
>> >>
>> >
>>
>>
>>
>> --
>> Become a Wicket expert, learn from the best: http://wicketinaction.com
>> Apache Wicket 1.3.4 is released
>> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Building AppFuse with mvn
Posted by sam wun <sw...@gmx.com>.
Thanks for the quick fix.
It built successfully.
Now from the README.txt file in the project directory, it said:
D:\DEV\samples\AppFuse\phonecards>type README.txt
AppFuse Basic JSF Archetype
-------------------------------------------------------------------------------
If you're reading this then you've created your new project using Maven and
appfuse-basic-jsf. You have only created the shell of an AppFuse Java EE
application. The project object model (pom) is defined in the file
pom.xml.
The application is ready to run as a web application. The pom.xml file is
pre-defined with Hibernate as a persistence model and JSF as the web
framework.
To get started, please complete the following steps:
1. Download and install a MySQL 5.x database from
http://dev.mysql.com/downloads/mysql/5.0.html#downloads.
2. Run "mvn jetty:run-war" and view the application at
http://localhost:8080.
3. More information can be found at:
http://appfuse.org/display/APF/QuickStart+Guide
But I don't have mysql in this windows Vista desktop.
I have insalled mysql 5 in a linux server. How can I make connection from
this project to the mysql server in a remote server (linux system)?
Thanks
> ----- Original Message -----
> From: Martijn Dashorst
> Sent: 19/08/08 08:37 pm
> To: Maven Users List
> Subject: Re: Building AppFuse with mvn
>
> add a minus character before your DartifactId=....
>
> Martijn
>
> On Tue, Aug 19, 2008 at 12:30 PM, sam wun <sw...@gmx.com> wrote:
> > Hi, I tried to build my first AppFuse project following the link I
> shown
> > below,
> >
> > http://appfuse.org/display/APF/AppFuse+QuickStart
> >
> >
> >
> > But I hit the first error:
> >
> >
> >
> > D:\DEV\samples>mkdir AppFuse
> >
> > D:\DEV\samples>cd AppFuse
> >
> > D:\DEV\samples\AppFuse>mvn archetype:create
> > -DarchetypeGroupId=org.appfuse.arche
> > types -DarchetypeArtifactId=appfuse-basic-jsf
> > -DremoteRepositories=http://static
> > .appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.ip6.app
> > DartifactId
> > =phonecards
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Invalid task 'DartifactId=phonecards': you must specify a valid
> > lifecycle
> > phase, or a goal in the format plugin:goal or
> > pluginGroupId:pluginArtifactId:pl
> > uginVersion:goal
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Tue Aug 19 20:24:11 EST 2008
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > D:\DEV\samples\AppFuse>
> >
> >
> > There is no reference related to the groupid and project name.
> >
> > What is the proper way to create this project?
> >
> >
> >
> > Thanks
> >
> >
> >
> >
> >
> >> ----- Original Message -----
> >> From: sam wun
> >> Sent: 19/08/08 04:08 pm
> >> To: Maven Users List, Maven Users List
> >> Subject: Re: Re: simple online order form
> >>
> >> Hi,
> >>
> >>
> >>
> >> I am wondering is this AppFuse a widely use framework or library for
> >> building form like this?
> >>
> >>
> >>
> >> Thanks
> >>
> >>
> >>
> >>
> >>
> >> > ----- Original Message -----
> >> > From: Rusty Wright
> >> > Sent: 19/08/08 04:37 am
> >> > To: Maven Users List
> >> > Subject: Re: simple online order form
> >> >
> >> > You could try looking at AppFuse:
> >> >
> >> > http://www.ibm.com/developerworks/java/library/j-appfuse/
> >> >
> >> >
> >> > sam wun wrote:
> >> > > Hi,
> >> > >
> >> > >
> >> > >
> >> > > I want to build a simple online order with Struts, eclipse, and
> >> tomcat
> >> > > (mysql database).
> >> > >
> >> > > Is there any example/tutorial I can follow to create this simple
> >> > project?
> >> > >
> >> > > I found many tutorials are based on MyEclipse, but I am using
> Elcipse
> >> > 3.4.
> >> > >
> >> > >
> >> > >
> >> > > Thank you in advance.
> >> > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> > For additional commands, e-mail: users-help@maven.apache.org
> >> >
> >>
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
Re: Building AppFuse with mvn
Posted by Martijn Dashorst <ma...@gmail.com>.
add a minus character before your DartifactId=....
Martijn
On Tue, Aug 19, 2008 at 12:30 PM, sam wun <sw...@gmx.com> wrote:
> Hi, I tried to build my first AppFuse project following the link I shown
> below,
>
> http://appfuse.org/display/APF/AppFuse+QuickStart
>
>
>
> But I hit the first error:
>
>
>
> D:\DEV\samples>mkdir AppFuse
>
> D:\DEV\samples>cd AppFuse
>
> D:\DEV\samples\AppFuse>mvn archetype:create
> -DarchetypeGroupId=org.appfuse.arche
> types -DarchetypeArtifactId=appfuse-basic-jsf
> -DremoteRepositories=http://static
> .appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.ip6.app
> DartifactId
> =phonecards
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Invalid task 'DartifactId=phonecards': you must specify a valid
> lifecycle
> phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pl
> uginVersion:goal
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Aug 19 20:24:11 EST 2008
> [INFO] Final Memory: 2M/4M
> [INFO]
> ------------------------------------------------------------------------
>
> D:\DEV\samples\AppFuse>
>
>
> There is no reference related to the groupid and project name.
>
> What is the proper way to create this project?
>
>
>
> Thanks
>
>
>
>
>
>> ----- Original Message -----
>> From: sam wun
>> Sent: 19/08/08 04:08 pm
>> To: Maven Users List, Maven Users List
>> Subject: Re: Re: simple online order form
>>
>> Hi,
>>
>>
>>
>> I am wondering is this AppFuse a widely use framework or library for
>> building form like this?
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>> > ----- Original Message -----
>> > From: Rusty Wright
>> > Sent: 19/08/08 04:37 am
>> > To: Maven Users List
>> > Subject: Re: simple online order form
>> >
>> > You could try looking at AppFuse:
>> >
>> > http://www.ibm.com/developerworks/java/library/j-appfuse/
>> >
>> >
>> > sam wun wrote:
>> > > Hi,
>> > >
>> > >
>> > >
>> > > I want to build a simple online order with Struts, eclipse, and
>> tomcat
>> > > (mysql database).
>> > >
>> > > Is there any example/tutorial I can follow to create this simple
>> > project?
>> > >
>> > > I found many tutorials are based on MyEclipse, but I am using Elcipse
>> > 3.4.
>> > >
>> > >
>> > >
>> > > Thank you in advance.
>> > >
>> > >
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>>
>
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Building AppFuse with mvn
Posted by sam wun <sw...@gmx.com>.
Hi, I tried to build my first AppFuse project following the link I shown
below,
http://appfuse.org/display/APF/AppFuse+QuickStart
But I hit the first error:
D:\DEV\samples>mkdir AppFuse
D:\DEV\samples>cd AppFuse
D:\DEV\samples\AppFuse>mvn archetype:create
-DarchetypeGroupId=org.appfuse.arche
types -DarchetypeArtifactId=appfuse-basic-jsf
-DremoteRepositories=http://static
.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.ip6.app
DartifactId
=phonecards
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Invalid task 'DartifactId=phonecards': you must specify a valid
lifecycle
phase, or a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pl
uginVersion:goal
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Aug 19 20:24:11 EST 2008
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
D:\DEV\samples\AppFuse>
There is no reference related to the groupid and project name.
What is the proper way to create this project?
Thanks
> ----- Original Message -----
> From: sam wun
> Sent: 19/08/08 04:08 pm
> To: Maven Users List, Maven Users List
> Subject: Re: Re: simple online order form
>
> Hi,
>
>
>
> I am wondering is this AppFuse a widely use framework or library for
> building form like this?
>
>
>
> Thanks
>
>
>
>
>
> > ----- Original Message -----
> > From: Rusty Wright
> > Sent: 19/08/08 04:37 am
> > To: Maven Users List
> > Subject: Re: simple online order form
> >
> > You could try looking at AppFuse:
> >
> > http://www.ibm.com/developerworks/java/library/j-appfuse/
> >
> >
> > sam wun wrote:
> > > Hi,
> > >
> > >
> > >
> > > I want to build a simple online order with Struts, eclipse, and
> tomcat
> > > (mysql database).
> > >
> > > Is there any example/tutorial I can follow to create this simple
> > project?
> > >
> > > I found many tutorials are based on MyEclipse, but I am using Elcipse
> > 3.4.
> > >
> > >
> > >
> > > Thank you in advance.
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
Re: Re: simple online order form
Posted by Wayne Fay <wa...@gmail.com>.
You should be asking these questions in a "Java Newbie/Programming
Help" type forum, not the Maven Users email list.
http://java.sun.com/new2java/
http://forums.sun.com/forum.jspa?forumID=54
http://forums.sun.com/forum.jspa?forumID=31
Wayne
On 8/18/08, sam wun <sw...@gmx.com> wrote:
> Hi,
>
>
>
> I am wondering is this AppFuse a widely use framework or library for
> building form like this?
>
>
>
> Thanks
>
>
>
>
>
> > ----- Original Message -----
> > From: Rusty Wright
> > Sent: 19/08/08 04:37 am
> > To: Maven Users List
> > Subject: Re: simple online order form
> >
> > You could try looking at AppFuse:
> >
> > http://www.ibm.com/developerworks/java/library/j-appfuse/
> >
> >
> > sam wun wrote:
> > > Hi,
> > >
> > >
> > >
> > > I want to build a simple online order with Struts, eclipse, and tomcat
> > > (mysql database).
> > >
> > > Is there any example/tutorial I can follow to create this simple
> > project?
> > >
> > > I found many tutorials are based on MyEclipse, but I am using Elcipse
> > 3.4.
> > >
> > >
> > >
> > > Thank you in advance.
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Re: simple online order form
Posted by sam wun <sw...@gmx.com>.
Hi,
I am wondering is this AppFuse a widely use framework or library for
building form like this?
Thanks
> ----- Original Message -----
> From: Rusty Wright
> Sent: 19/08/08 04:37 am
> To: Maven Users List
> Subject: Re: simple online order form
>
> You could try looking at AppFuse:
>
> http://www.ibm.com/developerworks/java/library/j-appfuse/
>
>
> sam wun wrote:
> > Hi,
> >
> >
> >
> > I want to build a simple online order with Struts, eclipse, and tomcat
> > (mysql database).
> >
> > Is there any example/tutorial I can follow to create this simple
> project?
> >
> > I found many tutorials are based on MyEclipse, but I am using Elcipse
> 3.4.
> >
> >
> >
> > Thank you in advance.
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
Re: simple online order form
Posted by Rusty Wright <ru...@gmail.com>.
You could try looking at AppFuse:
http://www.ibm.com/developerworks/java/library/j-appfuse/
sam wun wrote:
> Hi,
>
>
>
> I want to build a simple online order with Struts, eclipse, and tomcat
> (mysql database).
>
> Is there any example/tutorial I can follow to create this simple project?
>
> I found many tutorials are based on MyEclipse, but I am using Elcipse 3.4.
>
>
>
> Thank you in advance.
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org