Thanks, for the pointer. <resources>
<resource><directory>src/main/java</directory> <excludes> <exclude>*.java</exclude> </excludes> </resource> <resource><directory>src/main/resources</directory></resource> </resources> in the pom.xml solves the issue. On Mon, Aug 6, 2012 at 6:43 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 06 Aug 2012 20:47:13 -0300, PS M. <transparentpolit...@gmail.com**> > wrote: > > Hi there -- >> > > Hi! > > > I thought there was a way to put the java files and the related tml files >> in the same directory. >> >> I would like to put the MyPage.tml file in the same >> src/main/java/org/example/**pages directory that the MyPage.java file is >> in. Similarly, I would like to have MyComponent.tml in the >> same src/main/java/org/example/**components directory that the >> MyComponent.java file is in. >> >> This makes it much easier to switch back and forth in eclipse between the >> template and the java code. * >> > > Have you seen Gavin Lei's Tapestry Eclipse plugin? > > > I thought there was a way to do it in Tapestry 5, but now I can't find >> the documentation on how to do so. Any suggestions? >> > > This is completely unrelated to Tapestry. This is all about configuration > (IDE nad/or build tool). All Tapestry cares is having the .tml files need > to be in the right folders in the classpath. How you organize the sources > is completely ignored by Tapestry. > > -- > Thiago H. de Paula Figueiredo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> > For additional commands, e-mail: users-h...@tapestry.apache.org > >