I've always assumed (apart from being more correct in some vague way) that the main practical reason is to keep the web designers away from Java code - so they only see the templates, properties, javascript & css.
Pure assumption on my part though. > -----Original Message----- > From: Geoff Callender [mailto:[EMAIL PROTECTED] > Sent: 19 June 2008 15:02 > To: Tapestry users > Subject: Putting templates together with the java > > Perhaps I've lost my mind, but I'm struggling to find a good reason > why we keep our templates and properties separate from our java > source. I find it causes nothing but pain having to incessantly jump > between these disconnected parts of the source tree. Is it purely to > appease some Maven convention? > > What makes it even stranger is that the java classes end up together > with the templates and properties anyway - my build process puts > classes, templates and properties all together in WEB-INF/classes/ > regardless of where they come from. Live class reloading loves it > that way and it keeps them secure from prying hackers. > > So why not mix the source together into the following structure > > src/ > main/ > java/ <-- or perhaps some other name like "t5/" > myproject/ > base/ > components/ > css/ > images/ > META-INF/ > mixins/ > pages/ > services/ > WEB-INF/ > > and let the build coax it into the WAR file correctly? > > Cheers, > > Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]