Discussion:
[jira] [Created] (COCOON-2334) [PATCH] cocoon 2.1 branch (head) build system
Kai Hofmann (JIRA)
2013-02-28 07:53:18 UTC
Permalink
Kai Hofmann created COCOON-2334:
-----------------------------------

Summary: [PATCH] cocoon 2.1 branch (head) build system
Key: COCOON-2334
URL: https://issues.apache.org/jira/browse/COCOON-2334
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Priority: Blocker
Fix For: 2.1.12


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.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Kai Hofmann (JIRA)
2013-02-28 07:55:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Hofmann updated COCOON-2334:
--------------------------------

Attachment: antSourcePatch.diff

Patches src/blocks/ojb/build.xml
and tools/src/blocks-build.xsl
to fix compiling issues when using newer javac versions.
Post by Kai Hofmann (JIRA)
[PATCH] cocoon 2.1 branch (head) build system
---------------------------------------------
Key: COCOON-2334
URL: https://issues.apache.org/jira/browse/COCOON-2334
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Priority: Blocker
Fix For: 2.1.12
Attachments: antSourcePatch.diff
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\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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Francesco Chicchiriccò (JIRA)
2013-02-28 08:19:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò reassigned COCOON-2334:
----------------------------------------------

Assignee: Francesco Chicchiriccò
Post by Kai Hofmann (JIRA)
[PATCH] cocoon 2.1 branch (head) build system
---------------------------------------------
Key: COCOON-2334
URL: https://issues.apache.org/jira/browse/COCOON-2334
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
Fix For: 2.1.12
Attachments: antSourcePatch.diff
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\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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Francesco Chicchiriccò (JIRA)
2013-02-28 08:27:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò closed COCOON-2334.
------------------------------------------

Resolution: Fixed

Patch applied, thanks!
http://svn.apache.org/r1451137
Post by Kai Hofmann (JIRA)
[PATCH] cocoon 2.1 branch (head) build system
---------------------------------------------
Key: COCOON-2334
URL: https://issues.apache.org/jira/browse/COCOON-2334
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
Fix For: 2.1.12
Attachments: antSourcePatch.diff
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\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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Hudson (JIRA)
2013-02-28 11:07:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589442#comment-13589442 ]

Hudson commented on COCOON-2334:
--------------------------------

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
Post by Kai Hofmann (JIRA)
[PATCH] cocoon 2.1 branch (head) build system
---------------------------------------------
Key: COCOON-2334
URL: https://issues.apache.org/jira/browse/COCOON-2334
Project: Cocoon
Issue Type: Improvement
Components: - Build System: Ant
Affects Versions: 2.1.12
Reporter: Kai Hofmann
Assignee: Francesco Chicchiriccò
Priority: Blocker
Fix For: 2.1.12
Attachments: antSourcePatch.diff
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\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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...