db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jalud Abdulmenan <te...@rogers.com>
Subject Re: another build failure
Date Mon, 20 Sep 2004 20:45:40 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems to me that it can not locate the jdk libs. In ant.properties
(at C:\Documents and Settings\Administrator), check that j14lib and
j13lib are pointing to the 1.4 & 1.3 jdk libs, as in:

j14lib=C\:\\j2sdk1.4.2_05\\jre\\lib
j13lib=C\:\\jdk1.3.1_12\\jre\\lib

or

j14lib=C\:/j2sdk1.4.2_05/jre/lib
j13lib=C\:/jdk1.3.1_12/jre/lib

Jalud,

Lynh Nguyen wrote:
> Today, somehow this problem shows up again and I can't get rid of it.
> Any help ???
>
> Thanks
>
>
> C:\derby\trunk>ant clean
> Buildfile: build.xml
>     [echo] User home is C:\Documents and Settings\Administrator
>
> clean:
>   [delete] Deleting directory C:\derby\trunk\classes
>
> BUILD SUCCESSFUL
> Total time: 1 second
> C:\derby\trunk>ant
> Buildfile: build.xml
>     [echo] User home is C:\Documents and Settings\Administrator
>
> init:
>    [mkdir] Created dir: C:\derby\trunk\classes
>     [echo] User home is C:\Documents and Settings\Administrator
>
> ensuresanitystate:
>     [echo] User home is C:\Documents and Settings\Administrator
>
> setissane:
>
> showenv:
>
>     [echo] Ant environment:
>     [echo]   Base Directory: C:\derby\trunk
>     [echo]   Build output: C:\derby\trunk/classes
>     [echo]   Compiler: modern
>     [echo]   Sane = false
>     [echo]   Proceed = true
>
>
> getstate:
>
> state:
>
> parsers:
>
> parser:
>     [echo] User home is C:\Documents and Settings\Administrator
>
> chkparser:
>
> genParser:
>     [echo] User home is C:\Documents and Settings\Administrator
>
> chkparser:
>
> genParser:
>
> parser:
>     [echo] User home is C:\Documents and Settings\Administrator
>
> chkparser:
>
> genParser:
>
> engine:
>
> engine:
>
> compile_reference:
>    [javac] Compiling 10 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_authentication:
>    [javac] Compiling 1 source file to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> authentication:
>
> compile_io:
>    [javac] Compiling 4 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> storage:
>
> compile_iapi_error:
>
> compile_reference:
>    [javac] Compiling 10 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 4 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_util:
>
> compile_iapi_services_jsr169:
>    [javac] Compiling 83 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_services_io:
>    [javac] Compiling 36 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_jdbc2:
>
> compile_jdbc2:
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_jdbc3:
>
> compile:
>
> compile_types:
>    [javac] Compiling 51 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_store_jsr169:
>    [javac] Compiling 76 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_store_jdk13:
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile:
>
> compile_iapi_sql_jsr169:
>    [javac] Compiling 105 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_sql_jdbc2:
>
> compile:
>
> compile_iapi_db:
>    [javac] Compiling 8 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_jdbc_stmt:
>    [javac] Compiling 1 source file to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_jdbc_jsr169:
>    [javac] Compiling 6 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_jdbc_jdbc2:
>    [javac] Compiling 3 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_iapi_jdbc_jdbc3:
>    [javac] Compiling 4 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile:
>
> iapi:
>
> compile:
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 5 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 6 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> jdbc:
>
> compile_database:
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> database:
>
> compile:
>
> compile_impl_services:
>    [javac] Compiling 63 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 2 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_impl_io:
>    [javac] Compiling 11 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>    [javac] Compiling 3 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_impl_store:
>    [javac] Compiling 189 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> parser:
>     [echo] User home is C:\Documents and Settings\Administrator
>
> chkparser:
>
> genParser:
>
> compile:
>    [javac] Compiling 432 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>     [copy] Copying 1 file to
> C:\derby\trunk\classes\org\apache\derby\impl\sql\c
> atalog
>
> compile:
>    [javac] Compiling 3 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_jsr169:
>    [javac] Compiling 21 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>     [copy] Copying 1 file to
> C:\derby\trunk\classes\org\apache\derby\impl\jdbc
>    [javac] Compiling 7 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_jdbc2:
>    [javac] Compiling 4 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile_jdbc3:
>    [javac] Compiling 5 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> compile:
>
> compile:
>    [javac] Compiling 12 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> iapi:
>
> checkosgijar:
>
> compile_osgi:
>    [javac] Compiling 1 source file to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> osgi:
>
> compile_catalog:
>    [javac] Compiling 24 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> catalog:
>
> compile_diag:
>    [javac] Compiling 7 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> diag:
>     [copy] Copying 1 file to C:\derby\trunk\classes\org\apache\derby
>     [echo] User home is C:\Documents and Settings\Administrator
>
> build:
>
> build_base:
>
> compile:
>    [javac] Compiling 9 source files to C:\derby\trunk\classes
>    [javac] Fatal Error: Unable to locate package java.lang in classpath
> or boot
> classpath
>    [javac] Compile failed; see the compiler error output for details.
>
> build:
>
> build:
>
> verifysplit:
>
> split:
>
> splitprops:
>
> verifysplit:
>
> noSplit:
>
>     [echo] ***** SplitMessages not available *****
>     [echo]  ***** Run "all" target first *****
>
>
> BUILD FAILED
> C:\derby\trunk\build.xml:140: The following error occurred while
> executing this
> line:
> C:\derby\trunk\java\engine\org\apache\derby\loc\build.xml:19: The
> following erro
> r occurred while executing this line:
> C:\derby\trunk\java\engine\org\apache\derby\loc\build.xml:64: Exiting
> ant build.
> ..
>
> Total time: 20 seconds
> C:\derby\trunk>
>
>
> Yip Ng wrote:
>
>> I had the same problem, try cleaning the build
>> directory and rebuild it.  It works for me.
>>
>>
>> --- lynhnn <lynhnn@Remulak.Net> wrote:
>>
>>
>>
>>> HI,
>>> I download the derby and try to build with 'ant'. I
>>> got the following errors:
>>> First, the build won't continue as ant fail to pick
>>> up my 'ant.properties' under %HOME% directory.
>>> I test %HOME% directory by using
>>>
>>> <echo message="User home is ${user.home}"/>
>>>
>>> inside the first build.xml file and got another
>>> directory
>>>
>>> [echo] User home is C:\Documents and
>>> Settings\Administrator
>>>
>>> Then I move 'ant.properties' into this directory and
>>> ant can continue.
>>> However, I got the 'BUILD FAILED' error
>>>
>>> noSplit:
>>>
>>>     [echo] ***** SplitMessages not available *****
>>>     [echo]  ***** Run "all" target first *****
>>>
>>> BUILD FAILED
>>>
>>> Any help?
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>> _______________________________
>> Do you Yahoo!?
>> Win 1 of 4,000 free domain names from Yahoo! Enter now.
>> http://promotions.yahoo.com/goldrush
>>
>>
>>
>>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBT0F02MOhC3LM/1oRAvkbAKCo7LKLljA4LQiho4G3R5MGWTW6vgCeJ8E4
hilmGWTplfZBmJGy4dLEwEE=
=3JoZ
-----END PGP SIGNATURE-----


Mime
View raw message