Bug 40017 - Fails when build with Java JDK 1.5, but works with JDK 1.4.2_12
Summary: Fails when build with Java JDK 1.5, but works with JDK 1.4.2_12
Status: RESOLVED DUPLICATE of bug 40113
Alias: None
Product: Lenya
Classification: Unclassified
Component: Build System (show other bugs)
Version: Trunk
Hardware: PC Windows XP
: P4 regression
Target Milestone: 1.4
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-11 16:17 UTC by Radu Oniga
Modified: 2007-04-26 07:32 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Oniga 2006-07-11 16:17:07 UTC
I download the last version today of the Lenya 1.4 and I tried again to run the
build for Tomcat deploy but it fails. 
Some days before I download from SVN the version from 22 March 2006. In that
version is not present the file
D:\Programare\Lenya\src\resources\build\modules2build.xsl


The build fails with the next error:

........
deploy-modules:
Processing D:\Programare\Lenya\build\lenya\temp\modules.xml to
D:\Programare\Lenya\build\lenya\temp\modules-build.xml
Loading stylesheet D:\Programare\Lenya\src\resources\build\modules2build.xsl
D:/Programare/Lenya/src/resources/build/modules2build.xsl:79:102: Warning! Can
not load requested doc: Programmer's Error!  putDocumentInCache found reparse of
doc: file:///D:/Programare/Lenya/src/modules/bxe/module.xml
D:/Programare/Lenya/src/resources/build/modules2build.xsl:79:102: Warning! Can
not load requested doc: Programmer's Error!  putDocumentInCache found reparse of
doc: file:///D:/Programare/Lenya/src/modules/cforms/module.xml

............

D:/Programare/Lenya/src/resources/build/modules2build.xsl:89:98: Warning! Can
not load requested doc: Programmer's Error!  putDocumentInCache found reparse of
doc: file:///D:/Programare/Lenya/src/pubs/default/modules/homepage/module.xml
Processing D:\Programare\Lenya\build\lenya\temp\modules.xml to
D:\Programare\Lenya\build\lenya\temp\modules.xconf
Loading stylesheet D:\Programare\Lenya\src\resources\build\modules2patch.xsl
Processing: D:\Programare\Lenya\build\lenya\temp\modules.xconf
Writing: D:\Programare\Lenya\build\lenya\webapp\WEB-INF\cocoon.xconf

BUILD FAILED
D:\Programare\Lenya\src\targets\webapp-build.xml:163: The following error
occurred while executing this line:
D:\Programare\Lenya\src\targets\modules-build.xml:63: The following error
occurred while executing this line:
D:\Programare\Lenya\build\lenya\temp\modules-build.xml:18: The following error
occurred while executing this line:
Target `deploy-module-org.apache.lenya.modules.bxe' does not exist in this project.

Total time: 9 minutes 4 seconds

D:\Programare\Lenya>
Comment 1 Radu Oniga 2006-07-13 08:47:54 UTC
First I tried to compile with JDK 1.5 and fails with the error that I put in bug
description.
Today I uninstalled JDK 1.5 and installed JDK 1.4.2_12 and everything works ok
in build procedures.

Maybe is not a bug, but I think is good to know this behavior.

Radu Oniga
Comment 2 J 2006-10-27 11:06:43 UTC
is this still an issue with current trunk?
Comment 3 J 2007-04-26 07:32:06 UTC
we now support jdk 1.5 and even have success reports with 1.6.
since there already is a blocker bug regarding windows build that looks very
similar, i'm closing this one. should get enough eyeballs as it is...


*** This bug has been marked as a duplicate of 40113 ***