Put your layout.css into META-INF/assets/css and call it via @Import(stylesheet = {"css/layout.css"})
thats all 2014-05-08 15:10 GMT+02:00 George Christman <gchrist...@cardaddy.com>: > 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 >