Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.1.12
-
None
-
Blocker
-
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.
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.