Author: lahiru
Date: Wed Oct  8 10:55:40 2008
New Revision: 702940

URL: http://svn.apache.org/viewvc?rev=702940&view=rev
Log:
change the build according to bind with management console.

Modified:
    incubator/qpid/trunk/qpid/java/build.xml
    incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli
    incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli.bat
    incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/build.xml

Modified: incubator/qpid/trunk/qpid/java/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/build.xml?rev=702940&r1=702939&r2=702940&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/build.xml (original)
+++ incubator/qpid/trunk/qpid/java/build.xml Wed Oct  8 10:55:40 2008
@@ -27,8 +27,10 @@
   <property name="modules.tests"      value="systests perftests 
integrationtests testkit"/>
   <property name="modules.management" value="management/eclipse-plugin"/>
   <property name="modules.plugin"     value="broker-plugins"/>
-
-  <property name="modules"            value="${modules.core} ${modules.plugin} 
${modules.examples} ${modules.tests} ${modules.management}"/>
+  <property name="modules.management.tools" value="management/tools/qpid-cli"/>
+  <property name="modules"            value="${modules.core}
+  ${modules.plugin} ${modules.examples} ${modules.tests}
+  ${modules.management} ${modules.management.tools}"/>
 
   <property name="qpid.jar"           
location="${build.lib}/qpid-incubating.jar"/>
   <basename property="qpid.jar.name"  file="${qpid.jar}"/>

Modified: incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli?rev=702940&r1=702939&r2=702940&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli 
(original)
+++ incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli Wed 
Oct  8 10:55:40 2008
@@ -4,8 +4,8 @@
 # or more contributor license agreements.  See the NOTICE file
 # distributed with this work for additional information
 # regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
+# tonn you under the Apache License, Version 2.0 (the
+# "Licnense"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
 #   http://www.apache.org/licenses/LICENSE-2.0
@@ -18,7 +18,7 @@
 # under the License.
 #
 # set classpath to using jar files
-for f in $QPID_CLI/lib/*.jar
+for f in $QPID_HOME/lib/*.jar
 do
   CLASSPATH=$CLASSPATH:$f
 done
@@ -26,9 +26,12 @@
 
 
 
-export CLASSPATH=$CLASSPATH:$QPID_CLI/build/main/classes/
-echo $CLASSPATH
+export CLASSPATH=$CLASSPATH:$QPID_HOME/management/tools/qpid-cli/main/classes/
+
 
 
 
 java -classpath $CLASSPATH org.apache.qpid.CommandLineInterpreter $@
+
+
+

Modified: 
incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli.bat
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli.bat?rev=702940&r1=702939&r2=702940&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli.bat 
(original)
+++ incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/bin/qpid-cli.bat 
Wed Oct  8 10:55:40 2008
@@ -16,10 +16,10 @@
 @REM specific language governing permissions and limitations
 @REM under the License.
 @REM
-set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/jline-0.9.94.jar
-set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/junit-4.4.jar
-set CLASSPATH=%CLASSPATH%;%QPID_CLI%/lib/qpid-cli-1.0.jar
-set CLASSPATH=%CLASSPATH%;%QPID_CLI%/build/main/classes/
+set CLASSPATH=%CLASSPATH%;%QPID_HOME%/lib/jline-0.9.94.jar
+set CLASSPATH=%CLASSPATH%;%QPID_HOME%/lib/junit-4.4.jar
+set CLASSPATH=%CLASSPATH%;%QPID_HOME%/lib/qpid-cli-1.0.jar
+set CLASSPATH=%CLASSPATH%;%QPID_HOME%/management/tools/qpid-cli/main/classes/
 java -classpath %CLASSPATH% org.apache.qpid.CommandLineInterpreter %1
 
 

Modified: incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/build.xml?rev=702940&r1=702939&r2=702940&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/build.xml 
(original)
+++ incubator/qpid/trunk/qpid/java/management/tools/qpid-cli/build.xml Wed Oct  
8 10:55:40 2008
@@ -1,7 +1,28 @@
-<?xml version="1.0" ?>
+<!--
+ -
+ - Licensed to the Apache Software Foundation (ASF) under one
+ - or more contributor license agreements.  See the NOTICE file
+ - distributed with this work for additional information
+ - regarding copyright ownership.  The ASF licenses this file
+ - to you under the Apache License, Version 2.0 (the
+ - "License"); you may not use this file except in compliance
+ - with the License.  You may obtain a copy of the License at
+ - 
+ -   http://www.apache.org/licenses/LICENSE-2.0
+ - 
+ - Unless required by applicable law or agreed to in writing,
+ - software distributed under the License is distributed on an
+ - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ - KIND, either express or implied.  See the License for the
+ - specific language governing permissions and limitations
+ - under the License.
+ -
+ -->
 <project name="lahirugsoc2008">
+    <import file="../../../module.xml"/>
+    <property name="module.depends" value="common"/>
     <property name="src.dir" value="src"/>
-    <property name="build.dir" value="build"/>
+    <property name="build.dir" value="${module.build}"/>
     <property name="build.src.dir" value="${build.dir}/main/"/>
     <property name="build.test.dir" value="${build.dir}/test/"/>
     <property name="build.src.classes.dir" value="${build.src.dir}/classes"/>
@@ -22,6 +43,10 @@
         <mkdir dir="${build.src.classes.dir}" />
         <mkdir dir="${build.test.classes.dir}"/>
         <mkdir dir="${jar.dir}"/>
+        <copy file="lib/${dependency1}" todir="${project.root}/lib"/>
+        <copy file="lib/${dependency2}" todir="${project.root}/lib"/>
+        <copy file="bin/qpid-cli" todir="${project.root}/bin"/>
+        <copy file="bin/qpid-cli.bat" todir="${project.root}/bin"/>
     </target>
     <target name="clean">
         <delete dir="${build.src.dir}"/>


Reply via email to