You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2016/04/13 17:43:23 UTC
incubator-tinkerpop git commit: The :uninstall command was using the
wrong path.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/tp31 136885f9d -> b0345d70b
The :uninstall command was using the wrong path.
This should only have been a problem if using a non-standard tinkerpop.ext path for the console. CTR
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/b0345d70
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/b0345d70
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/b0345d70
Branch: refs/heads/tp31
Commit: b0345d70bfbb028a44bda64e4298a3ab0fd412ae
Parents: 136885f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Apr 13 11:34:38 2016 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Apr 13 11:43:00 2016 -0400
----------------------------------------------------------------------
CHANGELOG.asciidoc | 2 +-
.../tinkerpop/gremlin/console/commands/UninstallCommand.groovy | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/b0345d70/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index bc4ceb2..c7165bd 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,7 +26,7 @@ image::https://raw.githubusercontent.com/apache/incubator-tinkerpop/master/docs/
TinkerPop 3.1.3 (NOT OFFICIALLY RELEASED YET)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
+* Fixed bug in `:uninstall` command if the default `/ext` directory was not used.
[[release-3-1-2-incubating]]
TinkerPop 3.1.2 (Release Date: April 8, 2016)
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/b0345d70/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/UninstallCommand.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/UninstallCommand.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/UninstallCommand.groovy
index ea2565d..9597fd3 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/UninstallCommand.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/UninstallCommand.groovy
@@ -18,6 +18,7 @@
*/
package org.apache.tinkerpop.gremlin.console.commands
+import org.apache.tinkerpop.gremlin.console.ConsoleFs
import org.apache.tinkerpop.gremlin.console.Mediator
import org.codehaus.groovy.tools.shell.CommandSupport
import org.codehaus.groovy.tools.shell.Groovysh
@@ -53,8 +54,7 @@ class UninstallCommand extends CommandSupport {
}
private static String getPathFromDependency(final String module) {
- def fileSep = System.getProperty("file.separator")
- def extClassPath = System.getProperty("user.dir") + fileSep + "ext" + fileSep + (String) module
+ def extClassPath = ConsoleFs.CONSOLE_HOME_DIR + (String) module
return extClassPath
}
}
\ No newline at end of file