> Date: Thu, 24 Aug 2000 14:45:29 +0200
> From: Rickard =?iso-8859-1?Q?=D6berg?= <[EMAIL PROTECTED]>
>
> joel cordonnier wrote:
> > jdk1.2.2 on Linux red hat 6.1
> >
> > i'm a new jboss user.
> > I try to build the source distribution of jboss.
> >
> > I have add and 'eclude' statement in the build.xml
> > file to
> > exclude compilation of package jrmp13/... with the
> > statement **/jrmp13/**.
> >
> > but i still have problem with
> > C:\Programs\jboss\src\main\org\jboss\Main.java:165:
> > Method
> > addShutdownHook(org.jboss.Main.2) not found in class
> > java.lang.Runtime.
> >
> > Runtime.getRuntime().addShutdownHook(new Thread()
> >
> > Does anyone solve this problem ?
> >
> > If yes, is there problem to shutdown jboss whith this
> > modification ?
>
> This stuff is JDK 1.3 specific. We don't really support building on JDK
> 1.2.2. However, this particular piece should be refactored since it's
> the only piece, currently, that is not easily avoidable when compiling
> on JDK 1.2.2.
>
> Remove the code manually in org.jboss.Main before compiling. Best answer
> I can give you so far.
The excludes, and the outcommenting of the shutdown stuff is all I had
to do to compile, iirc.
Niklas
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]