Permalink
Browse files

Updates all refs in build and VCS descriptor files to sdkman.

  • Loading branch information...
1 parent 0ad8753 commit 1f6dbee2e411b214254bb7b38000baed8890e83f @marc0der marc0der committed May 29, 2015
Showing with 28 additions and 28 deletions.
  1. +4 −4 .gitignore
  2. +14 −14 build.gradle
  3. +10 −10 config.groovy
View
@@ -10,10 +10,10 @@
\#*
build/
classes
-gvm-cli.iml
-gvm.iml
-gvm.ipr
-gvm.iws
+sdkman-cli.iml
+sdkman.iml
+sdkman.ipr
+sdkman.iws
mongo.json
out/
sdkman-cli.iml
View
@@ -13,8 +13,8 @@ apply plugin: 'eclipse'
defaultTasks 'clean', 'prepareTestScripts', 'prepareScripts', 'prepareServer', 'prepareTemplates', 'assembleArchive', 'test'
def userHome = System.getProperty('user.home')
-ext.installBinDir = "${userHome}/.gvm/bin"
-ext.installSrcDir = "${userHome}/.gvm/src"
+ext.installBinDir = "${userHome}/.sdkman/bin"
+ext.installSrcDir = "${userHome}/.sdkman/src"
ext.defaultGvmVersion = '1.0.0-SNAPSHOT'
@@ -56,7 +56,7 @@ task prepareServer(type: Copy){
from 'src/main/vertx'
into 'build/server'
include 'server.groovy'
- filter(ReplaceTokens, tokens: [GVM_VERSION:config.gvmVersion ?: defaultGvmVersion, VERTX_VERSION:config.vertxVersion])
+ filter(ReplaceTokens, tokens: [GVM_VERSION:config.sdkManVersion ?: defaultGvmVersion, VERTX_VERSION:config.vertxVersion])
}
task prepareTestScripts(type: Copy) {
@@ -66,9 +66,9 @@ task prepareTestScripts(type: Copy) {
filter(ReplaceTokens, tokens:
[
GVM_VERSION : "x.y.z",
- GVM_SERVICE : config.gvmService,
- GVM_BROKER_SERVICE : config.gvmBrokerService,
- GVM_BROADCAST_SERVICE: config.gvmBroadcastService
+ GVM_SERVICE : config.sdkManService,
+ GVM_BROKER_SERVICE : config.sdkManBrokerService,
+ GVM_BROADCAST_SERVICE: config.sdkManBroadcastService
]
)
}
@@ -79,18 +79,18 @@ task prepareScripts(type: Copy) {
include '**/*'
filter(ReplaceTokens, tokens:
[
- GVM_VERSION : config.gvmVersion ?: defaultGvmVersion,
- GVM_SERVICE : config.gvmService,
- GVM_BROKER_SERVICE : config.gvmBrokerService,
- GVM_BROADCAST_SERVICE: config.gvmBroadcastService
+ GVM_VERSION : config.sdkManVersion ?: defaultGvmVersion,
+ GVM_SERVICE : config.sdkManService,
+ GVM_BROKER_SERVICE : config.sdkManBrokerService,
+ GVM_BROADCAST_SERVICE: config.sdkManBroadcastService
]
)
}
task assembleArchive(type: Zip) {
classifier = 'scripts'
from "build/scripts"
- include "gvm*"
+ include "sdkman*"
}
task cleanInstallInit(type: Delete) {
@@ -104,14 +104,14 @@ task cleanInstallModules(type: Delete) {
task installInit(type: Copy, dependsOn: [cleanInstallInit, prepareScripts]) {
from "build/scripts"
into installBinDir
- include "gvm-init.sh"
+ include "sdkman-init.sh"
}
task installModules(type: Copy, dependsOn: [cleanInstallModules, prepareScripts]) {
from "build/scripts"
into installSrcDir
- include "gvm-*.sh"
- exclude "gvm-init.sh"
+ include "sdkman-*.sh"
+ exclude "sdkman-init.sh"
}
task install(dependsOn: [installInit, installModules])
View
@@ -1,19 +1,19 @@
vertxVersion = '1.3.1.final'
-gvmVersion = '1.0.0-SNAPSHOT'
+sdkManVersion = '1.0.0-SNAPSHOT'
environments {
local {
- gvmService = 'http://localhost:8080'
- gvmBroadcastService = 'http://localhost:8080'
- gvmBrokerService = 'http://localhost:8080'
+ sdkManService = 'http://localhost:8080'
+ sdkManBroadcastService = 'http://localhost:8080'
+ sdkManBrokerService = 'http://localhost:8080'
}
master {
- gvmService = 'http://dev.gvmtool.net'
- gvmBroadcastService = 'http://cast-dev.gvm.io'
- gvmBrokerService = 'http://release-dev.gvm.io'
+ sdkManService = 'http://dev.gvmtool.net'
+ sdkManBroadcastService = 'http://cast-dev.gvm.io'
+ sdkManBrokerService = 'http://release-dev.gvm.io'
}
production {
- gvmService = 'http://api.gvmtool.net'
- gvmBroadcastService = 'http://cast.gvm.io'
- gvmBrokerService = 'http://release.gvm.io'
+ sdkManService = 'http://api.gvmtool.net'
+ sdkManBroadcastService = 'http://cast.gvm.io'
+ sdkManBrokerService = 'http://release.gvm.io'
}
}

0 comments on commit 1f6dbee

Please sign in to comment.