[Pharo-project] Using Monticello
Separate of Seaside, I decided to try to figure out how Monticello is supposed to work so I could then report back on what's wrong in the Seaside Dev book and I came across this video from Ramon Leon on how to use Monticello. http://onsmalltalk.com/screencast-how-to-package-smalltalk-code-with-montice... ...and I get hung up in the exact same place! 1. I created a category called "AAA" and made a class called "AAA1" with a single method "someMethod". 2. I opened the Monticello browser. 3. I added the package "AAA" to the Monticello browser. 4. I browsed the package "AAA" from the Monticello browser, which was reassuring. 5. I added a repository, pointing to a local directory. 6. I clicked on "Add to package..." (argh, still seems like it should be "add package to...") 7. The "AAA" package is not there. Now, I subsequently checked "AAA" in the Package pane and the local dir in the repository pane and pressed "Save". That seemed to work! So I removed the class from the system browser, then went back to the repository, clicked Open, saw the "AAA" category, clicked that and the mcz file name--and it loaded just fine. But I'm worried because step 6 doesn't make any sense to me and doesn't seem to work for me like it does elsewhere. ====Blake===
blake wrote
6. I clicked on "Add to package..." (argh, still seems like it should
The reason it's "Add to package" (and not the other way around) is that all it does is associate the repo with the package. Now when you click on the package in the browser, you can see that the repo is included in the list to the right (which initially only lists the package-cache. This is a one-time operation to set things up. As you discovered, to save the package to that repo, you select both and click "Save". HTH, Sean -- View this message in context: http://forum.world.st/Using-Monticello-tp4571436p4571459.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (2)
-
blake -
Sean P. DeNigris