Issue Details (XML | Word | Printable)

Key: XWIKI-374
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Vincent Massol
Reporter: Vincent Massol
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Ant build does not work with JDK 1.4

Created: 12/Oct/06 17:19   Updated: 25/Dec/06 11:40
Component/s: Build, Infrastructure and Tests
Affects Version/s: 0.9.1252
Fix Version/s: 1.0 B2

Issue Links:
Duplicate
 

Resolution Date: 25/Dec/06 11:40


 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 12/Oct/06 17:20
This is what I get:
C:\dev\xwiki\trunks-devs\xwiki>ant
Buildfile: build.xml

prepare:
[propertyfile] Updating property file: C:\dev\xwiki\trunks-devs\xwiki\src\main\web\WEB-INF\version.p
roperties
    [mkdir] Created dir: C:\dev\xwiki\trunks-devs\xwiki\build
    [mkdir] Created dir: C:\dev\xwiki\trunks-devs\xwiki\build\test
    [mkdir] Created dir: C:\dev\xwiki\trunks-devs\xwiki\build\classes
    [mkdir] Created dir: C:\dev\xwiki\trunks-devs\xwiki\release

clover-yes:

clover-no:

xwiki.nonjava:
     [copy] Copying 24 files to C:\dev\xwiki\trunks-devs\xwiki\build\classes
     [copy] Copying 989 files to C:\dev\xwiki\trunks-devs\xwiki\build\web
     [copy] Copied 84 empty directories to 1 empty directory under C:\dev\xwiki\trunks-devs\xwiki\bu
ild\web
     [copy] Copying 1 file to C:\dev\xwiki\trunks-devs\xwiki\build\web\WEB-INF
     [copy] Copying 1 file to C:\dev\xwiki\trunks-devs\xwiki\build\web\WEB-INF\classes

xwiki:
    [javac] Compiling 461 source files to C:\dev\xwiki\trunks-devs\xwiki\build\classes
    [javac] C:\dev\xwiki\trunks-devs\xwiki\src\main\java\com\xpn\xwiki\XWiki.java:90: cannot access
org.exoplatform.container.PortalContainer
    [javac] bad class file: C:\dev\xwiki\trunks-devs\xwiki\lib\exo-platform.container-2.0.jar(org/ex
oplatform/container/PortalContainer.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import org.exoplatform.container.PortalContainer;

Seems that the exo jar has been compiled with JDK 1.5 with a target set to 1.5...


Vincent Massol added a comment - 25/Dec/06 11:40
Duplicate of XWIKI-351