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 - 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...
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...