Howdy, One idea that leaps to mind is to have ant tokens in your server.xml and values for those tokens in your build.properties file. Have ant copy the master server.xml to your local install and fill in the tokens for your JNDI datasources.
The cactus approach is similar to this and not too bad either. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Hookom, Jacob [mailto:[EMAIL PROTECTED] >Sent: Monday, August 18, 2003 9:47 AM >To: [EMAIL PROTECTED] >Subject: War Development w/ JNDI Datasources > >Hi All, > >We are currently developing an application and using CVS to manage our >source code. Our goal is to be able to pull down the project off of CVS >and >with a single Ant target, get the application up and running on a local >install of Tomcat. > >The problem that has risen is that our DataSources are specified in JNDI >(the server.xml in the {CATALINA_HOME}/conf) and is not something that we >can feasibly park in CVS. > >Is there a way to get the DataSources specified without modifying the >server.xml? Or, should we be making an ANT target that loads a second >instance of tomcat using a project specific server.xml, much like what >Cactus describes? > >Many Thanks, >Jacob > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
