Cocoon
  1. Cocoon
  2. COCOON-2334

[PATCH] cocoon 2.1 branch (head) build system

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.12
    • Fix Version/s: 2.1.12
    • Component/s: - Build System: Ant
    • Labels:
      None
    • Urgency:
      Blocker
    • Other Info:
      Patch available

      Description

      On my System is only jdk 7 installed, so during compiling the actual cocoon 2.1 branch I got the following error:

      cocoon-block-batik-compile:
      Compiling 2 source files to C:\work\eclipse\Cocoon2_1_branch\build\cocoon\blocks\batik\dest
      javac: target release 1.6 conflicts with default source release 1.7

      BUILD FAILED
      C:\work\eclipse\Cocoon2_1_branch\tools\targets\compile-build.xml:264: The following error occurred while executing this line:
      C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:1119: The following error occurred while executing this line:
      C:\work\eclipse\Cocoon2_1_branch\build\cocoon\temp\blocks-build.xml:100: Compile failed; see the compiler error output for details.

      The patch will fix this situation by adding source="${source.vm}" to javac calls.

        Activity

        Hide
        Hudson added a comment -
        Integrated in Cocoon 2.1.X #84 (See [https://builds.apache.org/job/Cocoon%202.1.X/84/])
            [COCOON-2334] Patch applied (Revision 1451137)

             Result = SUCCESS
        ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1451137
        Files :
        * /cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml
        * /cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl
        Show
        Hudson added a comment - Integrated in Cocoon 2.1.X #84 (See [ https://builds.apache.org/job/Cocoon%202.1.X/84/ ])     [ COCOON-2334 ] Patch applied (Revision 1451137)      Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1451137 Files : * /cocoon/branches/BRANCH_2_1_X/src/blocks/ojb/build.xml * /cocoon/branches/BRANCH_2_1_X/tools/src/blocks-build.xsl
        Hide
        Francesco Chicchiriccò added a comment -
        Patch applied, thanks!
        http://svn.apache.org/r1451137
        Show
        Francesco Chicchiriccò added a comment - Patch applied, thanks! http://svn.apache.org/r1451137
        Hide
        Kai Hofmann added a comment -
        Patches src/blocks/ojb/build.xml
        and tools/src/blocks-build.xsl
        to fix compiling issues when using newer javac versions.
        Show
        Kai Hofmann added a comment - Patches src/blocks/ojb/build.xml and tools/src/blocks-build.xsl to fix compiling issues when using newer javac versions.

          People

          • Assignee:
            Francesco Chicchiriccò
            Reporter:
            Kai Hofmann
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development