Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 97366
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josh Nichols (RETIRED) <nichoj@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97366 depends on: Show dependency tree
Bug 97366 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-28 20:33 0000
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'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 "/var/tmp/portage/spring-framework-1.2.1/work/spring-framework-1.2.1/src/org/springframework/web/struts/MappingDispatchActionSupport.java":

    [javac]     24. import org.apache.struts.actions.MappingDispatchAction;
    [javac]                ^---------------------------------------------^
    [javac] *** Semantic Error: The import "org/apache/struts/actions/MappingDispatchAction" 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 "MappingDispatchAction" 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 "setServlet(org.apache.struts.action.ActionServlet)" was found in type "java.lang.Object".

So, this leads me to the conclusion that 1.2 should be slotted as such.

------- Comment #1 From Dave Nellans 2005-07-30 16:25:40 0000 -------
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.


------- Comment #2 From Petteri Räty 2005-09-20 10:59:15 0000 -------
Struts has now been slotted in the official tree. Thanks for reporting.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug