Rev 1 | Rev 29 | 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 | |||
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 |
||
18 | jmachado | 45 | data.dir =C:/Servidores/DATA/estgweb |
1 | fvelez | 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 | |||
18 | jmachado | 62 | mime.types.filename=mime.types |
63 | mime.types=${conf.dir}/${mime.types.filename} |
||
64 | mime.types.build=${build.dir.classes}/jomm/utils |
||
65 | |||
1 | fvelez | 66 | hibernate.cfg.xml.filename=hibernate.cfg.xml |
67 | hibernate.cfg.xml=${conf.dir}/${hibernate.cfg.xml.filename} |
||
68 | hibernate.cfg.xml.build=${build.dir.classes}/${package.dir} |
||
69 | |||
70 | messages.properties.filename=MessageResourcesAll.properties |
||
71 | messages.properties=${conf.dir}/${messages.properties.filename} |
||
72 | messages.properties.build=${build.dir.classes} |
||
73 | |||
74 | ldap.properties.filename=ldap.properties |
||
75 | ldap.properties=${conf.dir}/${ldap.properties.filename} |
||
76 | ldap.properties.build=${build.dir.classes} |
||
77 | |||
78 | jdbc.properties.filename=jdbc.properties |
||
79 | jdbc.properties=${conf.dir}/${jdbc.properties.filename} |
||
80 | jdbc.properties.build=${build.dir.classes}/${package.dir} |
||
81 | |||
82 | log4j.properties.filename=log4j.properties |
||
83 | log4j.properties=${conf.dir}/${log4j.properties.filename} |
||
84 | |||
85 | #log file confirguration |
||
86 | log.file=/estgweb.log |
||
87 | |||
88 | #DATA |
||
89 | out.dir=${data.dir}/out |
||
90 | tmp.dir=${data.dir}/tmp |
||
91 | |||
92 | #Paths of packages configuration |
||
93 | package.dir=pt/estgp/estgweb |
||
94 | domain.package.dir=${package.dir}/domain |
||
95 | dao.hbm.package.dir=${hbm.dir}/${domain.package.dir} |
||
96 | dao.domain.package.dir=${gen.dir.java}/${domain.package.dir} |
||
97 | dao.interfaces.package.dir=${dao.domain.package.dir}/dao |
||
98 | dao.impl.package.dir=${dao.interfaces.package.dir}/impl |
||
99 | |||
100 | #Packages configuration |
||
101 | package=pt.estgp.estgweb |
||
102 | domain.package=${package}.domain |
||
103 | dao.interfaces.package=${domain.package}.dao |
||
104 | dao.impl.package=${dao.interfaces.package}.impl |
||
105 | |||
106 | #Hibernate Mappings Builder |
||
107 | mapping.buider.class=${domain.package}.utils.BuildMappings |
||
108 | mapping.buider.class.file=${domain.package.dir}/utils/BuildMappings.java |
||
109 | |||
110 | #templates for code generation |
||
111 | dao.template.dir=${conf.dir}/template/dao |
||
112 | dao.interfaces.template=idao.ftl |
||
113 | dao.impl.template=daoimpl.ftl |
||
114 | dao.file.pattern=Dao |
||
115 |