patrik Use  jdk 1.3 , cause 1.2 does not have add shutdown hook
functionality

Maruthi

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Buchinger
Sent: Monday, February 12, 2001 11:03 AM
To: jBoss
Subject: [jBoss-User] unable to build snapshot of the sources


hi everyone!!

i just downloaded the zip file of the latest (12.2.2001, 02:00)
cvs-snapshot, but i'm unable to compile them....

what did i do:
1.) i unzipped the file.
2.) i changed to <entpacked_jboss_dir>/src/build and executed "sh build.sh"
3.) now the build skript complained about not finding classes in the
"standard-java-api", for example
       java.util.Timer or java.util.TimerTask....
4.) so i added /usr/lib/jdk1.3/jre/lib/rt.jar to $TARGET_CLASSPATH in
the build.sh file
5.) now the above mentioned classes were found, but building stops with
the following error:

Buildfile: build.xml

init:

prepare:

compile:
    [javac] Compiling 392 source files to
/mnt/minnie1/download/linux/appserver/jBOSS/cvs-snapshots/jboss/
build/classes
    [javac]
/mnt/minnie1/download/linux/appserver/jBOSS/cvs-snapshots/jboss/src/main/org
/jboss/util/Shutdo
wn.java:49: Method addShutdownHook(org.jboss.util.Shutdown.1) not found
in class java.lang.Runtime.
    [javac]          Runtime.getRuntime().addShutdownHook(new Thread()
    [javac]                                              ^
    [javac] Note: 7 files use or override a deprecated API.  Recompile
with "-deprecation" for details.
    [javac] 1 error, 1 warning

BUILD FAILED



what did i do wrong?? can anybody help me?

thanks,

patrick



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to