Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Trying to build 2.0.0, ANT script fail without mentioning any wrong prerequisite

Sebastien,

I reviewing your log I noticed a few things that may be pertinent:
- this one probably isn't (yet), but I notice the full path for junit.lib is set to: 'C:apache-ant-1.7.1libjunit-4.6.jar'.
  However your classpath has: C:\apache-ant-1.7.1\lib\junit-4.6.jar
- I also notice you got the warning "Warning: Minimum of JDK6 is required for some components to build." It should only be displayed if Ant detects JDK 1.5 as the current JDK. Yet "ant -version" shows 1.6.0.

Can you verify your paths are clean, or that you don't have an "JDK_HOME" env variable set to 1.5. The compile for core should work with JDK 1.5 anyway, but it maybe that there is an as yet unknown jdk compatibility issue going on.

In the meantime I'll look further into the "superclass" errors you are receiving from the compiler.

-Eric

Sebastien Tardif wrote:
I'm trying to build 2.0.0, ANT script fail without mentioning any wrong
prerequisite

Any idea?


C:\EclipseLinkSrc\br2.0\trunk>ant
Buildfile: build.xml
     [echo] trunk.build.location = 'C:\EclipseLinkSrc\br2.0\trunk'
     [echo] env.CLASSPATH        =
'.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\d
b2jcc.jar;C:\
PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bi
n;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Prog
ram Files\Rational\ClearQuest\cqjni.jar'
     [echo] java.class.path      =
'C:\apache-ant-1.7.1\bin\..\lib\ant-launcher.jar;C:\EclipseLinkSrc\br2.0
\trunk\.\;C:\
PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.
jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_c
u.jar;C:\PROGRA~1\IBM\SQLLIB\bin\;C:\PROGRA~1\IBM\SQLLIB\java\common.jar
;C:\Program Files\Rational\ClearQuest\cqjni.jar;
C:\apache-ant-1.7.1\lib\ant-antlr.jar;C:\apache-ant-1.7.1\lib\ant-apache
-bcel.jar;C:\apache-ant-1.7.1\lib\ant-apache-bsf
.jar;C:\apache-ant-1.7.1\lib\ant-apache-log4j.jar;C:\apache-ant-1.7.1\li
b\ant-apache-oro.jar;C:\apache-ant-1.7.1\lib\ant
-apache-regexp.jar;C:\apache-ant-1.7.1\lib\ant-apache-resolver.jar;C:\ap
ache-ant-1.7.1\lib\ant-commons-logging.jar;C:\ap
ache-ant-1.7.1\lib\ant-commons-net.jar;C:\apache-ant-1.7.1\lib\ant-jai.j
ar;C:\apache-ant-1.7.1\lib\ant-javamail.jar;C:\a
pache-ant-1.7.1\lib\ant-jdepend.jar;C:\apache-ant-1.7.1\lib\ant-jmf.jar;
C:\apache-ant-1.7.1\lib\ant-jsch.jar;C:\apache-a
nt-1.7.1\lib\ant-junit.jar;C:\apache-ant-1.7.1\lib\ant-launcher.jar;C:\a
pache-ant-1.7.1\lib\ant-netrexx.jar;C:\apache-an
t-1.7.1\lib\ant-nodeps.jar;C:\apache-ant-1.7.1\lib\ant-starteam.jar;C:\a
pache-ant-1.7.1\lib\ant-stylebook.jar;C:\apache-
ant-1.7.1\lib\ant-swing.jar;C:\apache-ant-1.7.1\lib\ant-testutil.jar;C:\
apache-ant-1.7.1\lib\ant-trax.jar;C:\apache-ant-
1.7.1\lib\ant-weblogic.jar;C:\apache-ant-1.7.1\lib\ant.jar;C:\apache-ant
-1.7.1\lib\junit-4.6.jar;C:\apache-ant-1.7.1\lib
\xercesImpl.jar;C:\apache-ant-1.7.1\lib\xml-apis.jar;C:\Tools\jdk\1.5.0\
1.5.0_16\lib\tools.jar'
     [echo] user.home            = 'C:\Documents and Settings\stardif'
     [echo] Loading user properties from: 'C:\Documents and
Settings\stardif/build.properties'
     [echo] oracle.extensions.depend.dir =
'C:\EclipseLinkSrc\br2.0\trunk/../extension.oracle.lib.external'
     [echo] extensions.depend.dir        =
'C:\EclipseLinkSrc\br2.0\trunk'
     [echo] junit.lib = 'C:apache-ant-1.7.1libjunit-4.6.jar' (if not set
tests may not compile; let alone run)
     [echo] Loading default properties from:
'C:\EclipseLinkSrc\br2.0\trunk/build.properties'
     [echo] Warning: Minimum of JDK6 is required for some components to
build.
     [echo] jdbc.driver.jar='${jdbc.driver.jar}'

clean-runtime-checkedin:
     [echo] Loading C:\Documents and
Settings\stardif/build.properties...

clean:

build-core:
     [echo] asm.build.location =
'C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.asm'
     [echo] Loading C:\Documents and
Settings\stardif/build.properties...

clean:
   [delete] Deleting directory
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.asm\tmp

init:
     [echo] extensions.depend.dir        =
'C:\EclipseLinkSrc\br2.0\trunk'
     [echo] bnd.path                     = '${bnd.path}'

generate-manifest:
     [echo] Generate the OSGi bundle manifest before jarring...
    [mkdir] Created dir:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.asm\tmp

package:
      [jar] Building jar:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.asm_2.0.1.
qualifier.jar
      [jar] Building jar:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.asm.source
_2.0.1.qualifier.jar

bnd-package:

build:
     [echo] antlr.build.location =
'C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.antlr'
     [echo] Loading C:\Documents and
Settings\stardif/build.properties...

clean:
   [delete] Deleting directory
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.antlr\tmp

init:
     [echo] extensions.depend.dir        =
'C:\EclipseLinkSrc\br2.0\trunk'
     [echo] bnd.path                     = '${bnd.path}'

generate-manifest:
     [echo] Generate the OSGi bundle manifest before jarring...
    [mkdir] Created dir:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.antlr\tmp

package:
      [jar] Building jar:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.antlr_2.0.
1.qualifier.jar
      [jar] Building jar:
C:\EclipseLinkSrc\br2.0\trunk\plugins\org.eclipse.persistence.antlr.sour
ce_2.0.1.qualifier.jar


bnd-package:

build:
     [echo] Loading C:\Documents and
Settings\stardif/build.properties...

clean:

init:
     [echo] extensions.depend.dir        =
'C:\EclipseLinkSrc\br2.0\trunk'
     [echo] bnd.path                     = '${bnd.path}'

compile:
    [mkdir] Created dir:
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\cl
asses
     [echo] Stamping the following values:
     [echo] version:       '2.0.1'
     [echo] qualifier:     'qualifier'
     [echo] buildDate:     '20091211'
     [echo] buildTime:     '1408'
     [echo] buildType:     'SNAPSHOT'
     [echo] buildRevision: 'NA'
     [copy] Copying 1 file to
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\cl
asses\org\eclipse\
persistence
    [javac] Compiling 1 source file to
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\cl
asses
    [javac] Compiling 1354 source files to
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\cl
asses

    [javac]
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\sr
c\org\eclipse\persistence\oxm\mappin
gs\XMLInverseReferenceMapping.java:176: method does not override a
method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\sr
c\org\eclipse\persistence\oxm\mappin
gs\XMLInverseReferenceMapping.java:186: method does not override a
method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac]
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\sr
c\org\eclipse\persistence\oxm\mappin
gs\XMLInverseReferenceMapping.java:191: method does not override a
method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
C:\EclipseLinkSrc\br2.0\trunk\build.xml:241: The following error
occurred while executing this line:
C:\EclipseLinkSrc\br2.0\trunk\foundation\org.eclipse.persistence.core\bu
ild.xml:162: Compile failed; see the compiler er
ror output for details.

Total time: 30 seconds
C:\EclipseLinkSrc\br2.0\trunk>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

C:\EclipseLinkSrc\br2.0\trunk>
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev



Back to the top