Hi George,

You can put your CSS/Less files in:

src/main/resources/META-INF/assets/css

and then import them with:

@Import(stylesheet="css/filename.css")

(or .less)

mrg



On Wed, May 7, 2014 at 1:48 PM, George Christman <gchrist...@cardaddy.com>wrote:

> Hi everyone, I'm getting the following error,
>
> (AssetSourceImpl.java:188) - Packaging of classpath assets has changed in
> release 5.4; Assets should no longer be on the main classpath, but should
> be moved to 'META-INF/assets/' or a sub-folder. Future releases of Tapestry
> may no longer support assets on the main classpath.
>
> I've read the following post,
>
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/META-INF-assets-in-5-4-td5714677.html
>
> I'm still not sure what I'm suppose to be doing. Do I create a css folder
> in META-INF/css and place my css there? If so, how do I call it?
>
> @Import(stylesheet = {"context:t5-assets/css/
> layout.css"})?
>
> Thanks,
> George
>

Reply via email to