extensions.st
branchrefactoring-vmdata
changeset 1967 cc28bbc7c624
parent 1953 1e42ad3fc322
child 1959 11cd2c406930
--- a/extensions.st	Tue Jan 15 22:37:18 2013 +0000
+++ b/extensions.st	Wed Jan 16 16:32:33 2013 +0000
@@ -1347,6 +1347,17 @@
 
 !ProjectDefinition class methodsFor:'description - java'!
 
+javaBundle
+    "Defines a Java code bundle provided by this package.
+     Used by STX:LIBJAVA"
+
+    ^nil
+
+    "Created: / 15-01-2013 / 16:49:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!ProjectDefinition class methodsFor:'description - java'!
+
 javaClassPath
 
     "Defines a Java class path containing java classes/jars
@@ -1724,64 +1735,6 @@
 
 !UserPreferences methodsFor:'accessing-java'!
 
-javaClassPath
-    "Return the Java user-defined class path encoded as literal array"
-
-    ^ self at:#javaClassPath ifAbsent:[#()].
-
-    "
-        UserPreferences current javaClassPath
-        UserPreferences current javaClassPath: #openJDK7
-
-        Java classPath
-    "
-
-    "Created: / 27-07-2012 / 12:52:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!UserPreferences methodsFor:'accessing-java'!
-
-javaClassPath: literalArrayEncoding
-    "Sets the Java user-defined class path as literalArrayEncoding of a collection
-     of JavaPathElements"
-
-    self at:#javaClassPath put: literalArrayEncoding.
-    (Java notNil and:[thisContext sender receiver == Java]) ifFalse:[
-        | classPath |
-        classPath := literalArrayEncoding decodeAsLiteralArray.
-        Java classPath: classPath.
-    ].
-
-
-    "
-        UserPreferences current javaClassPath
-        UserPreferences current javaClassPath: #openJDK7
-
-        Java classPath
-    "
-
-    "Created: / 27-07-2012 / 12:50:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!UserPreferences methodsFor:'accessing-java'!
-
-javaClassPathDecoded
-    "Return the Java user-defined class path (a collection of JavaPathElement)"
-
-    ^ self javaClassPath decodeAsLiteralArray
-
-    "
-        UserPreferences current javaClassPathDecoded
-        UserPreferences current javaClassPath
-
-        Java classPath
-    "
-
-    "Created: / 02-08-2012 / 09:43:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!UserPreferences methodsFor:'accessing-java'!
-
 javaRelease
     "Return the Java release according to the preferences
      or nil, if not set"
@@ -1838,64 +1791,6 @@
     "Created: / 27-07-2012 / 10:02:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!UserPreferences methodsFor:'accessing-java'!
-
-javaSourcePath
-    "Return the Java user-defined source path encoded as literal array"
-
-    ^ self at:#javaSourcePath ifAbsent:[#()].
-
-    "
-        UserPreferences current javaSourcePath
-        UserPreferences current javaSourcePath: #openJDK7
-
-        Java sourcePath
-    "
-
-    "Created: / 27-07-2012 / 12:54:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!UserPreferences methodsFor:'accessing-java'!
-
-javaSourcePath: literalArrayEncoding
-    "Sets the Java user-defined source path as literalArrayEncoding of a collection
-     of JavaPathElements"
-
-    self at:#javaSourcePath put: literalArrayEncoding.
-    (Java notNil and:[thisContext sender receiver == Java]) ifFalse:[
-        | classPath |
-        classPath := literalArrayEncoding decodeAsLiteralArray.
-        Java sourceDirectories: classPath.
-    ].
-
-
-    "
-        UserPreferences current javaClassPath
-        UserPreferences current javaClassPath: #openJDK7
-
-        Java sourceDirectories
-    "
-
-    "Created: / 27-07-2012 / 12:54:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!UserPreferences methodsFor:'accessing-java'!
-
-javaSourcePathDecoded
-    "Return the Java user-defined source path (a collection of JavaPathElement)"
-
-    ^ self javaSourcePath decodeAsLiteralArray
-
-    "
-        UserPreferences current javaSourcePathDecoded
-        UserPreferences current javaSourcePath
-
-        Java sourceDirectories
-    "
-
-    "Created: / 02-08-2012 / 09:44:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
 !UserPreferences methodsFor:'accessing-java-devel'!
 
 javaTestsDirectory