Author: ritchiem
Date: Mon Jun 14 13:13:43 2010
New Revision: 954438

URL: http://svn.apache.org/viewvc?rev=954438&view=rev
Log:
QPID-2652 : Update client build.xml to use local property for genration, this 
will prevent the framing being rebuilt on every ant run.

Modified:
    qpid/trunk/qpid/java/common/build.xml

Modified: qpid/trunk/qpid/java/common/build.xml
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/common/build.xml?rev=954438&r1=954437&r2=954438&view=diff
==============================================================================
--- qpid/trunk/qpid/java/common/build.xml (original)
+++ qpid/trunk/qpid/java/common/build.xml Mon Jun 14 13:13:43 2010
@@ -24,15 +24,14 @@
 
   <import file="../module.xml"/>
 
-  <property name="gentools.home" location="${project.root}/../gentools" />
   <property name="generated.package" value="org/apache/qpid/framing" />
-  <property name="generated.dir" 
location="${module.precompiled}/${generated.package}" />
+  <property name="framing.generated.dir" 
location="${module.precompiled}/${generated.package}" />
   <property name="qpidbuildversion.java" 
location="${module.precompiled}/org/apache/qpid/QpidBuildVersion.java" />
   <property name="xml.spec.dir" location="${project.root}/../specs" />
   <property name="xml.spec.deps" value="amqp.0-8.xml amqp.0-9.xml 
amqp0-9-1.stripped.xml" />
   <property name="xml.spec.list" value='"${xml.spec.dir}/amqp.0-8.xml" 
"${xml.spec.dir}/amqp.0-9.xml" "${xml.spec.dir}/amqp0-9-1.stripped.xml"' />
-  <property name="gentools.timestamp" 
location="${generated.dir}/gentools.timestamp" />
-  <property name="jython.timestamp" 
location="${generated.dir}/jython.timestamp" />
+  <property name="gentools.timestamp" 
location="${framing.generated.dir}/gentools.timestamp" />
+  <property name="jython.timestamp" 
location="${framing.generated.dir}/jython.timestamp" />
 
   <target name="check_jython_deps">
     <uptodate property="jython.notRequired" targetfile="${jython.timestamp}">
@@ -63,9 +62,9 @@
   </target>
 
   <target name="gentools" depends="compile_gentools,check_gentool_deps" 
unless="gentools.notRequired">
-    <mkdir dir="${generated.dir}"/>
+    <mkdir dir="${framing.generated.dir}"/>
     <java classname="org.apache.qpid.gentools.Main" fork="true" 
dir="${gentools.home}/src" failonerror="true">
-      <arg line='-j -o "${generated.dir}" -t 
"${project.root}/common/templates" ${xml.spec.list}'/>
+      <arg line='-j -o "${framing.generated.dir}" -t 
"${project.root}/common/templates" ${xml.spec.list}'/>
       <classpath>
         <pathelement path="${gentools.home}/src" />
         <fileset dir="${gentools.home}/lib">



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscr...@qpid.apache.org

Reply via email to