Tweak the build script, so a developer can build vitro-core and it won't have any effect when they build vivoweb in the same workspace.

This commit is contained in:
jeb228 2010-01-29 22:12:41 +00:00
commit 3f17d16d7b
68 changed files with 40148 additions and 0 deletions

58
config/build.properties Normal file
View file

@ -0,0 +1,58 @@
#
# This is where we're assembling the source.
#
deploy.staging.dir = .deployStaging
#
# Setting up the config properties.
#
deploy.properties.file = deploy.properties
globalbuild.template.file = config/globalbuild.properties.template
connection.template.file = config/connection.properties.template
upload.template.file = config/upload.properties.template
lucene.template.file = config/LuceneSetup.properties.template
vitroUsers.template.file = config/vitroUsers.owl.template
globalbuild.properties.file = ${deploy.staging.dir}/config/globalbuild.properties
connection.properties.file = ${deploy.staging.dir}/webapp/config/connection.properties
upload.properties.file = ${deploy.staging.dir}/webapp/config/upload.properties
lucene.properties.file = ${deploy.staging.dir}/webapp/config/LuceneSetup.properties
vitroUsers.owl.file = ${deploy.staging.dir}/webapp/ontologies/auth/vitroUsers.owl
#
# Prepare the staging area
#
core-build.blocking.path = webapp/.build/**/*
themes.blocking.path = webapp/web/themes/**/*
#
# Installing the themes.
#
themes.source.dir = themes/
themes.destination.dir = ${deploy.staging.dir}/webapp/web/themes/
#
# Installing the Ontology.
#
ontology.source.dir = ontology
ontology.destination.dir = ${deploy.staging.dir}/webapp/ontologies/user
#
# Installing the Model.
#
submodels.source.dir = model/submodels
submodels.destination.dir = ${deploy.staging.dir}/webapp/model/submodels
init-data.source.dir = model/init-data
init-data.destination.dir = ${deploy.staging.dir}/webapp/model/init-data
#
# Adding modifications
#
modifications.source.dir = modifications
modifications.destination.dir = ${deploy.staging.dir}/webapp/web
#
# The core compile and deploy.
#
vitro-core.build.file = ${deploy.staging.dir}/webapp/build.xml