Click
  1. Click
  2. CLK-19

Update included jars to latest versions

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      Several of the included jars (Apache commons) are out of date. This is an issue especially with the commons collections which is incompatible with Hibernate and several other frameworks. It would greatly help to either always package the latest version of these common library jars, or create a separate click-core.jar and click-all.jar with click-core just containing click classes and no dependent common libraries (and click-all the existing comprehensive jar). That way those of us who use other libraries that depend on these common libraries can use click-core and select the appropriate commons jars to use in a web app (while maintaining the convenience of an all-in-one jar for those that don't use other frameworks).

        Activity

        Hide
        Adrian A. added a comment -

        > This seems to be again the case. Please reopen the issue.
        I'd rather not reopen fixed issues for previous versions.
        Please feel free to submit new issues.

        > Would be of huge help if Click would use latest library versions.
        In this case it's a little bit complicated since most newer versions of the libraries require Java 6 or newer, but Click is still keeps the compatibility with Java 5.

        Show
        Adrian A. added a comment - > This seems to be again the case. Please reopen the issue. I'd rather not reopen fixed issues for previous versions. Please feel free to submit new issues. > Would be of huge help if Click would use latest library versions. In this case it's a little bit complicated since most newer versions of the libraries require Java 6 or newer, but Click is still keeps the compatibility with Java 5.
        Hide
        Werner Fischer added a comment -

        This seems to be again the case. Please reopen the issue.
        Would be of huge help if Click would use latest library versions.

        tnx.

        Show
        Werner Fischer added a comment - This seems to be again the case. Please reopen the issue. Would be of huge help if Click would use latest library versions. tnx.
        Hide
        Malcolm Edgar added a comment -

        Committed to CVS, now using:

        • commons-codec-1.3.jar
        • commons-collections-3.1.jar
        • commons-fileupload-1.0.jar
        • commons-lang-2.1.jar

        will be available in release 0.13

        Show
        Malcolm Edgar added a comment - Committed to CVS, now using: commons-codec-1.3.jar commons-collections-3.1.jar commons-fileupload-1.0.jar commons-lang-2.1.jar will be available in release 0.13
        Hide
        Malcolm Edgar added a comment -

        I am currently working fixing this, as a part of picking up the latest Velocity 1.5 dev stream code and providing a Click no dependencies JAR.

        This should be resolved in 0.13 release, and I will check in the fixes once its stable.

        Show
        Malcolm Edgar added a comment - I am currently working fixing this, as a part of picking up the latest Velocity 1.5 dev stream code and providing a Click no dependencies JAR. This should be resolved in 0.13 release, and I will check in the fixes once its stable.
        Hide
        Iain Shigeoka added a comment -

        If those mods are too difficult you can use 3.1 which is compatible with most frameworks (at least hibernate 3) and does not require an mods (at least I was able to rebuild click .12 with it).

        Show
        Iain Shigeoka added a comment - If those mods are too difficult you can use 3.1 which is compatible with most frameworks (at least hibernate 3) and does not require an mods (at least I was able to rebuild click .12 with it).
        Hide
        Malcolm Edgar added a comment -

        Commons collection 1.3.2 does not work with Clicks current custom Velocity build. A new Velocity snapshot will need to be used to be able to update this JAR.

        Show
        Malcolm Edgar added a comment - Commons collection 1.3.2 does not work with Clicks current custom Velocity build. A new Velocity snapshot will need to be used to be able to update this JAR.
        Hide
        Iain Shigeoka added a comment -

        FYI commons collection 1.3 appears to work without mods. But updating encoder to 1.2 does cause two errors in ClickUtil (methods that used to throw exceptions don't any more). The patch is trivial to accomodate 1.2 so I won't submit it. BTW, I'm experimenting and trying to port some existing pages over to click so am working pretty actively with it. If you have any code changes or fixes I can help with let me know.

        Show
        Iain Shigeoka added a comment - FYI commons collection 1.3 appears to work without mods. But updating encoder to 1.2 does cause two errors in ClickUtil (methods that used to throw exceptions don't any more). The patch is trivial to accomodate 1.2 so I won't submit it. BTW, I'm experimenting and trying to port some existing pages over to click so am working pretty actively with it. If you have any code changes or fixes I can help with let me know.

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Iain Shigeoka
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development