Thanks!. That certainly does the trick. I wish there was a better way though - files removed from src/main/java won't get cleaned up in the classes folder unless you force a clean build (and add and src/main/webapp/WEB-INF/classes/views to the cleanup) and it's not ideal to have a non-version control directory hanging in webapp.
On Thu, Aug 19, 2010 at 11:34 AM, Wilson MacGyver <[email protected]>wrote: > you can use a copy task. > > I ran into the same problem during war building phase. I used the copy task > like > copy { > from 'src/main/clojure/views' > into 'src/main/webapp/WEB-INF/classes/views' > } > > More details on how I used it for my case. > > http://m.3wa.com/?p=472 > > On Thu, Aug 19, 2010 at 2:32 PM, Dillon Sellars <[email protected]> > wrote: > > I know non-code files should generally go into src/main/resources, but > for > > Wicket it's nice to have the html next to the .java files. How can I > include > > **/*.html resources from src/main/java and have them go into the classes > > directory? > > > > -- > Omnem crede diem tibi diluxisse supremum. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
