[Home, Previous, Next]
3 Project personalized configuration
Summary: Introduction Build.xml, build.properties These two files are needed for each project, and some personalized configurations of each item are specifically described.
Build.xml Xml Version = "1.0" eNCoding = "ISO-8859-1"?>
Copyright 2004 CAMRY.WU@gmail.com
This Program Is Free Software; You Can Redistribute IT and / or Modify
It Under The Terms of The GNU General Public License As Published by
The Free Software Foundation; Either Version 2 of the license, OR
ANY LATER VERSION.
This Program is Distributed in the Hope That IT Will Be Useful,
But without Any Warranty; WITHOUT EVEN THE IMPLIED WARRANTY OF
Merchantability or fitness for a particular purpose. See the
GNU General Public License for more details.
You Should Have Received A Copy of The GNU General Public License
Along with this program; if not, Write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
->
If the project is going to cooperate with Tomcat, then load Tomcat configuration
->
target>
Depends = "common_prepare" description = "preted build directory"> target> Depends = "init" description = "fetch src from cvs or noidher location"> target> Depends = "init" description = "Project-Level Prepare Phase"> target>
If the project is going to cooperate with Tomcat, then call Tomcat's task -> target>
If the project is going to cooperate with Tomcat, then call Tomcat's task -> target> Build Application System -> target> provject> Build.properties # Initializing the environment # # c 文件 文件 位置, if you want to write this under Windows: D: / Work / Common Path.common = / Home / Camry / Work / Common # Project Related Information Component.name = app Component.package = com.Vitular.app Component.title = app Component.version = 0.1a # CVS root location Cvsroot =: pserver: Camry@x.x.x.x: / usr / cvsroot # ftp setting # ftp.server = x.x.x.x # Remote server location # ftp.user = CAMRY # User name # ftp.pass = ***** # User password # remote.dir = / opt / release # Remote publishing directory location [Home, Previous, Next]