Open GoogleCodeExporter opened 9 years ago
Original comment by henrichs...@gmail.com
on 6 Dec 2011 at 7:31
Original comment by henrichs...@gmail.com
on 18 Jan 2012 at 7:04
From Issue 158, the method MetacelloTooBox
class>>modifyVersion:section:for:repository:requiredProjects:packages:dependenci
es:includes:files:repositories:preLoadDoIts:postLoadDoIts:supplyingAnswers:group
s: can also be used to add a repository.
In MetacelloTooBoxAPITestCase>>testComplexModifyBaseline, the following was
used to dd a package and dependency to version '1.1-baseline':
MetacelloToolBox
modifyVersion: '1.1-baseline'
section: #'common'
for: self configurationName asString
repository: nil
requiredProjects: #()
packages: #('GoferFoo')
dependencies: {('GeauxFaux' -> #('GoferFoo'))}
includes: #()
files: #()
repositories: #()
preLoadDoIts: #()
postLoadDoIts: #()
supplyingAnswers: #()
groups: #().
To add a repository for a particular package (say GoferFoo) you would do the
following:
MetacelloToolBox
modifyVersion: '1.1-baseline'
section: #'common'
for: self configurationName asString
repository: nil
requiredProjects: #()
packages: #(')
dependencies: #()
includes: #()
files: #()
repositories: {('GoferFoo' -> #('http://www.squeaksource.com/CommandShell'))}
preLoadDoIts: #()
postLoadDoIts: #()
supplyingAnswers: #()
groups: #().
Original comment by henrichs...@gmail.com
on 25 Jan 2012 at 10:18
Original issue reported on code.google.com by
henrichs...@gmail.com
on 6 Dec 2011 at 6:57