You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2013/09/04 23:43:27 UTC

git commit: Add description to build.xml adhoc testing convenience targets.

Updated Branches:
  refs/heads/master 126d15b02 -> d33d044fc


Add description to build.xml adhoc testing convenience targets.


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

Branch: refs/heads/master
Commit: d33d044fca900744c4945fdbbe9e2a6e14a1a8a8
Parents: 126d15b
Author: Kevin Minder <ke...@hortonworks.com>
Authored: Wed Sep 4 17:42:15 2013 -0400
Committer: Kevin Minder <ke...@hortonworks.com>
Committed: Wed Sep 4 17:42:15 2013 -0400

----------------------------------------------------------------------
 build.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/d33d044f/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 77ed8bc..7255c38 100644
--- a/build.xml
+++ b/build.xml
@@ -173,7 +173,7 @@
         </exec>
     </target>
 
-    <target name="install-test-home" description="Install package release into install directory.">
+    <target name="install-test-home" description="Install binary release into install directory.">
         <delete dir="install" quiet="true"/>
         <unzip src="target/${gateway-version}/${gateway-artifact}-${gateway-version}.zip/" dest="install"/>
         <echo file="install/${gateway-artifact}-${gateway-version}/conf/security/master">#1.0# Mon, Aug 26 2013 14:25:31.483
@@ -181,7 +181,7 @@ cGkvajhUZHBNSTQ9OjpPMk5PQktYaHRyUmJoTW1zWGo0bytRPT06OkxtVjlvSDdIOWdvSEZqNTRlWVJ2
         <chmod file="install/${gateway-artifact}-${gateway-version}/conf/security/master" perm="600"/>
     </target>
 
-    <target name="start-test-ldap">
+    <target name="start-test-ldap" description="Spawn test LDAP server.">
         <exec executable="java" dir="install/${gateway-artifact}-${gateway-version}" spawn="true">
             <arg value="-jar"/>
             <arg value="bin/ldap.jar"/>
@@ -189,14 +189,14 @@ cGkvajhUZHBNSTQ9OjpPMk5PQktYaHRyUmJoTW1zWGo0bytRPT06OkxtVjlvSDdIOWdvSEZqNTRlWVJ2
         </exec>
     </target>
 
-    <target name="start-test-gateway">
-        <exec executable="java" dir="install/${gateway-artifact}-${gateway-version}" inputstring="knox\nknox\n">
+    <target name="start-test-gateway" description="Start test gateway server.">
+        <exec executable="java" dir="install/${gateway-artifact}-${gateway-version}">
             <arg value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"/>
             <arg value="-jar"/>
             <arg value="bin/gateway.jar"/>
         </exec>
     </target>
 
-    <target name="start-test-servers" depends="start-test-ldap,start-test-gateway"/>
+    <target name="start-test-servers" depends="start-test-ldap,start-test-gateway" description="Spawn test LDAP server and start test gateway server."/>
 
 </project>