Rev 18 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | ## |
2 | ## Properties file to be used with ant build.xml |
||
3 | ## |
||
4 | |||
5 | |||
6 | ##database configuration |
||
7 | database.host=localhost |
||
8 | database.port=3306 |
||
9 | database.catalog=estgweb |
||
10 | database.username=root |
||
11 | database.password= |
||
12 | database.connection.url=jdbc:mysql://${database.host}:${database.port}/${database.catalog}?useUnicode=true&characterEncoding=UTF-8 |
||
13 | hibernate.show.sql=false |
||
14 | |||
15 | |||
16 | #Paths configuration |
||
17 | tomcat.home=C:/Servidores/tomcat |
||
18 | tomcat.libs.ant.home=${tomcat.home}/server/lib |
||
19 | tomcat.libs.common.home=${tomcat.home}/common/lib |
||
20 | |||
21 | tomcat.host=localhost |
||
22 | tomcat.port=8080 |
||
23 | tomcat.url=http://${tomcat.host}:${tomcat.port} |
||
24 | tomcat.manager=${tomcat.url}/manager |
||
25 | tomcat.username=admin |
||
26 | tomcat.password=admin |
||
27 | |||
28 | #IF is ROOT use Nothing |
||
29 | #example for ROOT: |
||
30 | # tomcat.context.path.install=/ |
||
31 | # tomcat.context.path= |
||
32 | # |
||
33 | #example for /mitra: |
||
34 | # tomcat.context.path.install=/mitra |
||
35 | # tomcat.context.path=/mitra |
||
36 | # |
||
37 | tomcat.context.path.install=/estgweb |
||
38 | tomcat.context.path=/estgweb |
||
39 | tomcat.war.file=estgweb.war |
||
40 | |||
41 | |||
42 | common.lib.dir =../common |
||
43 | conf.dir =conf |
||
44 | lib.dir =lib |
||
45 | data.dir =../../DATA/estgweb |
||
46 | src.dir =src/java |
||
47 | hbm.dir =src/hbm |
||
48 | build.dir =build/ant |
||
49 | build.dir.classes =${build.dir}/classes |
||
50 | build.dir.war =${build.dir}/war |
||
51 | log.dir =${data.dir} |
||
52 | dist.dir =dist |
||
53 | gen.dir =gen |
||
54 | gen.dir.java =${gen.dir}/java |
||
55 | |||
56 | #conf files |
||
57 | app.properties.filename=app.properties |
||
58 | app.properties=${conf.dir}/${app.properties.filename} |
||
59 | app.properties.build=${build.dir.classes}/${package.dir} |
||
60 | |||
61 | |||
62 | hibernate.cfg.xml.filename=hibernate.cfg.xml |
||
63 | hibernate.cfg.xml=${conf.dir}/${hibernate.cfg.xml.filename} |
||
64 | hibernate.cfg.xml.build=${build.dir.classes}/${package.dir} |
||
65 | |||
66 | messages.properties.filename=MessageResourcesAll.properties |
||
67 | messages.properties=${conf.dir}/${messages.properties.filename} |
||
68 | messages.properties.build=${build.dir.classes} |
||
69 | |||
70 | ldap.properties.filename=ldap.properties |
||
71 | ldap.properties=${conf.dir}/${ldap.properties.filename} |
||
72 | ldap.properties.build=${build.dir.classes} |
||
73 | |||
74 | jdbc.properties.filename=jdbc.properties |
||
75 | jdbc.properties=${conf.dir}/${jdbc.properties.filename} |
||
76 | jdbc.properties.build=${build.dir.classes}/${package.dir} |
||
77 | |||
78 | log4j.properties.filename=log4j.properties |
||
79 | log4j.properties=${conf.dir}/${log4j.properties.filename} |
||
80 | |||
81 | #log file confirguration |
||
82 | log.file=/estgweb.log |
||
83 | |||
84 | #DATA |
||
85 | out.dir=${data.dir}/out |
||
86 | tmp.dir=${data.dir}/tmp |
||
87 | |||
88 | #Paths of packages configuration |
||
89 | package.dir=pt/estgp/estgweb |
||
90 | domain.package.dir=${package.dir}/domain |
||
91 | dao.hbm.package.dir=${hbm.dir}/${domain.package.dir} |
||
92 | dao.domain.package.dir=${gen.dir.java}/${domain.package.dir} |
||
93 | dao.interfaces.package.dir=${dao.domain.package.dir}/dao |
||
94 | dao.impl.package.dir=${dao.interfaces.package.dir}/impl |
||
95 | |||
96 | #Packages configuration |
||
97 | package=pt.estgp.estgweb |
||
98 | domain.package=${package}.domain |
||
99 | dao.interfaces.package=${domain.package}.dao |
||
100 | dao.impl.package=${dao.interfaces.package}.impl |
||
101 | |||
102 | #Hibernate Mappings Builder |
||
103 | mapping.buider.class=${domain.package}.utils.BuildMappings |
||
104 | mapping.buider.class.file=${domain.package.dir}/utils/BuildMappings.java |
||
105 | |||
106 | #templates for code generation |
||
107 | dao.template.dir=${conf.dir}/template/dao |
||
108 | dao.interfaces.template=idao.ftl |
||
109 | dao.impl.template=daoimpl.ftl |
||
110 | dao.file.pattern=Dao |
||
111 |