you can accomplish this with either strategy 1)Spring IOC will inject into placeholders the supplied params BUT you would need to (re)compile each time 2)you can accomplish mvn repackaging your ear with any number of varied data sources with Profiles e.g.-Phibernate or -Pjpa2 this would activate the requested profile
IMHO spring implementation means you would have to force a compile each time you want to sub in another data-source ....this can be very time-consuming ..not to mention god help you if someone messes up your classpath by tossing in a new injector... My vote is for option2 Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 14 Mar 2013 14:40:44 -0700 > From: [email protected] > To: [email protected] > Subject: Re: Multiple build arguments > > Hi Baptiste, > > Thanks for that, I tried it, but got stuck in syntax error.. > > You'd have some example with the syntax to use ? > > Kind Regards, > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700p5750816.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
