Answer Posted / Pratibha Nandan
To deploy files to a server using Ant, you need to use the `<copy>` task. Here's an example:
```
<project>
<target name="deploy">
<copy todir="${server.root.dir}">
<fileset dir="${build.dir}"/>
</copy>
</target>
</project>
```
Replace `${server.root.dir}` and `${build.dir}` with the actual paths.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category