You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by lynhnn <ly...@Remulak.Net> on 2004/08/27 20:52:23 UTC

another build failure

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






Re: another build failure

Posted by Samuel Andrew McIntyre <fu...@nonintuitive.com>.
Hi,

Did you try Brian's suggestion of cleaning and building after the 
initial failure? It appears that splitmessages may have a problem if 
there are spaces in your path. So, if your Derby source is also in 
"Documents and Settings", it may be necessary to move the source to a 
path which does not contain spaces in order to build properly.

If you still run into problems after a clean and build, please post a 
description of the problem to help track down the problem.

Thank you,
Andrew


Re: another build failure

Posted by Brian Abbott <br...@dommoni.com>.
I received this error as well but, probably for differant reasons. I ran
"ant clean" followed by "ant" and it seemed to go away. I'm guessing that my
error came from some dependancy issues. But, maybe try that now that you
have ant.properties in the correct location.

Brian

----- Original Message ----- 
From: "lynhnn" <ly...@Remulak.Net>
To: "Derby Development" <de...@db.apache.org>
Sent: Friday, August 27, 2004 11:52 AM
Subject: another build failure


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


Re: another build failure

Posted by Jalud Abdulmenan <te...@rogers.com>.
-----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 <ly...@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-----


Re: another build failure

Posted by Lynh Nguyen <ly...@Remulak.Net>.
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 <ly...@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
>
>
>  
>


Re: another build failure

Posted by Yip Ng <yi...@yahoo.com>.
I had the same problem, try cleaning the build
directory and rebuild it.  It works for me.


--- lynhnn <ly...@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