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