You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Shing Hing Man <ma...@yahoo.com> on 2011/08/27 21:25:01 UTC

Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser


 Hi,
   I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.
 The class PropertyConduitSourceImpl.java  has the  following   imports  : 
import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer;
import org.apache.tapestry5.internal.antlr.PropertyExpressionParser;

If I am not  mistaken, PropertyExpressionLexer and PropertyExpressionParser are generated  from Antlr grammar files. 

How to generate the above two files ? 

Thanks in advance for any assistance !

Shing

Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

Posted by Howard Lewis Ship <hl...@gmail.com>.
The Gradle build will do the necessary work for you.  However, I
haven't fully tested it under Windows ... its Just Barely Good Enough
on Mac/Linux.

On Sat, Aug 27, 2011 at 2:42 PM, Shing Hing Man <ma...@yahoo.com> wrote:
> In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were generated. They  are in
>
>   tapestry-core/build/generated-sources/
>
> Shing
>
>
>
>
> ________________________________
> From: Shing Hing Man <ma...@yahoo.com>
> To: Tapestry users <us...@tapestry.apache.org>
> Sent: Saturday, 27 August 2011, 20:25
> Subject: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser
>
>
>
>  Hi,
>    I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.
>  The class PropertyConduitSourceImpl.java  has the  following   imports  :
> import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer;
> import org.apache.tapestry5.internal.antlr.PropertyExpressionParser;
>
> If I am not  mistaken, PropertyExpressionLexer and PropertyExpressionParser are generated  from Antlr grammar files.
>
> How to generate the above two files ?
>
> Thanks in advance for any assistance !
>
> Shing



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser

Posted by Shing Hing Man <ma...@yahoo.com>.
In fact, PropertyExpressionLexer.java and PropertyExpressionParser.java were generated. They  are in 

  tapestry-core/build/generated-sources/

Shing




________________________________
From: Shing Hing Man <ma...@yahoo.com>
To: Tapestry users <us...@tapestry.apache.org>
Sent: Saturday, 27 August 2011, 20:25
Subject: Tap 5.3.0: How to generate PropertyExpressionLexer and PropertyExpressionParser 



 Hi,
   I have checked out the tapestry 5 trunk and and try to set  up  tapestry-core in Eclipse.
 The class PropertyConduitSourceImpl.java  has the  following   imports  : 
import org.apache.tapestry5.internal.antlr.PropertyExpressionLexer;
import org.apache.tapestry5.internal.antlr.PropertyExpressionParser;

If I am not  mistaken, PropertyExpressionLexer and PropertyExpressionParser are generated  from Antlr grammar files. 

How to generate the above two files ? 

Thanks in advance for any assistance !

Shing