Hernán.
Well I tried to look at this, but the first problem I ran into is that the
package name is a Symbol (#ConfigurationOfSystemLogger) and the package name is
supposed to be a String --- I'm trying to look at this from GemStone --- the
package name is also a Symbol (#DeployUtils), so I cannot actually try to
execute the Metacello record code to see what might be going wrong ... since
the Metacello error is that the package is that it cannot resolve the project
package name #DeployUtils, this might be the root cause of the problem ... the
error also says that the there are likely to be invalid configurations involved
as well ...
Your second error gives me a bit more of a clue as to what might be going on ... again
this points to a problem with the DeployUtils baseline: there are no dependencies
declared between the DeployUtils package and the SystemLogger project, so Metacello is
"free to load the two in any order" ... from your second error message it seems
that in the absence of dependencies, Metacello loaded the package before loading
SystemLogger ...
Dale
On 09/27/2017 12:53 PM, Stephane Ducasse wrote:
Thierry what is import:
and why should it be recursive?
On Wed, Sep 27, 2017 at 9:41 AM, Thierry Goubier
<thierry.goub...@gmail.com> wrote:
Hi Hernán,
I think what is happening is you're not including completely the DeployUtils
baseline. You need to write something like:
spec baseline: 'DeployUtils' with: [
spec repository: 'github://fstephany/DeployUtils/repository'];
import: 'DeployUtils'.
And have one of the packages (or groups?) of DeployUtils listed as
dependency of one of your packages.
Regards,
Thierry
2017-09-25 20:19 GMT+02:00 Hernán Morales Durand <hernan.mora...@gmail.com>:
I am trying to include DeployUtils in a ConfigurationOf (Pharo 6.1)
following instructions at:
https://github.com/fstephany/DeployUtils
If I include the dependency as suggested:
spec baseline: 'DeployUtils' with: [
spec repository: 'github://fstephany/DeployUtils/repository'].
then when I load the configuration I get:
Error: Unable to resolve project package for 'DeployUtils'. It is
likely that that the configuration referencing this project will not
validate properly (see MetacelloToolBox
class>>validateConfiguration:).
If I include the dependency as:
spec
project: 'DeployUtils' with: [
spec
className: #DeployUtils;
versionString: 'baseline';
repository:
'github://fstephany/DeployUtils/repository' ];
Then I get DU multiple missing dependencies:
This package depends on the following classes:
StringStreamLogger
Log
StdoutStreamLogger
You must resolve these dependencies before you will be able to load
these definitions:
DUFileLogger
DUFileLogger>>#withFileLocator:
DUFileLogger>>#addLogHook:
DUFileLogger>>#defaultFormatter
DUFileLogger>>#defaultStream
DUFileLogger>>#fileLocator:
DUStdoutStreamLogger
DUStdoutStreamLogger>>#addLogHook:
Log>>#debug:tag:
Log>>#info:tag:
Log>>#warning:tag:
And finally a MNU with
#loader: was sent to nil
(also when I try to inspect I got a #gtInspectorProjectsIn: was sent to
nil)
Any ideas?
Cheers,
Hernán