incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r784812 - in /incubator/kato/branches/experimental/PyJVMTI: build.xml kato.xml
Date Mon, 15 Jun 2009 15:33:29 GMT
Author: spoole
Date: Mon Jun 15 15:33:27 2009
New Revision: 784812

URL: http://svn.apache.org/viewvc?rev=784812&view=rev
Log:
small tidy up to PyJVMTI prior to moving into maven build

Removed:
    incubator/kato/branches/experimental/PyJVMTI/kato.xml
Modified:
    incubator/kato/branches/experimental/PyJVMTI/build.xml

Modified: incubator/kato/branches/experimental/PyJVMTI/build.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/PyJVMTI/build.xml?rev=784812&r1=784811&r2=784812&view=diff
==============================================================================
--- incubator/kato/branches/experimental/PyJVMTI/build.xml (original)
+++ incubator/kato/branches/experimental/PyJVMTI/build.xml Mon Jun 15 15:33:27 2009
@@ -11,12 +11,24 @@
 
 	<target name="default">
 		
+		<fail message="required Java SDK include directory property (sdk.include.dir) is missing">
+		     <condition>
+		       <not>
+		         <isset property="sdk.include.dir"/>
+		       </not>
+		     </condition>
+		   </fail>
+
 		
+		<path id="dir">
+			<dirset dir="${sdk.include.dir}"/>
+		</path>
+		<property name="includes" refid="dir"/>
 		<javac debug="true" srcdir="." />
 
 			
-		<exec executable="python">
-			<env key="DIRS" value="${DIRS}"/>
+		<exec executable="python">	
+			<env key="DIRS" value="${includes}"/>
 			<arg value="-u" />
 			<arg value="setup.py" />
 			<arg value="build" />



Mime
View raw message