Hi everyone,

As I wrote on the users mailing list, I'm trying to use generate web content offline without servlets, and I believe tiles 3 may be the best tool for that. I've been trying to understand how things are split between projects: not so easy but I'll talk more about it later.

Right now I'd just like to point out a few obsolete dependencies in the autotag jars: - tiles-autotag-freemarker references tiles-request-freemarker but never calls it. - almost the same, tiles-autotag-jsp references tiles-request-jsp and tiles-request-freemarker. - and tiles-request-velocity references tiles-request-servlet but not tiles-request-api (while the other tiles-request implementations do)

The attached patch levels the playing ground between jsp, freemarker and velocity.

Regards,
Nick

Index: tiles-autotag/tiles-autotag-freemarker/pom.xml
===================================================================
--- tiles-autotag/tiles-autotag-freemarker/pom.xml	(revision 1185373)
+++ tiles-autotag/tiles-autotag-freemarker/pom.xml	(working copy)
@@ -17,11 +17,6 @@
   		<version>1.0-SNAPSHOT</version>
   	</dependency>
   	<dependency>
-  		<groupId>org.apache.tiles</groupId>
-  		<artifactId>tiles-request-freemarker</artifactId>
-  		<version>1.0-SNAPSHOT</version>
-  	</dependency>
-  	<dependency>
   		<groupId>junit</groupId>
   		<artifactId>junit</artifactId>
   		<version>4.8.1</version>
Index: tiles-autotag/tiles-autotag-jsp/pom.xml
===================================================================
--- tiles-autotag/tiles-autotag-jsp/pom.xml	(revision 1185373)
+++ tiles-autotag/tiles-autotag-jsp/pom.xml	(working copy)
@@ -12,12 +12,6 @@
   <description>Generates JSP tags automatically from templates.</description>
   <dependencies>
     <dependency>
-      <groupId>org.apache.tiles</groupId>
-      <artifactId>tiles-request-jsp</artifactId>
-      <version>1.0-SNAPSHOT</version>
-      <scope>compile</scope>
-    </dependency>
-    <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.7</version>
@@ -31,11 +25,6 @@
     </dependency>
     <dependency>
     	<groupId>org.apache.tiles</groupId>
-    	<artifactId>tiles-request-freemarker</artifactId>
-    	<version>1.0-SNAPSHOT</version>
-    </dependency>
-    <dependency>
-    	<groupId>org.apache.tiles</groupId>
     	<artifactId>tiles-autotag-core</artifactId>
     	<version>1.0-SNAPSHOT</version>
     </dependency>
Index: tiles-request/tiles-request-velocity/pom.xml
===================================================================
--- tiles-request/tiles-request-velocity/pom.xml	(revision 1185373)
+++ tiles-request/tiles-request-velocity/pom.xml	(working copy)
@@ -42,6 +42,11 @@
   	</dependency>
   	<dependency>
   		<groupId>org.apache.tiles</groupId>
+  		<artifactId>tiles-request-api</artifactId>
+  		<version>1.0-SNAPSHOT</version>
+  	</dependency>
+  	<dependency>
+  		<groupId>org.apache.tiles</groupId>
   		<artifactId>tiles-request-servlet</artifactId>
   		<version>1.0-SNAPSHOT</version>
   	</dependency>

Reply via email to