Werner-

Yes I can build the war
Recommend promoting this tree to release asap as the current released version doesnt seem to build under J2SE5


Vielen Danke/Many Thanks,
Martin-

das Amerika/Etats Unis
001-617-852-7822

----- Original Message ----- From: "Werner Guttmann" <[EMAIL PROTECTED]>
To: <[email protected]>; "Nick Stuart" <[EMAIL PROTECTED]>
Sent: Tuesday, May 03, 2005 9:10 AM
Subject: RE: [castor-user] Help on example



Nick, Martin,

we just committed two patches addressing the issues mentioned below (incl. Nick's original patch which I decided not to include in the 0.9.6 release for various reasons). This patches will be shipped as part of the upcoming 0.9.7 release (scheduled for May 19,2005). Alternatively, you could of course get the latest code from our CVS repository by checking out the code yourself, or use FishEye and the links it provides at

http://cvs.castor.codehaus.org/viewrep/castor/castor (bottom left)

to download a tarball in your prefered format.

Regards
Werner

wg> -----Original Message-----
wg> From: Nick Stuart [mailto:[EMAIL PROTECTED]
wg> Sent: Tuesday, May 03, 2005 2:44 PM
wg> To: [email protected]
wg> Subject: Re: [castor-user] Help on example
wg>
wg>
wg> Martin, using the latest CVS checkout (5/3/2005) I was able
wg> to simply
wg> run 'build.bat jar' and 'build.bat compile.examples' and everything
wg> compile fine, but with some warnings.
wg>
wg> I'm running:
wg> java version "1.5.0_02"
wg> Java(TM) 2 Runtime Environment, Standard Edition (build
wg> 1.5.0_02-b09)
wg> Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
wg> but dont think that will make a difference as long as its 1.5.
wg>
wg> Also, it looks like .9.6 release missed the patch to get it
wg> to compile
wg> on 1.5, but its a really easy fix. Just go in, open up
wg> src\main\org\exolab\castor\persist\ClassMolder.java  and make line
wg> 1102 match this
wg> if ( (o1 instanceof java.math.BigDecimal) && ((java.math.BigDecimal)
wg> o1).compareTo((java.math.BigDecimal)o2) == 0) {
wg>
wg> Its a simple addition of casting, but apparently 1.5 is
wg> strict about it. =\
wg> You will still get all the warnings, but those can be
wg> safely ignored.
wg>
wg> Hope this helps!
wg>
wg> -Nick
wg>
wg> On 5/3/05, Nick Stuart <[EMAIL PROTECTED]> wrote:
wg> > Martin, I know castor works/compiles on JDK 1.5. Have
wg> done it myself a
wg> > couple of times. Will try again with the latest CVS
wg> release to let you
wg> > know the results, but at a minimum you should be able to
wg> download the
wg> > .96 binary and have it work with out any issues.
wg> >
wg> > I realize its a stop gap manuever but it will get you up
wg> and running.
wg> >
wg> > -Nick
wg> >
wg> >
wg> > On 5/3/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
wg> > > Gentlemen-
wg> > > Since I punted back to j2sdk1.4.2_08
wg> > > I noticed that my Tomcat 5.5 is complaining as I see
wg> > >
wg> > > This release of Apache Tomcat was packaged to run on J2SE 5.0
wg> > > or later. It can be run on earlier JVMs by downloading and
wg> > > installing a compatibility package from the Apache Tomcat
wg> > > binary download page.
wg> > >
wg> > > Is there any effort to bring Castor to use J2SE 5.0??
wg> > >
wg> > > Vielen Danke/Many Thanks,
wg> > > Martin
wg> > > 001-617-852-7822
wg> > >
wg> >
wg>

Reply via email to