On Tue, Mar 29, 2011 at 10:42 AM, Justin Holewinski <
[email protected]> wrote:

> Is the C# tool available on the antlr.org website (C# 3 runtime
> distribution) supposed to be compatible with Mono on *nix platforms?  When
> executed on Mac OS X and Linux, the tool fails to find the .stg files for
> any language, and it seems to be an issue in AntlrTool.cs, line 127:
>
> TemplatesDirectory = Path.Combine(ToolPathRoot, @"Codegen\Templates");
>
> On *nix platforms, the use of a back-space character here is invalid.  An
> extra Path.Combine call here should fix the issue.  However, the solution
> does not build with Mono's xbuild so I am unable to test it.
>
> If this tool is known to be incompatible with Mono on *nix, are there any
> future plans to add compatibility?
>

Just a quick follow-up.  I can confirm the above fix would work.  Even
though the solution does not compile with Mono's xbuild, a binary edit of
Antlr3.exe to replace "Codegen\Templates" with "Codegen/Templates" is enough
to make the tool work. :)


>
> --
>
> Thanks,
>
> Justin Holewinski
>
>


-- 

Thanks,

Justin Holewinski

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to