Skeleton of the Ant File #Java Short Notes

Ant can be used to compile and deploy Java applications. Struts and Spring applications also make use of Ant. Here, we have provided the structure of the build.xml file with examples that is used to carry out the functionalities. The redistribution of this file is in compatible with the copyright law of The Apache Foundation.

                         <!--  These properties define custom tasks for the Ant build tool that interact  with the "/manager" web application installed with Tomcat 5.  Before they  can be successfully utilized, you must perform the following steps:  - Copy the file "server/lib/catalina-ant.jar" from your Tomcat 5    installation into the "lib" directory of your Ant installation.  - Create a "build.properties" file in your application's top-level    source directory (or your user login home directory) that defines    appropriate values for the "manager.password", "manager.url", and    "manager.username" properties described above.  For more information about the Manager web application, and the functionality  of these tasks, see .-->        <!--  These properties control option settings on the Javac compiler when it  is invoked using the  task.  compile.debug        Should compilation include the debug option?  compile.deprecation  Should compilation include the deprecation option?  compile.optimize     Should compilation include the optimize option?-->      <!--  -->          <!--    -->                                                                                                                                                                                                                                                <!--    -->                          

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

From: http://sitestree.com/?p=4961
Categories:Java Short Notes
Tags:
Post Data:2007-06-06 02:04:10

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Leave a Reply