-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
COCOON-2347 #4
COCOON-2347 #4
Conversation
Needed changes to build against spring 4.x JDK 1.8
README.txt
Outdated
$ cocoon.sh debug | ||
|
||
Then tell your IDE to connect to JVM debug on port localhost:5005. | ||
This branch tries to implement migration to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the changes to this file, no need to alter the README, as this branch will eventually be merged back to trunk
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
* @return a {@link MultiMap} that contains all stored values in all context in LIFO-compliant order. | ||
* Returned {@link MultiMap} is {@link org.apache.commons.collections.Unmodifiable}. | ||
*/ | ||
org.apache.cocoon.el.util.MultiMap getAll(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't you import this class? Why then use the package name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also fixed.
Thanks for this PR @ggruber4711 - could you ensure it works well with JDK 6 and JDK 7 as well? |
About the JDK6/7 compatiblity. There is an issue with the testcases in cocoon-template-impl which relies on proper translation of 'january' to polish, which however changed between JDK1.7 and JDK1.8. I will change the testcase to use a german translation instead. Then it should run on older JDKs also. |
Good. Thanks for your changes: I have troubles when applying the changes in
Please review such files so that only the actual changes are reported (currently, it seems that the whole file is changed) |
changed expected test-results to work with java-versions 6-8 used german locale instead of polish for testing
I have changed the testcases in cocoon-template-impl to work for JDK 1.6 to JDK 1.8 |
needed to avoid problem with java.lang.IllegalStateException: org.apache.cocoon.MockWebApplicationContext@7d898981 has not been refreshed yet
needed to avoid problem with java.lang.IllegalStateException: org.apache.cocoon.MockWebApplicationContext@7d898981 has not been refreshed yet
set scope to prototype if it is not singleton to work with spring 4.x
compatibility with spring 4.x
I have the following error when building via
FYI, on JDK 7 / JDK 8 the command above fails earlier because
|
fixing compile errors after changing to Spring 4.x
Fixed issue with cocoon-portal-impl |
I have now troubles when patching |
updated to lates Spring 4.x version: 4.3.15
ok updated AspectsBeanDefinitionParser.java again. |
re-commit changes
LGTM, let me get the diff to SVN... |
git-svn-id: https://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_2_COCOON-2347@1828352 13f79535-47bb-0310-9956-ffa450edef68
Merged with c87a744 Please close this PR (I don't have karma to do that), thanks! |
Needed changes to build against
spring 4.x
JDK 1.8