70
|
1 |
"{ Package: 'stx:goodies/builder/reports' }"
|
|
2 |
|
|
3 |
LibraryDefinition subclass:#stx_goodies_builder_reports
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'* Projects & Packages *'
|
|
8 |
!
|
|
9 |
|
|
10 |
!stx_goodies_builder_reports class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
extensionsVersion_SVN
|
|
13 |
^ '$Id$'
|
|
14 |
! !
|
|
15 |
|
|
16 |
!stx_goodies_builder_reports class methodsFor:'description'!
|
|
17 |
|
|
18 |
excludedFromPreRequisites
|
|
19 |
"list all packages which should be ignored in the automatic
|
|
20 |
preRequisites scan. See #preRequisites for more."
|
|
21 |
|
|
22 |
^ #(
|
|
23 |
#'stx:goodies/monticello' "MCPatch - referenced by HDChangeReport>>changesFor: "
|
|
24 |
)
|
|
25 |
|
|
26 |
"Modified: / 08-03-2011 / 22:08:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
27 |
!
|
|
28 |
|
|
29 |
preRequisites
|
|
30 |
"list all required packages.
|
|
31 |
This list can be maintained manually or (better) generated and
|
|
32 |
updated by scanning the superclass hierarchies and looking for
|
|
33 |
global variable accesses. (the browser has a menu function for that)
|
|
34 |
Howevery, often too much is found, and you may want to explicitely
|
|
35 |
exclude individual packages in the #excludedFromPrerequisites method."
|
|
36 |
|
|
37 |
^ #(
|
|
38 |
#'stx:goodies/refactoryBrowser/browser' "PackageEnvironment - referenced by Builder::LintReport>>setupForPackages: "
|
|
39 |
#'stx:goodies/refactoryBrowser/helpers' "BrowserEnvironment - referenced by Builder::LintReport>>setupForPackages: "
|
|
40 |
#'stx:goodies/refactoryBrowser/lint' "RBCompositeLintRule - referenced by Builder::LintReport>>setUp "
|
|
41 |
#'stx:goodies/sunit' "TestResult - superclass of Builder::TestReport::Result "
|
|
42 |
#'stx:libbasic' "StandaloneStartup - superclass of Builder::ReportRunner "
|
|
43 |
#'stx:libbasic2'
|
|
44 |
#'stx:libcomp'
|
|
45 |
#'stx:libui'
|
|
46 |
#'stx:libview'
|
|
47 |
#'stx:libview2'
|
|
48 |
#'stx:libwidg'
|
|
49 |
#'stx:libwidg2'
|
|
50 |
)
|
|
51 |
! !
|
|
52 |
|
|
53 |
!stx_goodies_builder_reports class methodsFor:'description - contents'!
|
|
54 |
|
|
55 |
classNamesAndAttributes
|
|
56 |
"lists the classes which are to be included in the project.
|
|
57 |
Each entry in the list may be: a single class-name (symbol),
|
|
58 |
or an array-literal consisting of class name and attributes.
|
|
59 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
60 |
|
|
61 |
^ #(
|
|
62 |
"<className> or (<className> attributes...) in load order"
|
|
63 |
#'Builder::Report'
|
|
64 |
#'Builder::ReportFormat'
|
|
65 |
#'Builder::ReportRunner'
|
|
66 |
#'stx_goodies_builder_reports'
|
|
67 |
#'Builder::ChangeReport'
|
|
68 |
#'Builder::LintReport'
|
|
69 |
#'Builder::LintReportFormat'
|
|
70 |
#'Builder::TestReport'
|
|
71 |
#'Builder::TestReportFormat'
|
|
72 |
#'Builder::CoverageReport'
|
|
73 |
)
|
|
74 |
!
|
|
75 |
|
|
76 |
extensionMethodNames
|
|
77 |
"lists the extension methods which are to be included in the project.
|
|
78 |
Entries are 2-element array literals, consisting of class-name and selector."
|
|
79 |
|
|
80 |
^ #(
|
|
81 |
TestCase nameForHDTestReport
|
|
82 |
TestCase selectorForHDTestReport
|
|
83 |
'TestCase class' isJUnitTestCaseProxy
|
|
84 |
'TestCase class' isTestletTestCaseProxy
|
|
85 |
)
|
|
86 |
! !
|
|
87 |
|
|
88 |
!stx_goodies_builder_reports class methodsFor:'description - project information'!
|
|
89 |
|
|
90 |
applicationIconFileName
|
|
91 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
|
|
92 |
|
|
93 |
^ nil
|
|
94 |
"/ ^ self applicationName
|
|
95 |
!
|
|
96 |
|
|
97 |
companyName
|
|
98 |
"Return a companyname which will appear in <lib>.rc"
|
|
99 |
|
|
100 |
^ 'SWING Research Group & eXept Software AG'
|
|
101 |
|
|
102 |
"Modified: / 21-07-2011 / 10:05:05 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
103 |
!
|
|
104 |
|
|
105 |
description
|
|
106 |
"Return a description string which will appear in vc.def / bc.def"
|
|
107 |
|
|
108 |
^ 'Report Runner for Jenkins CI Server'
|
|
109 |
|
|
110 |
"Modified: / 21-07-2011 / 10:06:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
111 |
!
|
|
112 |
|
|
113 |
legalCopyright
|
|
114 |
"Return a copyright string which will appear in <lib>.rc"
|
|
115 |
|
|
116 |
^ 'Copyright Jan Vrany 2011\nCopyright eXept Software AG 2011'
|
|
117 |
|
|
118 |
"Modified: / 21-07-2011 / 10:05:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
119 |
!
|
|
120 |
|
|
121 |
productName
|
|
122 |
"Return a product name which will appear in <lib>.rc"
|
|
123 |
|
|
124 |
^ 'ReportRunner'
|
|
125 |
|
|
126 |
"Modified: / 21-07-2011 / 10:06:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
127 |
! !
|
|
128 |
|
|
129 |
!stx_goodies_builder_reports class methodsFor:'description - startup'!
|
|
130 |
|
|
131 |
startupClassName
|
|
132 |
"the name of the class which starts the show in its <startupSelector> method.
|
|
133 |
Usually, the name of a subclass of StandAloneStartup."
|
|
134 |
|
|
135 |
|
|
136 |
^ 'HDReportRunner'
|
|
137 |
|
|
138 |
"Modified: / 21-07-2011 / 10:06:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
139 |
!
|
|
140 |
|
|
141 |
startupSelector
|
|
142 |
"the message that is sent to the startupClass to start the show"
|
|
143 |
|
|
144 |
^ #'start'
|
|
145 |
! !
|
|
146 |
|
|
147 |
!stx_goodies_builder_reports class methodsFor:'description - svn'!
|
|
148 |
|
|
149 |
svnRepositoryUrlString
|
|
150 |
"Return a SVN repository URL of myself.
|
|
151 |
(Generated since 2011-04-08)
|
|
152 |
"
|
|
153 |
|
|
154 |
^ '$URL$'
|
|
155 |
!
|
|
156 |
|
|
157 |
svnRevisionNr
|
|
158 |
"Return a SVN revision number of myself.
|
|
159 |
This number is updated after a commit"
|
|
160 |
|
|
161 |
^ "$SVN-Revision:"'285:288M'"$"
|
|
162 |
! !
|
|
163 |
|
|
164 |
!stx_goodies_builder_reports class methodsFor:'documentation'!
|
|
165 |
|
|
166 |
version
|
|
167 |
^ '$Header$'
|
|
168 |
!
|
|
169 |
|
|
170 |
version_CVS
|
|
171 |
^ '$Header$'
|
|
172 |
!
|
|
173 |
|
|
174 |
version_SVN
|
|
175 |
^ '§Id: stx_goodies_builder_reports.st 293 2011-11-25 21:42:31Z vranyj1 §'
|
|
176 |
! !
|