<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Calling a variable defined in  build.xml in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302387#M255517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Community &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ve created&amp;nbsp; 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 ) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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 :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to define a property called site url in my build.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &amp;lt;property name="siteurl" value="&lt;A href="http://localhost:8080/share/page/site/test1/documentlibrary" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/page/site/test1/documentlibrary&lt;/A&gt;" /&amp;gt; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in my webscript in the amp , I 'll call this property and store its value into an other variable in myscript.get.properties:&amp;nbsp; " site_path "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that's complicated but it's a client requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this action possible ?&amp;nbsp; Do you have any idea about how to make the call ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sofia.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 11:09:52 GMT</pubDate>
    <dc:creator>sofia</dc:creator>
    <dc:date>2014-09-19T11:09:52Z</dc:date>
    <item>
      <title>Calling a variable defined in  build.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302387#M255517</link>
      <description>Hello Community &lt;IMG id="smileywink" class="emoticon emoticon-smileywink" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; I ve created&amp;nbsp; 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 variabl</description>
      <pubDate>Fri, 19 Sep 2014 11:09:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302387#M255517</guid>
      <dc:creator>sofia</dc:creator>
      <dc:date>2014-09-19T11:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a variable defined in  build.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302388#M255518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One way is to add your value to a .properties file and then read that .properties file from your amp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 11:15:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302388#M255518</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-09-19T11:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a variable defined in  build.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302389#M255519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the reply . But I really don't know how to call this file into my amp , exactly into myscript.get.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sofia.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 12:30:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-variable-defined-in-build-xml/m-p/302389#M255519</guid>
      <dc:creator>sofia</dc:creator>
      <dc:date>2014-09-19T12:30:25Z</dc:date>
    </item>
  </channel>
</rss>

