Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Substituting Shell Variable in XML 1

Status
Not open for further replies.

moonoo

Programmer
May 17, 2000
62
0
0
US
Hi ,
I am depolying an application in weblogic . I am compiling the application in Unix Envirinment . In Bash shell i am using some user specific variable for example .
export MY_LOGFILE_LOC=/home/amosale/logs/deploy/amosale_tc.log.
In My Weblogic.xml i am using this variable as $MY_LOGFILE_LOC . But its not replacing the variable.
Is there any way i can use the Shell Variables in my xml file.
Any Help is appriciated.
Regards
 
xml file is just a flat text file. if likes your saying, Weblogic will use it, Weblogic should take the responsibility to expand $MY_LOGFILE_LOC in xml file.

But, if you are looking for a method to substitute $MY_LOGFILE_LOC by its value in shell, you can write a tool to do that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top