|
|
@@ -112,7 +112,7 @@ ant compile jar run |
|
|
|
<h2>Enhance the build file</h2> |
|
|
|
</p>Ok, the build works - but it is not as nice as it should: many time you are referencing the same directories, |
|
|
|
main-class and jar-name are hard coded, and while invocation you have to remember the right order of build steps.</p> |
|
|
|
<p>The first and second point would be adressed with <i>properties</i>, the third with a special property - an attribute |
|
|
|
<p>The first and second point would be addressed with <i>properties</i>, the third with a special property - an attribute |
|
|
|
of the <project>-tag and the fourth problem can be solved using dependencies.</p> |
|
|
|
|
|
|
|
<pre class="code"> |
|
|
@@ -321,4 +321,4 @@ start the application from that directory and these files will included into the |
|
|
|
<p align="center">Copyright © 2005 The Apache Software Foundation. All rights Reserved.</p> |
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |
|
|
|
</html> |