Hi, I changed the gemstone section of the ConfigurationOfZincHTTPComponents to import the Baseline from github. It works to load Zinc and related packages only if you don't have a #loads: send in the project spec where you reference Zinc. In ConfigurationOfZincHTTPComponents the relevant section is now in #version243: & #version244: spec for: #'gs2.4.x' do: [ spec baseline:'Zinc' with: [ spec repository: 'github://glassdb/zinc:gemstone2.4/repository' ]; import: 'Zinc' ]. spec for: #'gs3.1.x' do: [ spec baseline:'Zinc' with: [ spec repository: 'github://glassdb/zinc:gemstone3.1/repository' ]; import: 'Zinc' ]. When you run ConfigurationOfZincHTTPComponents load inside a gemstone workspace (3.1.0.4, GLASS 1.0beta9.1) then the 2.4.3 version of Zinc gets loaded no problem. But loading Seaside fails. The ConfigurationOfSeaside30 >> #baseline306common: says to load 'Zinc-HTTP'. During its load process a "name not found" error comes up for 'Zinc-HTTP'. If in the Seaside config I take out the loads:#('Zinc-HTTP') line Seaside loads fine. I'm out of ideas on what to try next. What else would you recommend I try? Thanks Paul -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Paul,
I think we tracked this down to a bug in an older version of the Metacello Preview ... right? Dale ----- Original Message ----- | From: "Paul DeBruicker" <[hidden email]> | To: [hidden email] | Sent: Wednesday, September 11, 2013 8:07:02 AM | Subject: [Metacello] How do I properly reference BaselineOfZinc in ConfigurationOfZincHTTPComponents so | ConfigurationOfSeaside30 will load into Gemtsone 3.1.0.4 ? | | | | Hi, | | I changed the gemstone section of the | ConfigurationOfZincHTTPComponents | to import the Baseline from github. It works to load Zinc and | related | packages only if you don't have a #loads: send in the project spec | where | you reference Zinc. | | In ConfigurationOfZincHTTPComponents the relevant section is now in | #version243: & #version244: | | spec | for: #'gs2.4.x' | do: [ | spec | baseline:'Zinc' with: [ spec repository: | 'github://glassdb/zinc:gemstone2.4/repository' ]; | import: 'Zinc' ]. | spec | for: #'gs3.1.x' | do: [ | spec | baseline:'Zinc' with: [ spec repository: | 'github://glassdb/zinc:gemstone3.1/repository' ]; | import: 'Zinc' ]. | | | When you run | | ConfigurationOfZincHTTPComponents load | | inside a gemstone workspace (3.1.0.4, GLASS 1.0beta9.1) then the | 2.4.3 | version of Zinc gets loaded no problem. But loading Seaside fails. | The | ConfigurationOfSeaside30 >> #baseline306common: says to load | 'Zinc-HTTP'. During its load process a "name not found" error comes | up | for 'Zinc-HTTP'. If in the Seaside config I take out the | loads:#('Zinc-HTTP') line Seaside loads fine. | | | I'm out of ideas on what to try next. What else would you recommend | I | try? | | | Thanks | | Paul | | -- | You received this message because you are subscribed to the Google | Groups "Metacello" group. | To unsubscribe from this group and stop receiving emails from it, | send an email to [hidden email]. | For more options, visit https://groups.google.com/groups/opt_out. | -- You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Hi Dale,
-- No it doesn't work. In the latest GS 3.1.0.4 after loading the MetacelloPreview from your master branch on github the "Name not found: 'Zinc-HTTP' " error still occurs To see what I'm talking about you can attempt to load this: ((Smalltalk at: #ConfigurationOfMetacello) project version: #'previewBootstrap') load. "Load the Preview version of Metacello from GitHub" (Smalltalk at: #Metacello) new configuration: 'MetacelloPreview'; version: #stable; repository: 'github://dalehenrich/metacello-work:configuration'; load. Gofer new repository: 'http://smalltalkhub.com/mc/PharoExtras/Postmark/main'; package: 'ConfigurationOfPostMark'; load. (Smalltalk at: #ConfigurationOfPostMark) project stableVersion load:'PostMarkSeaside' It will fail. If you then attempt ConfigurationOfZincHTTPComponents load. The Zinc load will work no problem. After Zinc is loaded the ConfigurationOfPostMark will still not work. Thanks for any guidance you can provide Paul On Monday, September 23, 2013 7:51:54 AM UTC-7, Dale wrote: Paul, You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Paul,
-- Sorry, I've been in Argentina for the last week ... Hmm, while in Argentina, I just helped some folks work through this same issue but I've flown too many miles over the weekend to recall exactly wheat we did:) .... Let's see IIRC ... I think it has something to do with the fact that once you start using the Metacello Preview, I think that you need to use the "Metacello new ...." to do all of your loads ... I consider that this is bug in the Metacello Preview (and one of the reasons I am holding off on the full-scale release ... I need to flush out these kinds of bugs first), but the following just might work: Metacello new configuration: 'PostMark'; version: #stable; repository: 'http://smalltalkhub.com/mc/PharoExtras/Postmark/main'; load. If this works I will have to dig into this in more detail to find a way to recognize the situation and either do the right thing or inform you to use 'Metacello new' to do the load ... Dale From: "Paul DeBruicker" <[hidden email]> You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Dale,
-- FYI I am just now trying to establish the same thing with the configuration of Seaside3.1: reference the github baseline from the ConfigurationOfSeaside3. I hit the same problem and what you mention below indeed works as a solution. cheers Johan On Tuesday, November 5, 2013 4:56:01 PM UTC+1, Dale wrote:
You received this message because you are subscribed to the Google Groups "Metacello" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/groups/opt_out. |
Free forum by Nabble | Edit this page |