Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Institut für Informatik
dbis
dbis-isochrone
isochrone
Commits
f4e4ac4e
Commit
f4e4ac4e
authored
11 years ago
by
Nikolaus Krismer
Browse files
Options
Downloads
Patches
Plain Diff
fixed some deployment issues (invalid username after changes in
bootstrap; added missing httputils dependency)
parent
b39a6829
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.gradle
+15
-7
15 additions, 7 deletions
build.gradle
etc/vagrant/bootstrap.sh
+6
-1
6 additions, 1 deletion
etc/vagrant/bootstrap.sh
with
21 additions
and
8 deletions
build.gradle
+
15
−
7
View file @
f4e4ac4e
...
...
@@ -11,7 +11,7 @@ apply plugin: 'wrapper'
import
org.apache.tools.ant.filters.FixCrLfFilter
import
org.apache.tools.ant.filters.ReplaceTokens
group
=
'it.unibz.inf.isochrone
s
'
group
=
'it.unibz.inf.isochrone'
version
=
'1.1-SNAPSHOT'
description
=
'PhD project of Nikolaus Krismer'
...
...
@@ -23,7 +23,7 @@ def getDate() {
}
ext
{
defaultVersion
=
'0.
3
-SNAPSHOT'
defaultVersion
=
'0.
1
-SNAPSHOT'
isRelease
=
false
// vagrantDirString = System.properties['user.home'] + '/vagrantboxes/' + project.name.toLowerCase()
// vagrantDirString = '/media/data/VMs/vagrantboxes/' + project.name.toLowerCase()
...
...
@@ -65,16 +65,23 @@ buildscript {
}
dependencies
{
providedCompile
group:
'javax.servlet'
,
name:
'javax.servlet-api'
,
version:
'3.
0.1
'
providedCompile
group:
'javax.servlet'
,
name:
'javax.servlet-api'
,
version:
'3.
1.0
'
providedCompile
group:
'javax.websocket'
,
name:
'javax.websocket-api'
,
version:
'1.0'
compile
group:
'org.postgresql'
,
name:
'postgresql'
,
version:
'9.3-1100-jdbc41'
compile
group:
'commons-dbutils'
,
name:
'commons-dbutils'
,
version:
'1.2'
compile
group:
'it.geosolutions'
,
name:
'geoserver-manager'
,
version:
'1.5.2'
compile
group:
'commons-httpclient'
,
name:
'commons-httpclient'
,
version:
'3.1'
compile
(
group:
'it.geosolutions'
,
name:
'geoserver-manager'
,
version:
'1.5.2'
)
{
exclude
(
module:
'jcl-over-slf4j'
)
}
compile
group:
'org.json'
,
name:
'json'
,
version:
'20131018'
compile
(
group:
'org.postgis'
,
name:
'postgis-jdbc'
,
version:
'1.3+'
)
{
exclude
(
module:
'postgis-stubs'
)
}
compile
group:
'org.postgresql'
,
name:
'postgresql'
,
version:
'9.3-1100-jdbc41'
compile
group:
'org.tinylog'
,
name:
'tinylog'
,
version:
'0.8.1'
runtime
'org.slf4j:jcl-over-slf4j:1.7.5'
runtime
'ch.qos.logback:logback-classic:1.0.13'
testCompile
'org.testng:testng:6+'
}
...
...
@@ -106,11 +113,12 @@ eclipse {
wtp
{
component
{
contextPath
=
'/isochrones'
contextPath
=
'/isochrone'
deployName
=
'isochrone'
}
facet
{
facet
name:
'jst.web'
,
version:
'3.0
.1
'
facet
name:
'jst.web'
,
version:
'3.0'
facet
name:
'jst.java'
,
version:
'1.7'
}
}
...
...
This diff is collapsed.
Click to expand it.
etc/vagrant/bootstrap.sh
+
6
−
1
View file @
f4e4ac4e
...
...
@@ -623,7 +623,12 @@ if $IMPORT_OSMDATA || $IMPORT_OSMDATA_CACHED; then
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$SHARED_CONF_DIR
/geoserver_setup_neo4j_ft.gs
>>
setup_geoserver_neo4j.log 2>&1
fi
if
$INSTALL_POSTGIS
;
then
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$SHARED_CONF_DIR
/geoserver_setup_postgis_ds.gs
>
setup_geoserver_postgis.log 2>&1
// copy geoserver_setup_postgis_ds and replace username/password
cp
$SHARED_CONF_DIR
/geoserver_setup_postgis_ds.gs
$WORKING_DIR
/geoserver_setup_postgis_ds.gs
sed
-i
"s/@db_username@/
$PG_DB_USER
/"
$WORKING_DIR
/geoserver_setup_postgis_ds.gs
sed
-i
"s/@db_password@/
$PG_DB_PASSWORD
/"
$WORKING_DIR
/geoserver_setup_postgis_ds.gs
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$WORKING_DIR
/geoserver_setup_postgis_ds.gs
>
setup_geoserver_postgis.log 2>&1
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$SHARED_CONF_DIR
/geoserver_setup_postgis_ft_bz.gs
>>
setup_geoserver_postgis.log 2>&1
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$SHARED_CONF_DIR
/geoserver_setup_postgis_ft_ibk.gs
>>
setup_geoserver_postgis.log 2>&1
sh
$DEPLOY_DIR
/gs-shell/bin/gs-shell
--cmdfile
$SHARED_CONF_DIR
/geoserver_setup_postgis_ft.gs
>>
setup_geoserver_postgis.log 2>&1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment