Last active
August 8, 2018 22:31
-
-
Save MilesDowe/408011116c139c964073e1fbe11689fb to your computer and use it in GitHub Desktop.
An example of using Javascript in Apache Ant build files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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