Hi!

Justin Forder wrote:
> 
> With the latest CVS update, I tried building for the first time.
> 
> I'm running JDK 1.2.2 on Win98.

Won't work, since the entire build uses JDK1.3 stuff. You *could* change
this though by adding "**/jrmp13/**" to the "excludes" part of the
compile target in build.xml.

> Compilation errors cause the build to fail.
> 
> Specifically, there is code in org.jboss.cluster.ClusterNode that wants
> java.lang.reflect.InvocationHandler and java.lang.reflect.Proxy. These
> exist in JDK 1.3, not in 1.2.
> 
> We don't have clustering at present - why is this in the build at all?

Good point. This was just a test thing I did, and shouldn't be in there.

> org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker has the same
> problems, and
> 
>   org.jboss.ejb.plugins.jrmp13.interfaces.EntityProxy
>   org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy
>   org.jboss.ejb.plugins.jrmp13.interfaces.StatelessSessionProxy
> 
> are all interested in java.lang.reflect.InvocationHandler.
> 
> I know I don't need those, because my test code (if I stay on JDK1.2.2)
> will be using the jrmp12 equivalents.
> 
> org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy
> requires java.lang.reflect.InvocationHandler, and

Good catch, since this is unnecessary. I have cleaned up the "imports"
of GenericProxy. Thanks!!

> org.jboss.Main
> requires the addShutdownHook() method in java.lang.Runtime.
> 
> These seem more serious.

Hm, this one is worse. Maybe it could be moved out to a separate MBean
in /util instead. Add it to BugZilla.

> Is there any point in trying to build under JDK1.2.2?  I've looked at
> the build.xml, and don't see any properties that would appear to help.

Well, with the fixed GenericProxy you should be able to add **/jrmp13/**
as mentioned above. The startup hook would be the last problem.

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to