<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>97366</bug_id>
          
          <creation_ts>2005-06-28 20:33 0000</creation_ts>
          <short_desc>dev-java/struts needs to be slotted</short_desc>
          <delta_ts>2005-09-20 10:59:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nichoj@gentoo.org</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-06-28 20:33:12 0000</bug_when>
            <thetext>It seems that struts-1.1.x and struts-1.2.x are not library compatible.

I found this out when I noticed that tomcat depends on =1.1* being installed, and I had 1.2 installed at the time. I tried changing the tomcat ebuild, but it failed at some point when dealing with struts (I don&apos;t have any logs at the moment).

I also encountered this with my work with the spring-framework. I was using struts-1.2 when I was writing the ebuild. Since then, I downgraded to 1.1 for tomcat. Where it worked fine with 1.2, now I get compile errors dealing with struts again:
    [javac] Found 3 semantic errors compiling &quot;/var/tmp/portage/spring-framework-1.2.1/work/spring-framework-1.2.1/src/org/springframework/web/struts/MappingDispatchActionSupport.java&quot;:

    [javac]     24. import org.apache.struts.actions.MappingDispatchAction;
    [javac]                ^---------------------------------------------^
    [javac] *** Semantic Error: The import &quot;org/apache/struts/actions/MappingDispatchAction&quot; is not valid, since it does not name a type in a package.


    [javac]     62. public abstract class MappingDispatchActionSupport extends MappingDispatchAction {
    [javac]                                                                    ^-------------------^
    [javac] *** Semantic Error: A candidate for type &quot;MappingDispatchAction&quot; was found, but it is invalid and needs to be fixed before this type will successfully compile.


    [javac]     75.                 super.setServlet(actionServlet);
    [javac]                         ^-----------------------------^
    [javac] *** Semantic Error: No accessible method with signature &quot;setServlet(org.apache.struts.action.ActionServlet)&quot; was found in type &quot;java.lang.Object&quot;.

So, this leads me to the conclusion that 1.2 should be slotted as such.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dnellans@cs.utah.edu</who>
            <bug_when>2005-07-30 16:25:40 0000</bug_when>
            <thetext>I agree they should be slotted,  its installed as a dependancy of two different
packages for me so everytime i update world it bounces back and forth from 1.2
to downgrade to 1.1, to upgrade, to downgrade.

slotting would solve the problem completely.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-09-20 10:59:15 0000</bug_when>
            <thetext>Struts has now been slotted in the official tree. Thanks for reporting.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>