This content has been marked as final.
Show 3 replies
-
1. Re: production question : changing database instance and deployment
swd847 Feb 18, 2009 11:11 PM (in response to valatharv)You do not need to rebuild the app, changing the -ds.xml file and restarting is all you need to do.
I am not sure about the second question, but it is almost certainly controlled by build.properties somewhere.
-
2. Re: production question : changing database instance and deployment
binnyg Feb 19, 2009 3:45 AM (in response to valatharv)For the first question as Stuart mentioned all you need to is change the xxx-ds.xml in deploy folder and restart your jboss.
About your second question, it is controlled by an ant property. Default is dev. Look at line 7 and 8 in build.xml
ant -Dprofile=prod
This will rename your persistence-prod.xml to persistence.xml.
-
3. Re: production question : changing database instance and deployment
valatharv Feb 19, 2009 4:27 PM (in response to valatharv)Yes, thanks all set.