[jboss-cvs] JBossAS SVN: r84829 - projects/jboss-osgi/trunk/build/hudson.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 26 16:48:06 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-02-26 16:48:06 -0500 (Thu, 26 Feb 2009)
New Revision: 84829

Modified:
   projects/jboss-osgi/trunk/build/hudson/build.xml
Log:
Fix hudson-setup

Modified: projects/jboss-osgi/trunk/build/hudson/build.xml
===================================================================
--- projects/jboss-osgi/trunk/build/hudson/build.xml	2009-02-26 21:46:52 UTC (rev 84828)
+++ projects/jboss-osgi/trunk/build/hudson/build.xml	2009-02-26 21:48:06 UTC (rev 84829)
@@ -15,6 +15,7 @@
   
   <property name="hudson.dir" value="${basedir}"/>
   <property name="hudson.target.dir" value="${hudson.dir}/target"/>
+  <property name="project.root.dir" value="${basedir}/../.."/>
   
   <!-- ================================================================== -->
   <!-- Initialization                                                     -->
@@ -27,7 +28,7 @@
     
     <property file="${basedir}/ant.properties"/>
     
-    <xmlproperty file="${basedir}/../../pom.xml"/>
+    <xmlproperty file="${project.root.dir}/pom.xml"/>
     <property name="version.id" value="${project.version}"/>
     <property name="repository.id" value="${project.version}"/>
     
@@ -116,7 +117,7 @@
   <target name="hudson-setup" depends="init-hudson,hudson-tomcat-setup"  description="Setup the Hudson QA environment">
     
     <!-- get the svn url -->
-    <exec dir="${hudson.dir}/.." executable="svn" failonerror="true" output="${hudson.target.dir}/svn-info.xml">
+    <exec dir="${project.root.dir}" executable="svn" failonerror="true" output="${hudson.target.dir}/svn-info.xml">
       <arg line="info"/>
       <arg line="--xml"/>
     </exec>




More information about the jboss-cvs-commits mailing list