On 4/4/07, Dave <[EMAIL PROTECTED]> wrote:
We've got the Spring 1.2.8 spring.jar in tools/spring-1.2 directory
for Acegi, which I believe is the all-in-one Spring jar.

So, we probably don't need all of those Spring jars in
tools/struts-2.0.5. I think we can safely delete spring-aop-1.2.8.jar,
spring-beans-1.2.8.jar, spring-context-1.2.8.jar,
spring-core-1.2.8.jar and spring-web-1.2.8.jar. Any objection to
deleting them?

No, but you can also likely use these in place of the big spring.jar.
Here's what Acegi depends on:

   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-aop</artifactId>
   </dependency>
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-dao</artifactId>
   </dependency>
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-jdbc</artifactId>
   </dependency>
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-remoting</artifactId>
   </dependency>
   <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-support</artifactId>
   </dependency>


And I wonder, why does Struts need all of those Spring jars? Does
Struts really depend on Spring now or is that just for the Struts2
Spring plugin?

They originally depended on Spring as the default IoC container.  Now
they use Guice, which AFAIK is bundled in xwork.jar.

Matt


- Dave



--
http://raibledesigns.com

Reply via email to