Actually, I started a new project in IntelliJ and am having no
problems.  I started a blank Java project, added the built-in groovy
support (which I configured to point to my groovy 1.5.6 installation).
 Then I just copied the tapestry libs over into a lib directory from
another project (5.0.11) and built up the web.xml by hand.  I'll can
convert easily to manage the tapestry libs by ivy.

No problems.

The chief architect on our project is planning to use groovy classes
and scripts in our next version for dataloading and modeling.  I'd
love to follow in with groovy-tapestry for the web app.  Do you know
of anyone stress testing such an app, or have any ideas about
performance curves?

On Tue, Jun 10, 2008 at 2:02 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Which version of T5?  I think 5.0.11 tripped across the Groovy
> metaClass field, and 5.0.12 is smart enough to ignore it.
>
> On Mon, Jun 9, 2008 at 11:10 AM, Bill Holloway <[EMAIL PROTECTED]> wrote:
>> In IntelliJ, I quickstart-mavened a new Tapestry 5 project, added the
>> Groovy facet, made sure I had the download (groovy 1.5.6), and wrote a
>> simple Groovy homepage:  Home.groovy:
>>
>> class Home {
>>    def getWelcome ()
>>    {
>>        "Welcome, Bro!"
>>    }
>> }
>>
>> In the resources package, I mirrored the pages package and put Home.tml:
>>
>> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>    <head>
>>        <title>Groovy-tapestry Home Page</title>
>>    </head>
>>    <body>
>>        <h1>${welcome}</h1>
>>    </body>
>> </html>
>>
>> Under a Jetty run config, visiting the homepage I get
>>
>> exception
>>    org.apache.tapestry.internal.services.TransformationException:
>> Class us.antera.grapestry.pages.Home contains field(s) (metaClass)
>> that are not private. You should change these fields to private, and
>> add accessor methods if needed.
>>
>> Recommendations?
>>
>> --
>> Bill @ PeoplePad
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Bill @ PeoplePad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to