I am sure that is one option. My goal was creating Tapestry Libraries where the components are all packaged together in a single jar. Currently, I have about five different libraries. A couple are used to "swap out" branding. Where in my case the same component exists for different brands, but have a different look and feel.
regards, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -----Original Message----- From: Patrick Moore [mailto:[EMAIL PROTECTED] Sent: Tue 10/24/2006 2:29 PM To: Tapestry users Subject: Re: defining paths for templates I too liked having the html files together with the java sources, but I think your assumption that that means the html files have to be in the same directory as the class files should be revisited. I found it pretty easy under maven2 to extract out the html, properties, and script files from my source packages "com.transparentpolitics.web.pages" and "com.transparentpolitics.web.components" directory and drop them in the webapp and WEB-INF directory under my target output directory. This is the relevant part of my maven2 pom.xml (note that you need the 2.0.2 version for this to work): <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.0.2-SNAPSHOT</version> <configuration> <!-- <warSourceDirectory>${basedir}/src/context</warSourceDirectory> --> <webResources> <resource> <!-- this is relative to the pom.xml directory --> <directory> src/main/java/com/transparentpolitics/web/components </directory> <targetPath>WEB-INF</targetPath> <includes> <include>**/*.html</include> <include>**/*.jwc</include> <include>**/*.properties</include> </includes> <excludes> <exclude>**/package.html</exclude> </excludes> </resource> <resource> <!-- this is relative to the pom.xml directory --> <directory> src/main/java/org/apache/tapestry/contrib/dojo/html </directory> <targetPath>WEB-INF</targetPath> <includes> <include>**/*.html</include> <include>**/*.jwc</include> <include>**/*.script</include> <include>**/*.properties</include> </includes> <excludes> <exclude>**/package.html</exclude> </excludes> </resource> <resource> <!-- this is relative to the pom.xml directory --> <directory> src/main/java/com/transparentpolitics/web/pages </directory> <includes> <include>**/*.html</include> <include>**/*.page</include> </includes> <excludes> <exclude>**/package.html</exclude> </excludes> </resource> <resource> <!-- page properties need to go under the WEB-INF directory --> <directory> src/main/java/com/transparentpolitics/web/pages </directory> <targetPath>WEB-INF</targetPath> <includes> <include>**/*.properties</include> </includes> </resource> </webResources> </configuration> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]