Re: assets:context location in war file

2015-05-19 Thread Geoff Callender
In 5.4, I no longer use “context:” because 5.4 has a new location that works much better. If you put all your assets in src/main/resources/META-INF/assets/, eg. src/main/resources/META-INF/assets/layout/layout.css then they will end up in the WAR’s WEB-INF/classes/META-INF/assets/, wher

Re: assets:context location in war file

2015-05-19 Thread Christine
On 18-05-15 14:39, Thiago H de Paula Figueiredo wrote: That's your error. The context asset path root folder is the root of the WAR. In the sources, if you follow the Maven folder conventions, the context root folder is /src/main/webapp. Thanks. But somehow, it now seems to find the layout

Re: assets:context location in war file

2015-05-18 Thread Thiago H de Paula Figueiredo
On Mon, 18 May 2015 08:47:17 -0300, Christine wrote: Hi, Hi! I get Exceptions on href="${asset:context:/favicon.ico}"> in a tml file: and on @Import(stylesheet = "context:layout/layout.css") in Layout.java: Caused by: java.lang.RuntimeException: Unable to locate asset 'context

assets:context location in war file

2015-05-18 Thread Christine
Hi, I run a Tapestry 5.4-beta-26 app in Eclipse with RunJettyRun, which works fine. Now I want to create a war file, I use wtp, it works to a certain point, but it seems Tapestry can't find the context folder. Where do I put the stuff that's in "webapp" in Eclipse? I get Exceptions on