On Sun, Jan 10, 2010 at 11:28 AM, Igor Drobiazko
<igor.drobia...@gmail.com> wrote:
> Well, I run the archetype and imported the maven project into Eclipse. Then
> I started the app with run-jetty-run plugin.
> I think run-jetty-run is not able to handle maven dependencies of type
> "war". Why actually a war? You could put the resources into some of your
> jars and use the "classpath" prefix for assets. Your force your users to
> start the apps with mvn jetty:run.
> You could also put the resources into the archetype. I would expect the
> archetype to work out of the box with any IDE and without any mvn commandos.

I know. There are of course several ways to do this. War overlay buys
us two things: it's expanded by the build so you can easily replace
anything you like in the theme but you can still run it in a separate
webapplication and even switch to a different one runtime. The
downside is that its not as nice for development. Classpath resources
in a jar is nice and automatic but makes the resources little less
transparent and harder override. We could of course keep them all
expanded in the archetype but then we'd need to duplicate the
resources several times as the same theme is used in example
applications. So you know, we've thought about it, but there are pros
and cons to every approach.

Kalle


> On Sun, Jan 10, 2010 at 7:48 PM, Kalle Korhonen
> <kalle.o.korho...@gmail.com>wrote:
>
>> On Sun, Jan 10, 2010 at 5:14 AM, Igor Drobiazko
>> <igor.drobia...@gmail.com> wrote:
>> > Congratulations to the Tynamo Team! Keep on doing a great job.
>>
>> Thanks Igor!
>>
>> > I looks like the archetype is a little bit buggy. The css of the layout
>> > component "context:themes/tapestryskin/theme.css" is missing. Also some
>> > message keys like "navigationMenu".
>>
>> Were you running from your IDE? It's actually not missing but the
>> whole theme is a war overlay. Jetty:run knows how to deal with it, but
>> the easiest for running in place from IDE is you run mvn install on
>> the project and copy the "themes" directory from target to your
>> src/main/webapp. Yeah, the documentation for tapestry-model-web and
>> how you can set it up etc. is completely missing, certainly we need to
>> fix that.
>>
>> Kalle
>>
>> > On Sun, Jan 10, 2010 at 7:55 AM, Kalle Korhonen
>> > <kalle.o.korho...@gmail.com>wrote:
>> >
>> >> We are pleased to officially introduce Tynamo project and announce our
>> >> first releases and immediate availability of tapestry-model,
>> >> tapestry-hibernate-seedentity, tapestry-conversations and
>> >> tynamo-archetype modules. Tynamo is a continuation of Trails framework
>> >> and is based on Tapestry 5.
>> >>
>> >> Tynamo features:
>> >> * tapestry-model provides a model-driven development and a
>> >> CRUD framework for Tapestry 5
>> >> * tapestry-hibernate-seedentity allows you to seed your database in
>> >> an object-oriented manner
>> >> * tapestry-conversations provide a conversational scope
>> >>
>> >> Get your hands dirty now and try out Tynamo's archetype, following our
>> >> Quick start (http://tynamo.org/Quick+start). Tynamo project home is at
>> >> http://tynamo.org. Welcome!
>> >>
>> >> Feel free to link to us, we are just getting started and we have many
>> >> other modules, such as security and REST, waiting under our wings so
>> >> stay tuned for more releases! Meet us via IRC at #tynamo on
>> >> irc.codehaus.org or subscribe to u...@tynamo.codehaus.org at
>> >> http://xircles.codehaus.org/my/email/subscriptions to stay up-to-date.
>> >>
>> >> Enjoy,
>> >> Tynamo team
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> >> For additional commands, e-mail: users-h...@tapestry.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Best regards,
>> >
>> > Igor Drobiazko
>> > http://tapestry5.de/blog
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de/blog
>

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

Reply via email to