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\Administratorinit:
[mkdir] Created dir: C:\derby\trunk\classes
[echo] User home is C:\Documents and Settings\Administratorensuresanitystate:
[echo] User home is C:\Documents and Settings\Administratorsetissane:
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\Administratorchkparser:
genParser:
[echo] User home is C:\Documents and Settings\Administratorchkparser:
genParser:
parser:
[echo] User home is C:\Documents and Settings\Administratorchkparser:
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\Administratorchkparser:
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\Administratorbuild:
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 <[EMAIL PROTECTED]> 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
