Hi,
 
I am trying to use weblogic deployer plugin. I want the user to enter the 
weblogic environment before the build. So I used parameterized build.
 
I defined the following parameters
 
TARGET_HOST
TARGET_DOMAIN
TARGET_PORT
TARGET_LOGIN
TARGET_PASSWORD
 
These parameters need to be replaced in the config.xml (used by weblogic 
deployer plugin).

In the prebuild step, I chose 'Execute windows batch command' to call a 
vbscript to replace the elements in the config.xml with the
parameter values -
 
cscript D:\APPS\sc\weblogic.vbs ${TARGET_PLATFORM} ${TARGET_HOST} 
${TARGET_PORT} ${TARGET_LOGIN_ID} ${TARGET_PASSWORD}
 
However, this method is not replacing the elements in the xml file with the 
parameter values instead I see the parameter names inserted in the xml 
file. The build proceeds but it obviously failes during deployment.
 
The vbscript is working fine if I execute it in a command line and provide 
the arguments explicity. 
Can anyone help point out what I am doing wrong here? Is there any other 
method to achieve this?
 
Thanks in advance!

Reply via email to