Logs uses a package called Bindings-Core-tbn.1 that has this description: /Name: Bindings-Core-tbn.1// //Author: tbn// //Time: 11 July 2012, 9:46:06.521 am// //UUID: 2c28d2f3-610f-a54d-82b1-f421a40394ce// //Ancestors: // // //Initial version from Benoit, see http://lists.gforge.inria.fr/pipermail/pharo-project/2012-July/067412.html/ It allows me to do things like this: Transcript show: 'Today is %1' bindWith: 'the first day of the rest of your life'. Is there a better way to do this in Pharo 2?. An hour of poking around and no joy. Thanks. -- Donald [|] A bad day in [] is better than a good day in {}
look at String >> #format: On 2013-06-29, at 22:26, Donald <dmacq@instantiations.com> wrote:
Logs uses a package called Bindings-Core-tbn.1 that has this description: /Name: Bindings-Core-tbn.1// //Author: tbn// //Time: 11 July 2012, 9:46:06.521 am// //UUID: 2c28d2f3-610f-a54d-82b1-f421a40394ce// //Ancestors: // // //Initial version from Benoit, see http://lists.gforge.inria.fr/pipermail/pharo-project/2012-July/067412.html/
It allows me to do things like this:
Transcript show: 'Today is %1' bindWith: 'the first day of the rest of your life'.
Is there a better way to do this in Pharo 2?. An hour of poking around and no joy.
Thanks.
-- Donald [|]
A bad day in [] is better than a good day in {}
On 6/29/2013 4:42 PM, Camillo Bruni wrote:
look at String >> #format: ok, got that fixed.
how do I remove the log4s dependency on Bindings-Core-tbn.1? I don't seen anything in the Monticello browser that lets me unload/unlink/remove etc. Thanks
On 2013-06-29, at 22:26, Donald <dmacq@instantiations.com> wrote:
Logs uses a package called Bindings-Core-tbn.1 that has this description: /Name: Bindings-Core-tbn.1// //Author: tbn// //Time: 11 July 2012, 9:46:06.521 am// //UUID: 2c28d2f3-610f-a54d-82b1-f421a40394ce// //Ancestors: // // //Initial version from Benoit, see http://lists.gforge.inria.fr/pipermail/pharo-project/2012-July/067412.html/
It allows me to do things like this:
Transcript show: 'Today is %1' bindWith: 'the first day of the rest of your life'.
Is there a better way to do this in Pharo 2?. An hour of poking around and no joy.
Thanks.
-- Donald [|]
A bad day in [] is better than a good day in {}
-- Donald [|] A bad day in [] is better than a good day in {}
On 2013-06-30, at 00:47, Donald <dmacq@instantiations.com> wrote:
On 6/29/2013 4:42 PM, Camillo Bruni wrote:
look at String >> #format: ok, got that fixed.
how do I remove the log4s dependency on
Bindings-Core-tbn.1?
I don't seen anything in the Monticello browser that lets me unload/unlink/remove etc.
I do not fully get what you want to do. Where did you get this Bindins-Core-tbn.1 from? Usually you just load it and see what happens when you run the tests. Undefined globals will raise DNU's at runtime. AFAIK you cannot just exclude certain methods from being loaded with Monticello in Pharo. Did you check if there isn't a Configuration that will load the dependencies?
Hi Donald, I guess there should be a ConfigurationOfLog4j (or similar name) that defines the versions, the baselines, dependencies, etc. Imagine this (similarly) as a ConfigurationMap. So I guess what you have to do is to take ConfigurationOfLog4j, edit the necessary #baselineXXX method and remove the #requires that brings Bindings-Core. Torsten, where is the conf?
On 6/29/2013 7:00 PM, Mariano Martinez Peck wrote:
Hi Donald,
I guess there should be a ConfigurationOfLog4j (or similar name) that defines the versions, the baselines, dependencies, etc. Imagine this (similarly) as a ConfigurationMap. So I guess what you have to do is to take ConfigurationOfLog4j, edit the necessary #baselineXXX method and remove the #requires that brings Bindings-Core.
Torsten, where is the conf? ok. Where does ConfigurationOfLog4j live?
Sorry to be dense, but Envy takes care of these things for me day to day. -- Donald [|] A bad day in [] is better than a good day in {}
In Pharo2 you can hit shift+enter to open the 'spotlight' which will search for classes and method implementors. Start typing the class name into the box at the top right of the window. It will then start to autocomplete. You can press the down arrow key to select the class or method name and hit enter to search for that class or method. Once you hit enter a browser will open on the class or the implementors of the method will be shown. Its pretty handy. On 06/29/2013 04:04 PM, Donald wrote:
On 6/29/2013 7:00 PM, Mariano Martinez Peck wrote:
Hi Donald,
I guess there should be a ConfigurationOfLog4j (or similar name) that defines the versions, the baselines, dependencies, etc. Imagine this (similarly) as a ConfigurationMap. So I guess what you have to do is to take ConfigurationOfLog4j, edit the necessary #baselineXXX method and remove the #requires that brings Bindings-Core.
Torsten, where is the conf? ok. Where does ConfigurationOfLog4j live?
Sorry to be dense, but Envy takes care of these things for me day to day.
-- Donald [|]
A bad day in [] is better than a good day in {}
And you're probably looking for ConfigurationOfLog4s rather than Log4j..... On 06/29/2013 04:04 PM, Donald wrote:
On 6/29/2013 7:00 PM, Mariano Martinez Peck wrote:
Hi Donald,
I guess there should be a ConfigurationOfLog4j (or similar name) that defines the versions, the baselines, dependencies, etc. Imagine this (similarly) as a ConfigurationMap. So I guess what you have to do is to take ConfigurationOfLog4j, edit the necessary #baselineXXX method and remove the #requires that brings Bindings-Core.
Torsten, where is the conf? ok. Where does ConfigurationOfLog4j live?
Sorry to be dense, but Envy takes care of these things for me day to day.
-- Donald [|]
A bad day in [] is better than a good day in {}
Hi donald you have to define a configurationOfLog4J by hand (soon there will be a tool) Have a look at the metacello chapter http://rmod.lille.inria.fr/pbe2/ You can look for example at the Soup project in PharoExtras on SmalltalkHub to get an example. Now for your problem apparently you somehow requires the package Bindings-Core and when you load Log4J the system does not how to find it. Stef On Jun 30, 2013, at 1:04 AM, Donald <dmacq@instantiations.com> wrote:
On 6/29/2013 7:00 PM, Mariano Martinez Peck wrote:
Hi Donald,
I guess there should be a ConfigurationOfLog4j (or similar name) that defines the versions, the baselines, dependencies, etc. Imagine this (similarly) as a ConfigurationMap. So I guess what you have to do is to take ConfigurationOfLog4j, edit the necessary #baselineXXX method and remove the #requires that brings Bindings-Core.
Torsten, where is the conf? ok. Where does ConfigurationOfLog4j live?
Sorry to be dense, but Envy takes care of these things for me day to day.
-- Donald [|]
A bad day in [] is better than a good day in {}
On 6/29/2013 6:56 PM, Camillo Bruni wrote:
On 2013-06-30, at 00:47, Donald <dmacq@instantiations.com> wrote:
On 6/29/2013 4:42 PM, Camillo Bruni wrote:
look at String >> #format: ok, got that fixed.
how do I remove the log4s dependency on
Bindings-Core-tbn.1?
I don't seen anything in the Monticello browser that lets me unload/unlink/remove etc. I do not fully get what you want to do. Where did you get this Bindins-Core-tbn.1 from?
It was in the log4s 1.4 version.
Usually you just load it and see what happens when you run the tests. Undefined globals will raise DNU's at runtime.
AFAIK you cannot just exclude certain methods from being loaded with Monticello in Pharo. Did you check if there isn't a Configuration that will load the dependencies?
where is the configuration that loads the dependencies? that's what I can't find. -- Donald [|] A bad day in [] is better than a good day in {}
On 2013-06-30, at 00:56, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-30, at 00:47, Donald <dmacq@instantiations.com> wrote:
On 6/29/2013 4:42 PM, Camillo Bruni wrote:
look at String >> #format: ok, got that fixed.
how do I remove the log4s dependency on
Bindings-Core-tbn.1?
I don't seen anything in the Monticello browser that lets me unload/unlink/remove etc.
ok I finally understood... - Right click on the package in the Monticello Browser (use the search bar on top) - Remove required Package - Recommit Log4s that should remove the dependency from the MC package. FYI: please state clearly what you try to do next time with instructions to reproduce ;)
On Sat, Jun 29, 2013 at 8:13 PM, Camillo Bruni <camillobruni@gmail.com>wrote:
On 2013-06-30, at 00:56, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-06-30, at 00:47, Donald <dmacq@instantiations.com> wrote:
On 6/29/2013 4:42 PM, Camillo Bruni wrote:
look at String >> #format: ok, got that fixed.
how do I remove the log4s dependency on
Bindings-Core-tbn.1?
I don't seen anything in the Monticello browser that lets me
unload/unlink/remove etc.
ok I finally understood...
- Right click on the package in the Monticello Browser (use the search bar on top) - Remove required Package - Recommit Log4s
that should remove the dependency from the MC package\
ohhh, was it using MC requirements?
FYI: please state clearly what you try to do next time with instructions to
reproduce ;)
-- Mariano http://marianopeck.wordpress.com
On 6/29/2013 7:13 PM, Camillo Bruni wrote: ok. got it. I was in the wrong browser. The new version 17 of log4s in ss3.gemstone works without the dependency on Benoits Bindings package. Thanks to everyone for their help. Back into the arms of Envy. ;-) -- Donald [|] A bad day in [] is better than a good day in {}
participants (5)
-
Camillo Bruni -
Donald -
Mariano Martinez Peck -
Paul DeBruicker -
Stéphane Ducasse