examples/tomcat6/stx_libjava_examples_tomcat6.st
branchdevelopment
changeset 2711 a00302fe5083
parent 2429 ebece4dcaab9
child 2731 13f5be2bf83b
--- a/examples/tomcat6/stx_libjava_examples_tomcat6.st	Thu Sep 05 22:08:59 2013 +0100
+++ b/examples/tomcat6/stx_libjava_examples_tomcat6.st	Fri Sep 06 00:16:38 2013 +0100
@@ -1,6 +1,6 @@
 "{ Package: 'stx:libjava/examples/tomcat6' }"
 
-ApplicationDefinition subclass:#'stx_libjava_examples_tomcat6'
+ApplicationDefinition subclass:#stx_libjava_examples_tomcat6
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:''
@@ -8,7 +8,6 @@
 !
 
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'description'!
 
 excludedFromPreRequisites
@@ -26,20 +25,29 @@
     ^ false
 !
 
-preRequisites
-    "list all required packages.
+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 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."
+     updated by scanning the superclass hierarchies
+     (the browser has a menu function for that)"
 
     ^ #(
         #'stx:libbasic'    "ApplicationDefinition - superclass of stx_libjava_examples_tomcat6 "
-        #'stx:libbasic2'    "UUID - referenced by ApacheTomcat6Start class>>applicationUUID "
-        #'stx:libcomp'
-        #'stx:libjava'
-        #'stx:libview2'
+    )
+!
+
+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."
+
+    ^ #(
+        #'stx:libjava'    "Java - referenced by ApacheTomcat6>>initializeVM "
     )
 !
 
@@ -52,7 +60,6 @@
 )
 ! !
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'description - compilation'!
 
 additionalRules_bc_dot_mak
@@ -91,7 +98,6 @@
     "Modified: / 11-01-2013 / 00:08:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'description - contents'!
 
 classNamesAndAttributes
@@ -115,7 +121,6 @@
     )
 ! !
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'description - project information'!
 
 applicationIconFileName
@@ -164,7 +169,6 @@
     "Modified: / 11-01-2013 / 00:09:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'description - startup'!
 
 startupClassName
@@ -181,11 +185,10 @@
     ^ #'start'
 ! !
 
-
 !stx_libjava_examples_tomcat6 class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/examples/tomcat6/stx_libjava_examples_tomcat6.st,v 1.2 2013-02-25 11:15:32 vrany Exp $'
+    ^ '$Header$'
 !
 
 version_HG