I have the following ant task that has embedded javascript. I'm trying to read the value of a property in my build.properties file but the following doesn't seem to work.
<target name="analyze">
<script language="javascript">
<![CDATA[
importPackage(java.lang);
var path = "${FOOBAR_HOME}";
System.out.println(path);
]]>
</script>
</target>
Anyone know how to do this?