On 31 March 2011 22:08, Mariano Martinez Peck marianopeck@gmail.com wrote:
I know that it may sound obvious for most of you, but spent half an hour trying to understand why
CogUnixConfig generateWithSources was throwing a ""
Then I discovered that I was missing the .sources. I knew that, but I didn't know it was necesary to generate VM sources.
So...just for make newbie's like better...can we add a simpler validator in #generateWithSources that checks whether the .surces is present and if not raises a clear error saying "VM source code cannot be generated without .sources file".
Yes. Sources is needed because VMMaker parsing source code, and needs variable names and other stuff.
cheers
Mariano