Greetings,
I'm using a reference to JNDI-NAME but dependent if I'm deploying in
jboss or weblogic, I would have "java:/MyJNDIName" or "MyJNDIName",
respectively.
I would like to avoid building different packages for jboss and
weblogic. I rather have one package that should be deployed in both
containers, and avoiding doing "ant jboss" and "ant weblogic" for
different packages.
The problem I verify here is when I have hard-coded a jndi call in my
code!! The specific tags for each container I replace with
${jndi-jboss} or ${jndi-weblogic}, so they aren't a problem.
"
javax.sql.DataSource ds=(javax.sql.DataSource)
context.lookup("??????");
"
Question: how to do it? I suppose I could manage it with local jndi
references... but I need a hint.
thanks.
regards,
Pedro Salazar.
--
-PS
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user