The <attr/> command (as documented) is what you want.

On 23/7/09 15:19, Praveen Kumar Kale wrote:

Hi,

Am using WebSphere6.1 server, I want to modify the jndiName from "jdbc/DataSource" to "newDataSource" in "ibm-web-bnd.xmi" file.

How can we modify the jndiName Using XML Task. Here is the in "ibm-web-bnd.xmi" file Structure.

<webappbnd:WebAppBinding xmi:version="2.0" irtualHostName="default_host">

<webapp href="WEB-INF/web.xml# "/>

<resRefBindings xmi:id="ResourceRefBinding_123456789" jndiName="jdbc/DataSource">

<bindingResourceRef href="WEB-INF/web.xml#ResourceRef_123456789"/>

</resRefBindings>

</webappbnd:WebAppBinding>

Here I already created a Data Source in admin Console with jndi name "jdbc/newDataSource" ,I want to map the new Data Source Using build.xml , am trying to do is to update the data source from "jdbc/DataSource" to "jdbc/newDataSource" while deploying the Ear file using build.xml in *admin console*.

Can we create a new data source Using *jacl commands *.

Bye

Praveen

------------------------------------------------------------------------

------------------------------------------------------------------------------
------------------------------------------------------------------------

_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

--
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012

------------------------------------------------------------------------------
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to