AW: Using Shellscript variable in build.xml

2010-01-22 Thread Jan.Materne
You must set the property in the Ant project instance. Not familiar with the bash-syntax ... so a JS code project.setNewProperty("KAR", KAR); - "KAR" is the name of the Ant property - KAR is the reference of the variable inside the block Jan >-Ursprüngliche Nachricht- >Von:

Using Shellscript variable in build.xml

2010-01-22 Thread jhoomsharabi
I am using shellscript task of ant-contrib in one of my target, which looks like this: KAR=`echo ${adapter-active-directory} | awk -F. '{print $1}'` MAR=`echo ${adapter-active-directory} | awk -F. '{print $4}'` How I can use the shell script va