AnsweredAssumed Answered

Calling a variable defined in  build.xml

Question asked by sofia on Sep 19, 2014
Latest reply on Sep 19, 2014 by sofia
Hello Community ;)

I ve created  an amp for some alfresco WebScripts customisation .For my AMP development, I ve used eclipse and ant , and it's working fine( I deploy my amp correctly ) .
But now I need to define some variables outside the amp , I mean at ant files , and I want to call those variables from inside the amp . For example :

I need to define a property called site url in my build.xml

 <property name="siteurl" value="http://localhost:8080/share/page/site/test1/documentlibrary" /> 

and in my webscript in the amp , I 'll call this property and store its value into an other variable in  " site_path "

I know that's complicated but it's a client requirement.

Is this action possible ?  Do you have any idea about how to make the call ?