root/tags/sprint-may-12-2008/core/build-tomcat.properties.example

Revision 16628, 3.3 kB (checked in by vmalykhin, 1 year ago)

Web acceptance testing. Ant a-tests targets (now with Tomcat support)

Line 
1 # This is an ant properties file that configures the Project.net ant build for your tomcat on
2 # local workstation.  You must update the properties in this file to match your
3 # machine's configuration, installation locations, source working directories, etc.
4 # compile a build.  It is used by the build-tomcat.xml Ant build file.
5 #
6 # If you are using windows paths, you'll need to use c:\\dir1\\dir2
7 # instead of c:\dir1\dir2 to refer to paths -- Java thinks a single backslash
8 # is followed by a control character.
9
10 ###########################################################
11 # APACHE TOMCAT APPLICTION SERVER SECTION
12 ###########################################################
13 # Tomcat version-specific directory used to locate tomcat home.
14 # Examples:
15 #   catalina.home=C:\\apache-tomcat-5.5.20   (windows)
16 #   catalina.home=/opt/apache-tomcat-5.5.20  (linux)
17
18 catalina.home=C://apache-tomcat-5.5.20
19
20 # Tomcat server username and password
21 # By default, no user is included in the "manager" role required
22 # to deploy/undeploy the application
23 # Edit catalina.home/conf/tomcat-users.xml file
24 # Sample tomcat-users.xml would be as follows
25 #       <?xml version='1.0' encoding='utf-8'?>
26 #       <tomcat-users>
27 #         <role rolename="tomcat"/>
28 #         <role rolename="role1"/>
29 #         <role rolename="manager"/>
30 #         <user username="tomcat" password="tomcat" roles="tomcat"/>
31 #         <user username="both" password="tomcat" roles="tomcat,role1"/>
32 #         <user username="role1" password="tomcat" roles="role1"/>
33 #         <user username="manager" password="manager" roles="manager"/>
34 #       </tomcat-users>
35
36 tomcat.url=http://localhost:8080//manager
37 tomcat.username=manager
38 tomcat.password=manager
39
40 tomcat.path=/
41 app.name=pnet
42
43 # Source root
44 # The location where the source of application is
45 src.dir=.
46
47 # Project.net application settings
48 # The paths are specific to source structure of Project.net application
49
50 src.java.dir=${src.dir}//src
51 src.jsp.dir=${src.dir}//web//jsp
52 src.config.dir=${src.dir}//config
53 src.docs.dir=${src.dir}//docs
54 src.database.dir=${src.dir}//db//oracle
55 src.taglib.dir=${src.dir}//web//jsp//taglibs
56 src.resource.dir=${src.dir}//web
57 src.metainf.dir=${src.dir}//web//META-INF
58 src.webinf.dir=${src.dir}//web//WEB-INF
59 src.lib.dir=${src.dir}//lib
60 devroot.dir=${src.dir}/..
61 pni.dir=${devroot.dir}/internal/license-generator
62 src.java.pni.dir=${pni.dir}/java
63 src.jsp.pni.dir=${pni.dir}/jsp/pnet
64
65 # Distribution root
66 # The location where distribution builds of the application will be placed.
67 #
68 # Examples:
69 #   dist.dir=c:\\pnet\\dist\\tomcat
70 #   dist.dir=/home/user-name/pnet/dist/tomcat
71
72 build.dir=${src.dir}//bin/${app.name}
73 build.dist=${src.dir}//dist
74
75 # Project.net application settings
76 # The paths are specific to build structure of Project.net application
77 build.metainf.dir=${build.dir}//META-INF
78 build.webinf.dir=${build.dir}//WEB-INF
79 build.classes.dir=${build.dir}//WEB-INF//classes
80 build.lib.dir=${build.dir}//WEB-INF//lib
81 build.xsl.dir=${build.classes.dir}//config//xsl
82 build.etc.dir=${build.classes.dir}//config//etc
83 build.taglib.dir=${build.webinf.dir}//taglibs
84 build.resource.dir=${build.dir}
85
86 src.test.acceptance=${devroot.dir}/test/acceptance/src
87 build.test.acceptance=${devroot.dir}/output/test/acceptance
88 lib.test.acceptance=${devroot.dir}/test/acceptance/lib
Note: See TracBrowser for help on using the browser.