Subversion Repositories bacoAlunos

Rev

Rev 1 | Rev 29 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

##
## Properties file to be used with ant build.xml
##


##database configuration
database.host=localhost
database.port=3306
database.catalog=estgweb
database.username=root
database.password=
database.connection.url=jdbc:mysql://${database.host}:${database.port}/${database.catalog}?useUnicode=true&characterEncoding=UTF-8
hibernate.show.sql=false


#Paths configuration
tomcat.home=C:/Servidores/tomcat
tomcat.libs.ant.home=${tomcat.home}/server/lib
tomcat.libs.common.home=${tomcat.home}/common/lib

tomcat.host=localhost
tomcat.port=8080
tomcat.url=http://${tomcat.host}:${tomcat.port}
tomcat.manager=${tomcat.url}/manager
tomcat.username=admin
tomcat.password=admin

#IF is ROOT use Nothing
#example for ROOT:
#        tomcat.context.path.install=/
#        tomcat.context.path=
#
#example for /mitra:
#        tomcat.context.path.install=/mitra
#        tomcat.context.path=/mitra
#
tomcat.context.path.install=/estgweb
tomcat.context.path=/estgweb
tomcat.war.file=estgweb.war


common.lib.dir =../common
conf.dir            =conf
lib.dir             =lib
data.dir            =C:/Servidores/DATA/estgweb
src.dir             =src/java
hbm.dir             =src/hbm
build.dir           =build/ant
build.dir.classes   =${build.dir}/classes
build.dir.war       =${build.dir}/war
log.dir             =${data.dir}
dist.dir            =dist
gen.dir             =gen
gen.dir.java        =${gen.dir}/java

#conf files
app.properties.filename=app.properties
app.properties=${conf.dir}/${app.properties.filename}
app.properties.build=${build.dir.classes}/${package.dir}


mime.types.filename=mime.types
mime.types=${conf.dir}/${mime.types.filename}
mime.types.build=${build.dir.classes}/jomm/utils

hibernate.cfg.xml.filename=hibernate.cfg.xml
hibernate.cfg.xml=${conf.dir}/${hibernate.cfg.xml.filename}
hibernate.cfg.xml.build=${build.dir.classes}/${package.dir}

messages.properties.filename=MessageResourcesAll.properties
messages.properties=${conf.dir}/${messages.properties.filename}
messages.properties.build=${build.dir.classes}

ldap.properties.filename=ldap.properties
ldap.properties=${conf.dir}/${ldap.properties.filename}
ldap.properties.build=${build.dir.classes}

jdbc.properties.filename=jdbc.properties
jdbc.properties=${conf.dir}/${jdbc.properties.filename}
jdbc.properties.build=${build.dir.classes}/${package.dir}

log4j.properties.filename=log4j.properties
log4j.properties=${conf.dir}/${log4j.properties.filename}

#log file confirguration
log.file=/estgweb.log

#DATA
out.dir=${data.dir}/out
tmp.dir=${data.dir}/tmp

#Paths of packages configuration
package.dir=pt/estgp/estgweb
domain.package.dir=${package.dir}/domain
dao.hbm.package.dir=${hbm.dir}/${domain.package.dir}
dao.domain.package.dir=${gen.dir.java}/${domain.package.dir}
dao.interfaces.package.dir=${dao.domain.package.dir}/dao
dao.impl.package.dir=${dao.interfaces.package.dir}/impl

#Packages configuration
package=pt.estgp.estgweb
domain.package=${package}.domain
dao.interfaces.package=${domain.package}.dao
dao.impl.package=${dao.interfaces.package}.impl

#Hibernate Mappings Builder
mapping.buider.class=${domain.package}.utils.BuildMappings
mapping.buider.class.file=${domain.package.dir}/utils/BuildMappings.java

#templates for code generation
dao.template.dir=${conf.dir}/template/dao
dao.interfaces.template=idao.ftl
dao.impl.template=daoimpl.ftl
dao.file.pattern=Dao