
There are some properties already set to run the ant command. The following script will help the user to print the default properties for the ant.
<?xml version="1.0"?>
<project name="Ant Tutorial" basedir=".." default="setup">
<target name="setup">
<echo> ${basedir}</echo>
<echo> ${ant.file}</echo>
<echo> ${ant.version}</echo>
<echo> ${ant.project.name}</echo>
<echo> ${ant.java.version}</echo>
</target>
</project>
Output:-
The above command will print the environment properties and the ant properties on the screen
Java Discussion
- - Java web application
- - Difference between BMT an
- - Replace getParameterValue
- - Interviewing Next week -
- - Sudoku solver




