I believe I understand your question. I have an application where we
develop on MySQL but we run Oracle in production. When we build for
production we want to replace the MySQL jdbc settings with the Oracle
settings. Also, we don't want to run hibernate3 or dbunit or it would
wipe out our production database. This is where the maven profiles
come in. Appfuse ships with a profile called prod and other profiles
for databases like Oracle.
I was a little paranoid about someone doing mvn -Poracle test and blow
out our production database so I moved the db-related stuff (hibernate-
tools and dbunit) to its own profile called db-setup. I also moved
the oracle database settings to prod since we don't use any of the
other database profiles. Finally I included a skip = true for my
prod profile. The final effect is that when we are building our WAR
for deployment we run mvn -Pprod package and it works great. If we
want to reset our test db we run mvn -Pdb-setup test. We just NEVER
run mvn -Pprod,db-setup.
-D
On May 20, 2008, at 5:51 AM, Mauri Ferreyra wrote:
Yes! I belive Appfuse is really very good!
But, I need to know, what consideration i should have in the moment i
send the aplication for finals users. for example, plugin of the test,
and others plugin.
What's plugin i need remove?
On Tue, May 20, 2008 at 9:43 AM, Matt Raible
<[EMAIL PROTECTED]> wrote:
Can you rephrase your question? AppFuse creates a WAR and can be
deployed to production just like any other WAR.
Matt
On Tue, May 20, 2008 at 6:40 AM, Mauri Ferreyra <[EMAIL PROTECTED]>
wrote:
What I have know about AppFuse?
if I want use Appfuse as platform for an application that I will
send
to production.
Thanks
Mauri
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mauricio F. Ferreyra |tel #: (0351) 156-623072 | Cordoba - Argentina
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]