Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Migration from 0.11 to 0.12
After updating the loader part,
.st files need to be recompiled
into new AMD
.js files. During loader changes, a namespace was choosen and will be needed for recompilation.
Go to your directory with
.st files and issue this from the shell:
<path-to-amber>/bin/amberc -l SUnit,Canvas -n <chosen-namespace> -D <path-for-compiled-js-files> *.st
In windows, use
\ as path separator, the rest is identical.
-l SUnit,Canvas is just a general guess, if your code depends on more (or less) non-kernel packages from amber, list them here accordingly.
This migrate scenario only covers simple deployments with your project's code and amber.
If your project is more complicated, using libraries and packages from multiple sources,
it is hard to give general advices to migrate - you must do it library by library,
giving each location its own namespace, and
-L option of
comes handy when integrating; ask on the mailing list if problems arise.