experiments/stx_libjava_experiments.st
changeset 2678 c865275e48a7
parent 2449 2c8d14e14a4f
child 2731 13f5be2bf83b
--- a/experiments/stx_libjava_experiments.st	Fri Aug 16 19:52:36 2013 +0200
+++ b/experiments/stx_libjava_experiments.st	Fri Sep 06 02:45:44 2013 +0200
@@ -63,35 +63,42 @@
  OTHER DEALINGS IN THE SOFTWARE.
 
 "
-!
-
-extensionsVersion_SVN
-    ^ '$Id: stx_libjava_experiments.st,v 1.4 2013-03-08 23:52:44 stefan Exp $'
 ! !
 
 !stx_libjava_experiments class methodsFor:'description'!
 
-excludedFromPreRequisites
-    "list all packages which should be ignored in the automatic
-     preRequisites scan. See #preRequisites for more."
-
-    ^ #(
-    )
-!
-
 mandatoryPreRequisites
     "list all required mandatory packages.
      Packages are mandatory, if they contain superclasses of the package's classes
      or classes which are extended by this package.
      This list can be maintained manually or (better) generated and
      updated by scanning the superclass hierarchies
-     (the browser has a menu function for that)
-     However, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPreRequisites method."
+     (the browser has a menu function for that)"
 
     ^ #(
-        #'stx:libbasic'    "Behavior - extended "
-        #'stx:libjava'    "JavaClass - extended "
+        #'stx:goodies/petitparser'    "PPCompositeParser - superclass of JavaCompiler::ClassSourceAnalyzer "
+        #'stx:goodies/sunit'    "TestAsserter - superclass of JavaByteCodeInterpreterTests "
+        #'stx:libbasic'    "Collection - superclass of SetSample "
+        #'stx:libjava'    "Java - superclass of JavaMethodWrapperCompiler "
+        #'stx:libjava/tools'    "JavaParserI - superclass of JavaCompiler::ClassSourceAnalyzer "
+    )
+!
+
+preRequisites
+    "list all required packages.
+     This list can be maintained manually or (better) generated and
+     updated by scanning the superclass hierarchies and looking for
+     global variable accesses. (the browser has a menu function for that)
+     Howevery, often too much is found, and you may want to explicitely
+     exclude individual packages in the #excludedFromPrerequisites method."
+
+    ^ #(
+        #'stx:goodies/sunit'    "TestCase - superclass of SingleClassReloadingTests "
+        #'stx:libbasic'    "Set - superclass of SetSample "
+        #'stx:libcomp'
+        #'stx:libjava'    "Java - superclass of JavaMethodWrapperCompiler "
+        #'stx:libjava/tools'    "JavaParserI - referenced by JavaSourceCodeAnalyzer>>analyze: "
+        #'stx:libview'
     )
 !
 
@@ -104,7 +111,67 @@
      exclude individual packages in the #excludedFromPreRequisites method."
 
     ^ #(
+        #'stx:libcomp'    "SourceFileLoader - referenced by JavaCompiler class>>compile:forClass:inCategory:notifying:install:skipIfSame:silent: "
     )
+!
+
+subProjects
+    "list packages which are known as subprojects.
+     The generated makefile will enter those and make there as well.
+     However: they are not forced to be loaded when a package is loaded;
+     for those, redefine requiredPrerequisites"
+
+    ^ #(
+    )
+! !
+
+!stx_libjava_experiments class methodsFor:'description - compilation'!
+
+additionalRules_bc_dot_mak
+    ^ '
+java: ant
+
+ant:
+        ant -f java\build.xml dependencies build
+
+antIfPossible:
+        -ant -f java\build.xml dependencies build
+
+full::  ant
+'
+
+    "Modified: / 17-04-2013 / 19:15:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+additionalRules_make_dot_proto
+    ^ '
+java: ant
+
+ant:
+        ant -f java/build.xml dependencies build
+
+antIfPossible:
+        -ant -f java/build.xml dependencies build
+
+full::  ant
+'
+
+    "Modified: / 17-04-2013 / 19:16:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+additionalTargets_bc_dot_mak
+
+    ^ ' antIfPossible'
+
+    "Modified: / 17-04-2013 / 19:16:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+additionalTargets_make_dot_proto
+
+    ^ ' antIfPossible'
+
+    "Created: / 05-09-2006 / 16:05:12 / cg"
+    "Modified: / 17-04-2013 / 19:16:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !stx_libjava_experiments class methodsFor:'description - contents'!
@@ -117,20 +184,21 @@
 
     ^ #(
         "<className> or (<className> attributes...) in load order"
+        (#'Benchmarks::JavaLookup' autoload)
+        JavaByteCodeInterpreter
+        (JavaByteCodeInterpreterTests autoload)
+        (JavaClassReloadingTests autoload)
+        JavaCompiler
+        JavaCompilerProblemRegistry
+        (JavaCompilerTests autoload)
+        JavaMethodWrapperCompiler
         NoReflectionObject
-        #'stx_libjava_experiments'
-        JavaMethodWrapperCompiler
         PersonSample
         SampleHandler
         SetSample
-        (#'Benchmarks::JavaLookup' autoload)
-        JavaByteCodeInterpreter
-        (JavaByteCodeInterpreterTests autoload)
+        #'stx_libjava_experiments'
         JavaByteCodeSteppableInterpreter
-        (ClassReloadingTests autoload)
-        JavaCompiler
-        (JavaCompilerTests autoload)
-        (SingleClassReloadingTests autoload)
+        (JavaSingleClassReloadingTests autoload)
     )
 !
 
@@ -139,14 +207,7 @@
      Entries are 2-element array literals, consisting of class-name and selector."
 
     ^ #(
-        Class box:toType:
-        Class unbox:to:
-        JavaMethodDescriptor guardCondition
-        JavaClass lookupMethodFor:
-        JavaClass performStatic:
-        JavaClass performStatic:with:
-        JavaObject doesNotUnderstand:
-        JavaClass javaWrappedClass
+        JavaMethod interpretWithReceiver:arguments:
     )
 ! !
 
@@ -159,46 +220,6 @@
     "Created: / 15-01-2013 / 17:35:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!stx_libjava_experiments class methodsFor:'description - project information'!
-
-applicationIconFileName
-    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
-
-    ^ nil
-    "/ ^ self applicationName
-!
-
-companyName
-    "Return a companyname which will appear in <lib>.rc"
-
-    ^ 'eXept Software AG'
-!
-
-description
-    "Return a description string which will appear in vc.def / bc.def"
-
-    ^ 'Smalltalk/X Class library'
-!
-
-legalCopyright
-    "Return a copyright string which will appear in <lib>.rc"
-
-    ^ 'Copyright Claus Gittinger 1988-2013\nCopyright eXept Software AG 1998-2013'
-!
-
-productInstallDirBaseName
-    "Returns a default installDir which will appear in <app>.nsi.
-     This is usually not the one you want to keep"
-
-    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
-!
-
-productName
-    "Return a product name which will appear in <lib>.rc"
-
-    ^ 'Smalltalk/X'
-! !
-
 !stx_libjava_experiments class methodsFor:'description - svn'!
 
 svnRepositoryUrlString
@@ -220,15 +241,15 @@
 !stx_libjava_experiments class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/experiments/stx_libjava_experiments.st,v 1.4 2013-03-08 23:52:44 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libjava/experiments/stx_libjava_experiments.st,v 1.5 2013-09-06 00:44:06 vrany Exp $'
 !
 
 version_HG
 
-    ^ '§Changeset: <not expanded> §'
+    ^ '$Changeset: <not expanded> $'
 !
 
 version_SVN
-    ^ '§Id§'
+    ^ 'Id'
 ! !