This file contains hidden or 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
<copy todir="../new/dir"> | |
<fileset dir="src_dir"/> | |
</copy> |
This file contains hidden or 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
<task name="Test"> | |
<echo message="Hello World!"/> | |
</task> | |
<Test /> |
This file contains hidden or 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
<define-function return-type="int" name="add"> | |
<arguments> | |
<argument type="int">arg1</argument> | |
<argument type="int">arg2</argument> | |
</arguments> | |
<body> | |
<return> | |
<add value1="arg1" value2="arg2" /> | |
</return> | |
</body> |
This file contains hidden or 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
CopyTask copy = new CopyTask(); | |
Fileset fileset = new Fileset(); | |
fileset.setDir("src_dir"); | |
copy.setToDir("../new/dir"); | |
copy.setFileset(fileset); | |
copy.execute(); |
NewerOlder