Hi all,
I am having some problems while trying to save a package to a remote repository from Gemstone. I have just created a method in the '*CM-Pharo-Compatibility' category and committed the changes. I then ran this code in topaz: topaz 1>doit Gofer new repository: ( MCHttpRepository location: '<remote repository url>' user: 'glass' password: 'password'); package: 'CM-Pharo-Compatibility'; commit: 'Saved from Gofer in GemStone'. % I get this error: ERROR 2318 , a UserDefinedError occurred (error 2318), reason:halt, Working copy for CM-Pharo-Compatibility not found (UserDefinedError) Exactly the same procedure in Pharo works as I expect (a version of CM-Pharo-Compatibility' is saved in the remote repository). Any ideas what I shold be doing differently in Gemstone? Thanks, Alejandro |
On 10/6/15 8:09 PM, Alejandro Zuzek via Glass wrote: > Hi all, > > I am having some problems while trying to save a package to a remote > repository from Gemstone. > > I have just created a method in the '*CM-Pharo-Compatibility' category and > committed the changes. I then ran this code in topaz: > > topaz 1>doit > Gofer new > repository: ( > MCHttpRepository > location: '<remote repository url>' > user: 'glass' > password: 'password'); > package: 'CM-Pharo-Compatibility'; > commit: 'Saved from Gofer in GemStone'. > % > > I get this error: > > ERROR 2318 , a UserDefinedError occurred (error 2318), reason:halt, Working > copy for CM-Pharo-Compatibility not found (UserDefinedError) > into GemStone .... If you are using tODE, you can run the following tODE shell command to list packages known to GemStone that match a pattern: mc list CM-Pharo and this command lists the dirty packages: mc dirty It you share the results (ALT-SHIFT-P in the result window) with me, we'll be able move forward from there ... Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by Alejandro Zuzek
Alejandro,
BTW, you can use the following tODE shell command to commit a package: mc commit <package-name> `<commit-message>` Dale On 10/6/15 8:09 PM, Alejandro Zuzek via Glass wrote: > Hi all, > > I am having some problems while trying to save a package to a remote > repository from Gemstone. > > I have just created a method in the '*CM-Pharo-Compatibility' category and > committed the changes. I then ran this code in topaz: > > topaz 1>doit > Gofer new > repository: ( > MCHttpRepository > location: '<remote repository url>' > user: 'glass' > password: 'password'); > package: 'CM-Pharo-Compatibility'; > commit: 'Saved from Gofer in GemStone'. > % > > I get this error: > > ERROR 2318 , a UserDefinedError occurred (error 2318), reason:halt, Working > copy for CM-Pharo-Compatibility not found (UserDefinedError) > > Exactly the same procedure in Pharo works as I expect (a version of > CM-Pharo-Compatibility' is saved in the remote repository). Any ideas what I > shold be doing differently in Gemstone? > > Thanks, > > Alejandro > > > > -- > View this message in context: http://forum.world.st/Saving-a-Monticello-package-programatically-tp4854105.html > Sent from the GLASS mailing list archive at Nabble.com. > _______________________________________________ > Glass mailing list > [hidden email] > http://lists.gemtalksystems.com/mailman/listinfo/glass _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |