Commits

Marcus R. Brown committed 899189f

Begin removing dependencies on the posix module.

Comments (0)

Files changed (2)

             
             <!-- MRB TODO: Remove jffi. -->
             <exclude name="**/modules/jffi/*.java" />
+            
+            <!-- MRB TODO: Remove posix module. -->
+            <exclude name="**/modules/posix/*.java" />
 
             <classpath refid="main.classpath" />
             <classpath>
             <!-- zipfileset src="extlibs/jffi-x86_64-SunOS.jar"/-->
             <!-- zipfileset src="extlibs/jffi-x86_64-Windows.jar"/-->
             <!-- zipfileset src="extlibs/jffi.jar"/-->
-            <zipfileset src="extlibs/jnr-posix.jar"/>
-            <zipfileset src="extlibs/jnr-netdb-0.4.jar"/>
+            <!-- MRB TODO: Remove posix module. -->
+            <!-- zipfileset src="extlibs/jnr-posix.jar"/-->
+            <!-- zipfileset src="extlibs/jnr-netdb-0.4.jar"/-->
             <!-- <rule pattern="com.sun.jna.**" result="org.python.jna.@1"/> -->
             <rule pattern="org.jruby.ext.posix.**" result="org.python.posix.@1"/>
             <zipfileset src="extlibs/constantine.jar"/>

src/org/python/modules/Setup.java

 // Copyright (c) Corporation for National Research Initiatives
 package org.python.modules;
 
-import org.python.modules.posix.PosixModule;
+// MRB TODO: Remove posix module.
+//import org.python.modules.posix.PosixModule;
 
 // This is sort of analogous to CPython's Modules/Setup file.  Use this to
 // specify additional builtin modules.
         "_ast:org.python.antlr.ast.AstModule",
         "_marshal",
         "_threading:org.python.modules._threading._threading",
-        PosixModule.getOSName() + ":org.python.modules.posix.PosixModule",
+// MRB TODO: Remove posix module.
+//        PosixModule.getOSName() + ":org.python.modules.posix.PosixModule",
 // MRB TODO: Remove jffi.
 //        "jffi:org.python.modules.jffi.jffi"
     };