Skip to content

Instantly share code, notes, and snippets.

@MilesDowe
Last active August 8, 2018 22:31
Show Gist options
  • Save MilesDowe/408011116c139c964073e1fbe11689fb to your computer and use it in GitHub Desktop.
Save MilesDowe/408011116c139c964073e1fbe11689fb to your computer and use it in GitHub Desktop.
An example of using Javascript in Apache Ant build files.
<target name="example">
<script language="javascript">
// JS can be written here:
var example = function(a,b) {
print(b + " " + a);
};
example("test", "hi");
</script>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment