Hi David, would you mind giving me access to commit in VMMaker? I find myself sending my changes to igor ;)

Igor, find attached a new version of CMMaker:

Name: CMakeVMMaker-MarianoMartinezPeck.62
Author: MarianoMartinezPeck
Time: 3 April 2011, 12:10:48 pm
UUID: 8ad38e8f-96a3-4d04-8d9b-c90e15320dbd
Ancestors: CMakeVMMaker-MarianoMartinezPeck.61

Add check for the .sources to be present.

Feel free to modify or improve it.

Cheers

Mariano


On Fri, Apr 1, 2011 at 10:57 AM, Igor Stasenko <siguctua@gmail.com> wrote:

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
>
>



--
Best regards,
Igor Stasenko AKA sig.