examples/stx_libjava_examples.st
branchcvs_MAIN
changeset 3360 1a8899091305
parent 3221 3aed12bd6638
child 3412 df11bb428463
--- a/examples/stx_libjava_examples.st	Fri Feb 14 14:27:26 2014 +0100
+++ b/examples/stx_libjava_examples.st	Wed Jan 28 03:12:08 2015 +0100
@@ -19,28 +19,27 @@
 !
 
 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)"
+    "list packages which are mandatory as a prerequisite.
+     This are packages containing superclasses of my classes and classes which
+     are extended by myself.
+     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
+     This method is generated automatically,
+     by searching along the inheritance chain of all of my classes."
 
     ^ #(
-        #'stx:libbasic'    "LibraryDefinition - superclass of stx_libjava_examples "
+        #'stx:libbasic'    "Autoload - superclass of CDDatabaseHandler1"
     )
 !
 
 referencedPreRequisites
-    "list all packages containing classes referenced by the packages's members.
-     This list can be maintained manually or (better) generated and
-     updated by looking for global variable accesses
-     (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."
+    "list packages which are a prerequisite, because they contain
+     classes which are referenced by my classes.
+     We do not need these packages as a prerequisite for loading or compiling.
+     This method is generated automatically,
+     by searching all classes (and their packages) which are referenced by my classes."
 
     ^ #(
-        #'stx:libjava'    "JavaCodeBundle - referenced by stx_libjava_examples class>>javaBundle "
+        #'stx:libjava'    "JavaCodeBundle - referenced by stx_libjava_examples class>>javaBundle"
     )
 !
 
@@ -114,18 +113,18 @@
 
     ^ #(
         "<className> or (<className> attributes...) in load order"
-        (JavaExamples autoload)
         #'stx_libjava_examples'
+        (CDDatabaseHandler1 autoload)
+        (CDDatabaseHandler2 autoload)
         (HelloWorldExampleS autoload)
-        (CDDatabaseHandler2 autoload)
-        (CDDatabaseHandler1 autoload)
+        (JavaExamples autoload)
         (STComparator autoload)
     )
 !
 
 extensionMethodNames
-    "lists the extension methods which are to be included in the project.
-     Entries are 2-element array literals, consisting of class-name and selector."
+    "list class/selector pairs of extensions.
+     A correponding method with real names must be present in my concrete subclasses"
 
     ^ #(
     )
@@ -201,7 +200,7 @@
 !stx_libjava_examples class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/examples/stx_libjava_examples.st,v 1.3 2013-09-06 00:41:47 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libjava/examples/stx_libjava_examples.st,v 1.4 2015-01-28 02:10:52 vrany Exp $'
 !
 
 version_HG
@@ -209,6 +208,6 @@
 !
 
 version_SVN
-    ^ '$Id: stx_libjava_examples.st,v 1.3 2013-09-06 00:41:47 vrany Exp $'
+    ^ '$Id: stx_libjava_examples.st,v 1.4 2015-01-28 02:10:52 vrany Exp $'
 ! !