[Glass] Saving a Monticello package programatically

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Wed Oct 7 07:45:13 PDT 2015


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
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list