NicolasPetton/amber — pull request #79 by lolgzs (2011-10-11 16:56:48+00:00)
Title: Commit path per package (+ jquery upgrade and checks )

You can now do:

(Package named: 'Kernel')
commitPathSt: '/my/server/st';
commitPathJs: '/my/server/js'.

So each package can now have it's own commit path for js and st.

You can change default for all packages like this:

Package
defaultCommitPathSt: '/my/server/st';
defaultCommitPathJs: '/my/server/js'.

So you can load amber like this:

loadAmber({ "files": ["/my/project/MyPackage.js"],
"ready": function(){
smalltalk.Package._defaultCommitPathJs_("/my/rep/js");
smalltalk.Package._defaultCommitPathSt_("/my/rep/st");
smalltalk.packages.MyPackage._commitPathJs_('/my/project/js');
} } );