[stringtemplate-interest] Embedded error: Error attempting to access grammars within grammar file.

Terence Parr parrt at cs.usfca.edu
Tue Dec 21 17:28:27 PST 2010


Not sure how up github is. try here:

http://www.stringtemplate.org/depot/ST3/java/main/target

Ter
On Dec 21, 2010, at 5:25 PM, Collin Fagan wrote:

> I got the sources from github but get an "Embedded error: Error attempting to access grammars within grammar file." when I try to build.
> 
> Is there a page to walk you through building ST? I hate to bother the list if this is a known issue and documented somewhere. 
> 
> Thanks
> 
> Collin
> 
> On Tue, Dec 21, 2010 at 4:43 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
> we need to add registerModelAdaptor like reg renderer then just look up when we do properties.
> T
> 
> On Dec 21, 2010, at 12:55 PM, Collin Fagan wrote:
> 
>> Thats good news, thanks. I am familiar with the Introspection/Reflection API so let me know if there is anything I can do to help. 
>> 
>> Collin
>> 
>> On Tue, Dec 21, 2010 at 12:04 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
>> Hi Collin, we have *just* started talking about this :)  In fact previous messages are all about it.  We need an adaptor mechanism that overrides ASTExpr.GetObjectProperty to use adaptors to get classes and other fields/methods not following javabeans.
>> 
>> I haven't implemented but it's "easy" ;)
>> 
>> Ter
>> 
>> On Dec 20, 2010, at 1:55 PM, Collin Fagan wrote:
>> 
>>> Hi Everyone,
>>> 
>>> I'm a big fan of StringTemplate but I've finally run into something I can't do. Basically I would very much like to bridge StringTemplate to java's Doclet API (http://download.oracle.com/javase/6/docs/technotes/guides/javadoc/doclet/overview.html) but the classes in com.sun.javadoc.* do not follow the getter + setter rule. They have method names like classes(), methods() and the like. Is there a way to override how ST looks for properties? Am I missing something where I can just call methods()? My only other options seem to involve lots of wrapping (not fun) or pushing everythign into maps (also not fun). 
>>> 
>>> Thanks,
>>> 
>>> Collin
>>> 
>>> P.S. I apologize in advance if this subject is well covered someplace else. 
>>> _______________________________________________
>>> stringtemplate-interest mailing list
>>> stringtemplate-interest at antlr.org
>>> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
>> 
>> 
> 
> 
> <mvn-out.txt>_______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20101221/50f57518/attachment-0001.html 


More information about the stringtemplate-interest mailing list