diff -r 947ac083e76c -r 46dd2b3b6974 compiler/jv_dart_compiler.st --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compiler/jv_dart_compiler.st Thu Jan 10 13:21:04 2013 +0000 @@ -0,0 +1,106 @@ +"{ Package: 'jv:dart/compiler' }" + +LibraryDefinition subclass:#jv_dart_compiler + instanceVariableNames:'' + classVariableNames:'' + poolDictionaries:'' + category:'* Projects & Packages *' +! + + +!jv_dart_compiler class methodsFor:'description'! + +excludedFromPreRequisites + "list all packages which should be ignored in the automatic + preRequisites scan. See #preRequisites for more." + + ^ #( + ) +! + +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:libbasic' "LibraryDefinition - superclass of jv_dart " + ) +! ! + +!jv_dart_compiler class methodsFor:'description - contents'! + +classNamesAndAttributes + "lists the classes which are to be included in the project. + Each entry in the list may be: a single class-name (symbol), + or an array-literal consisting of class name and attributes. + Attributes are: #autoload or # where os is one of win32, unix,..." + + ^ #( + " or ( attributes...) in load order" + #'jv_dart_compiler' + #'Dart::ScannerBase' + #'Dart::Parser' + #'Dart::Scanner' + ) + + "Modified: / 10-01-2013 / 13:15:55 / Jan Vrany " +! + +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." + + ^ #( + ) +! ! + +!jv_dart_compiler 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 .rc" + + ^ 'My Company' +! + +description + "Return a description string which will appear in vc.def / bc.def" + + ^ 'Class Library' +! + +legalCopyright + "Return a copyright string which will appear in .rc" + + ^ 'My CopyRight or CopyLeft' +! + +productInstallDirBaseName + "Returns a default installDir which will appear in .nsi. + This is usually not the one you want to keep" + + ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last +! + +productName + "Return a product name which will appear in .rc" + + ^ 'ProductName' +! ! + +!jv_dart_compiler class methodsFor:'documentation'! + +version_HG + + ^ '$Changeset: $' +! !