My advice is not to specify versions in a project reference.<br>
<br>
If you have a baseline and in such baseline you reference a project, for
example:<br>
<br>
"this piece of code is inside a baselind"<br> project: 'UI Support' with: [
<br>
"One or more of the following attributes
may be defined or changed"<br>
spec<br>
"Name of config class (i.e.,
ConfigurationOfXXX)"<br>
className: 'ConfigurationOfUI';<br>
"Version of project to be
loaded. if theversionString is not specified, then the latest version of
the project is used."<br>
versionString: '1.0';<br>
<br><br>Then, DO NOT PUT versionString: there. So:<br><br><br>
"this piece of code is inside a baselind"<br>
project: 'UI Support' with: [
<br>
"One or more of the following attributes
may be defined or changed"<br>
spec<br>
"Name of config class (i.e.,
ConfigurationOfXXX)"<br>
className: 'ConfigurationOfUI';<br>
"Version of project to be
loaded. if theversionString is not specified, then the latest version of
the project is used."<br>
file: 'XXX'.<br>
<br><br>And in a version method that has THAT basline, you write:<br><br>spec<br> project: 'UISupport' with: '1.0'.<br><br><br>In summary, don't put version information in baselines, only in version methods. That's just my advice.<br>
<br>Cheers<br><br>Mariano<br><br><br><div class="gmail_quote">On Thu, May 6, 2010 at 10:13 PM, Torsten Bergmann <span dir="ltr"><<a href="mailto:astares@gmx.de">astares@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">>Does that mean the documentation is just wrong then?<br>
<br>
</div>I would see/interpret it like this: With the baseline you describe a set of packages (structure/dependencies) that form your app/project (MyApp). Beside the usual loading of a version:<br>
<br>
(ConfigurationOfMyApp project version: '1.0') load<br>
<br>
it is possible to load also a baseline - this would load all the latest<br>
Monticello package versions of any package described in this baseline:<br>
<br>
(ConfigurationOfMyApp project version: '1.0-baseline') load<br>
<br>
Note that in the baseline you dont say anything about the Monticello package<br>
version to use/load.<br>
<br>
In a baseline you can also define a dependency on another project (that<br>
provides a config too, for instance ConfigurationOfMyFoo).<br>
<br>
Now you have two options:<br>
<br>
a) dont say anything about the version of "ConfigurationOfMyFoo" in the baseline<br>
=> this should load the latest version of Foo's Metacello configuration then,<br>
so you get the latest version of "Foo" when loading the baseline of MyApp<br>
<br>
b) you note/give a default version for "ConfigurationOfMyFoo" in the baseline<br>
=> then this specific version of "Foo" is loaded when you load the baseline for MyApp.<br>
I think you can override the version specified in the baseline in<br>
a #versionXXX of MyApp if required<br>
<br>
Loading baselines is usefull if you work in a team. If you work on the<br>
same baseline you can just load it to be up to date with the latest<br>
commits of the other team members.<br>
<br>
If your dependencies, load order, set of packages/pre-projects change then<br>
you typically create a new baseline.<br>
<br>
But it is more often the case that you just create new versions based on<br>
a baseline. In a versionXXX you pin/mark the Metacello version of all<br>
packages/projects version that fit/work together to form this version.<br>
<br>
Maybe Dale is able to correct me if I'm wrong.<br>
<br>
Thanks<br>
<font color="#888888">Torsten<br>
</font><div class="im"><br>
<br>
<br>
--<br>
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<br>
Jetzt freischalten unter <a href="http://portal.gmx.net/de/go/maxdome01" target="_blank">http://portal.gmx.net/de/go/maxdome01</a><br>
<br>
_______________________________________________<br>
Pharo-project mailing list<br>
</div><div class="im"><a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.inria.fr</a><br>
</div><div><div></div><div class="h5"><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project" target="_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project</a><br>
</div></div></blockquote></div><br>