Subversion Repositories bacoAlunos

Rev

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