Just change the pom.xml
sam wun wrote:
Hi,
I tried to build the first project from the following tutorial:
http://appfuse.org/display/APF/AppFuse+QuickStart
The mvn command
built the project 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)? Or how to deploy this project
(phonecards) to my mysql (tomcat) server?
ps. tomcat and mysql is running in
the same linux server. MVN and Eclipse is running on Windows Vista.
Thanks
--
Leo
Barrientos C.
Chief Operating Officer
Master en Ingeniería de Software
|
 |
Este mensaje se dirige exclusivamente a su destinatario y puede
contener información privilegiada o CONFIDENCIAL. Si no es
usted el destinatario indicado, queda notificado de que la
utilización, divulgación y/o copia sin
autorización está prohibida en virtud de la
legislación vigente. Si ha recibido este mensaje por error,
le rogamos que nos lo comunique inmediatamente por esta misma
vía y proceda a su destrucción.
This message is
intended exclusively for its addressee and may contain
information that is CONFIDENTIAL and protected by professional
privilege. If you are not the intended recipient you are hereby
notified that any dissemination, copy or disclosure of this
communication is strictly prohibited by law. If this message has been
received in error, please immediately notify us via e-mail and delete
it. |
|