You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/05/22 05:30:15 UTC

svn commit: r777372 - in /incubator/kato/branches/experimental/PyJVMTI: build.sh hudsonbuild.sh setup.py

Author: spoole
Date: Fri May 22 05:30:15 2009
New Revision: 777372

URL: http://svn.apache.org/viewvc?rev=777372&view=rev
Log:
updated pyjvmti build scripts to work with hudson

Added:
    incubator/kato/branches/experimental/PyJVMTI/hudsonbuild.sh
Modified:
    incubator/kato/branches/experimental/PyJVMTI/build.sh
    incubator/kato/branches/experimental/PyJVMTI/setup.py

Modified: incubator/kato/branches/experimental/PyJVMTI/build.sh
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/PyJVMTI/build.sh?rev=777372&r1=777371&r2=777372&view=diff
==============================================================================
--- incubator/kato/branches/experimental/PyJVMTI/build.sh (original)
+++ incubator/kato/branches/experimental/PyJVMTI/build.sh Fri May 22 05:30:15 2009
@@ -1,4 +1,4 @@
-export DIRS=foo:foo
+DIRS=$JAVA_HOME/include:$JAVA_HOME/include/linux
 javac -g ./kato/PauseJVM.java
 python -u ./setup.py build
 

Added: incubator/kato/branches/experimental/PyJVMTI/hudsonbuild.sh
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/PyJVMTI/hudsonbuild.sh?rev=777372&view=auto
==============================================================================
--- incubator/kato/branches/experimental/PyJVMTI/hudsonbuild.sh (added)
+++ incubator/kato/branches/experimental/PyJVMTI/hudsonbuild.sh Fri May 22 05:30:15 2009
@@ -0,0 +1,3 @@
+DIRS=/usr/lib/jvm/java-6-openjdk/include:/usr/lib/jvm/java-6-openjdk/include/linux
+javac -g ./kato/PauseJVM.java
+python -u ./setup.py build

Modified: incubator/kato/branches/experimental/PyJVMTI/setup.py
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/PyJVMTI/setup.py?rev=777372&r1=777371&r2=777372&view=diff
==============================================================================
--- incubator/kato/branches/experimental/PyJVMTI/setup.py (original)
+++ incubator/kato/branches/experimental/PyJVMTI/setup.py Fri May 22 05:30:15 2009
@@ -15,12 +15,8 @@
 from distutils.core import setup, Extension
 import os
 
-dirs=['/home/spoole/javasdks/sun/jdk1.6.0_12/include',
-                              '/home/spoole/javasdks/sun/jdk1.6.0_12/include/linux'],
-if os.environ['DIRS'] :
-    dirs=os.environ['DIRS'].split(os.sep)
+dirs=os.environ['DIRS'].split(os.sep)
 
-    
 print "using include path of " , dirs
 
 module1 = Extension('libpyjvmti',