Rev 35 | Rev 79 | Go to most recent revision | Details | Compare with Previous | 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 | |||
48 | fvelez | 28 | service.url=${tomcat.url}${tomcat.context.path} |
29 | |||
1 | fvelez | 30 | #IF is ROOT use Nothing |
31 | #example for ROOT: |
||
32 | # tomcat.context.path.install=/ |
||
33 | # tomcat.context.path= |
||
34 | # |
||
35 | #example for /mitra: |
||
36 | # tomcat.context.path.install=/mitra |
||
37 | # tomcat.context.path=/mitra |
||
38 | # |
||
39 | tomcat.context.path.install=/estgweb |
||
40 | tomcat.context.path=/estgweb |
||
41 | tomcat.war.file=estgweb.war |
||
42 | |||
43 | |||
44 | common.lib.dir =../common |
||
45 | conf.dir =conf |
||
46 | lib.dir =lib |
||
18 | jmachado | 47 | data.dir =C:/Servidores/DATA/estgweb |
1 | fvelez | 48 | src.dir =src/java |
49 | hbm.dir =src/hbm |
||
50 | build.dir =build/ant |
||
51 | build.dir.classes =${build.dir}/classes |
||
52 | build.dir.war =${build.dir}/war |
||
53 | log.dir =${data.dir} |
||
54 | dist.dir =dist |
||
55 | gen.dir =gen |
||
56 | gen.dir.java =${gen.dir}/java |
||
57 | |||
58 | #conf files |
||
59 | app.properties.filename=app.properties |
||
60 | app.properties=${conf.dir}/${app.properties.filename} |
||
61 | app.properties.build=${build.dir.classes}/${package.dir} |
||
62 | |||
63 | |||
18 | jmachado | 64 | mime.types.filename=mime.types |
65 | mime.types=${conf.dir}/${mime.types.filename} |
||
66 | mime.types.build=${build.dir.classes}/jomm/utils |
||
67 | |||
1 | fvelez | 68 | hibernate.cfg.xml.filename=hibernate.cfg.xml |
69 | hibernate.cfg.xml=${conf.dir}/${hibernate.cfg.xml.filename} |
||
70 | hibernate.cfg.xml.build=${build.dir.classes}/${package.dir} |
||
71 | |||
72 | messages.properties.filename=MessageResourcesAll.properties |
||
73 | messages.properties=${conf.dir}/${messages.properties.filename} |
||
74 | messages.properties.build=${build.dir.classes} |
||
75 | |||
76 | ldap.properties.filename=ldap.properties |
||
77 | ldap.properties=${conf.dir}/${ldap.properties.filename} |
||
78 | ldap.properties.build=${build.dir.classes} |
||
79 | |||
80 | jdbc.properties.filename=jdbc.properties |
||
81 | jdbc.properties=${conf.dir}/${jdbc.properties.filename} |
||
82 | jdbc.properties.build=${build.dir.classes}/${package.dir} |
||
83 | |||
84 | log4j.properties.filename=log4j.properties |
||
85 | log4j.properties=${conf.dir}/${log4j.properties.filename} |
||
86 | |||
87 | #log file confirguration |
||
35 | fvelez | 88 | log.file=${data.dir}/estgweb.log |
1 | fvelez | 89 | |
29 | jmachado | 90 | #email templates |
91 | email.templates.dir=/template/email |
||
92 | email.templates.dir.build=${build.dir.classes}${email.templates.dir} |
||
93 | email.templates.dir.conf=${conf.dir}${email.templates.dir} |
||
94 | |||
1 | fvelez | 95 | #DATA |
96 | out.dir=${data.dir}/out |
||
97 | tmp.dir=${data.dir}/tmp |
||
98 | |||
99 | #Paths of packages configuration |
||
100 | package.dir=pt/estgp/estgweb |
||
101 | domain.package.dir=${package.dir}/domain |
||
102 | dao.hbm.package.dir=${hbm.dir}/${domain.package.dir} |
||
103 | dao.domain.package.dir=${gen.dir.java}/${domain.package.dir} |
||
104 | dao.interfaces.package.dir=${dao.domain.package.dir}/dao |
||
105 | dao.impl.package.dir=${dao.interfaces.package.dir}/impl |
||
106 | |||
107 | #Packages configuration |
||
108 | package=pt.estgp.estgweb |
||
109 | domain.package=${package}.domain |
||
110 | dao.interfaces.package=${domain.package}.dao |
||
111 | dao.impl.package=${dao.interfaces.package}.impl |
||
112 | |||
113 | #Hibernate Mappings Builder |
||
114 | mapping.buider.class=${domain.package}.utils.BuildMappings |
||
115 | mapping.buider.class.file=${domain.package.dir}/utils/BuildMappings.java |
||
116 | |||
117 | #templates for code generation |
||
118 | dao.template.dir=${conf.dir}/template/dao |
||
119 | dao.interfaces.template=idao.ftl |
||
120 | dao.impl.template=daoimpl.ftl |
||
121 | dao.file.pattern=Dao |
||
122 |