[Vm-dev] Cannot generate sources without .sources

Igor Stasenko siguctua at gmail.com
Fri Apr 1 08:57:36 UTC 2011


On 31 March 2011 22:08, Mariano Martinez Peck <marianopeck at 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
>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list