You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by jo...@apache.org on 2017/11/30 15:06:42 UTC

tinkerpop git commit: Adjust pom.xml to be forward compatible

Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1489 f4a27b033 -> db9c70416


Adjust pom.xml to be forward compatible


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/db9c7041
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/db9c7041
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/db9c7041

Branch: refs/heads/TINKERPOP-1489
Commit: db9c7041650155423437e0e123b0d3488a6a2ed7
Parents: f4a27b0
Author: Jorge Bay Gondra <jo...@gmail.com>
Authored: Thu Nov 30 16:05:10 2017 +0100
Committer: Jorge Bay Gondra <jo...@gmail.com>
Committed: Thu Nov 30 16:05:10 2017 +0100

----------------------------------------------------------------------
 gremlin-javascript/pom.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/db9c7041/gremlin-javascript/pom.xml
----------------------------------------------------------------------
diff --git a/gremlin-javascript/pom.xml b/gremlin-javascript/pom.xml
index 830052b..aa219ab 100644
--- a/gremlin-javascript/pom.xml
+++ b/gremlin-javascript/pom.xml
@@ -150,7 +150,8 @@ def binding = ["enums": CoreImports.getClassImports()
                                         findAll { GraphTraversalSource.class.equals(it.returnType) }.
                                         findAll {
                                             !it.name.equals("clone") &&
-                                                    !it.name.equals(TraversalSource.Symbols.withBindings) &&
+                                                    // Use hardcoded name to be for forward-compatibility
+                                                    !it.name.equals("withBindings") &&
                                                     !it.name.equals(TraversalSource.Symbols.withRemote) &&
                                                     !it.name.equals(TraversalSource.Symbols.withComputer)
                                         }.
@@ -223,6 +224,10 @@ packageJsonFile.newWriter().withWriter{ it << packageJsonTemplate }
                                     <name>executionName</name>
                                     <value>${project.name}</value>
                                 </property>
+                                <property>
+                                    <name>projectBaseDir</name>
+                                    <value>${project.basedir}</value>
+                                </property>
                             </properties>
                             <scripts>
                                 <script>${gremlin.server.dir}/src/test/scripts/test-server-start.groovy</script>