[Glass] Loading packages from Scratch - Grease Proble
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Tue Feb 2 12:27:01 PST 2016
On 02/02/2016 10:36 AM, BrunoBB via Glass wrote:
> Dale,
>
> I found the error. It was a dependency definition in one of my
> ConfigurationOf.
>
> The script used to load Seaside is:
> Gofer new
> package: 'GsUpgrader-Core';
> url: 'http://ss3.gemtalksystems.com/ss/gsUpgrader';
> load.
> (Smalltalk at: #GsUpgrader) upgradeGrease.
>
> GsDeployer deploy: [
> Metacello new
> baseline: 'Seaside3';
> repository: 'github://GsDevKit/Seaside31:gs_master/repository';
> onLock: [:ex | ex honor];
> load: 'CI' ].
>
> But in ConfigurationOfSewaf the dependency on Seaside is written
> (baseline0940:):
> spec blessing: #baseline.
> spec repository: 'http://ss3.gemstone.com/ss/Sewaf'.
> spec project: 'Seaside3' with: [
> spec repository:
> 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
> versionString: #stable;
> className: 'ConfigurationOfSeaside3';
> file: 'ConfigurationOfSeaside3';
> loads: #('Core').
> ].
> spec
> package: 'SEWAF' with: [spec requires: 'Seaside3'].
>
> If i remove this dependency --> my packages is loaded without errors.
>
> It seems that this dependency is somehow trying to download Grease which it
> should be a dependency of Seaside in
> 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main'.
> (not 100% sure)
>
> I think a have to rewrite the Seaside dependency to Seaside on github...
Actually I think that your "problem" involves the way that you are
loading Orbeon itself ... you are not using the `Metacello new` API and
as such the `Metacello lock` that was set for Grease (during
#upgradeGrease) is being totally ignored byt using the oldStyle
`(ConfigurationOf .....) load`.
If you change your load script to the following then everything should
load as expected:
Metacello new
configuration: 'OrbeonWeb';
version: #stable;
repository: '<repository where ConfigurationOfOrbeonWeb is located>';
load
Dale
More information about the Glass
mailing list