Emir et alais,

there was two issue reports out there a couple of weeks ago that addressed both 
issues, i.e. use of enum keyword and invalid code wrt to 
BigDecimal.compareTo(), and afair, both issues have been closed and marked as 
resolved by the original reporter.

If you think that there's still issues, please fiel a new issue at 
http://jira.codehaus.org, and we'll have another look.

Thanks
Werner

wg> -----Urspr�ngliche Nachricht-----
wg> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
wg> Gesendet: Montag, 02. Mai 2005 10:17
wg> An: [email protected]
wg> Betreff: Re: AW: [castor-user] Help on example
wg> 
wg> 
wg> Werner,
wg> I'm having the exactly same problem with 1.5 and latest cvs 
wg> snapshot.
wg> Is there a way to say to ant to specify -source 1.3 flag to 
wg> javac or something similar?!
wg> Or the only possibility is to switch to 1.4?
wg> 
wg> BTW, another problem is that the 'enum' is used as a 
wg> identifier and since 1.5 it's java keyword and compiler is 
wg> complaining about.
wg> Could we do some 'refactoring' and change that?
wg> 
wg> Regards,
wg> Emir
wg> 
wg> 
wg> ----- Original Message -----
wg> From: Werner Guttmann <[EMAIL PROTECTED]>
wg> Date: Monday, May 2, 2005 9:50 am
wg> Subject: AW: [castor-user] Help on example
wg> 
wg> > Martin,
wg> > 
wg> > your assumption is wrong. 0.9.6RC3 happens to be the third and 
wg> > final release candidate of the 0.9.6 release, iow a preview 
wg> > release before we shipped 0.9.6. To obtain the latest (source) 
wg> > code from CVS, please consult with 
wg> > http://castor.codehaus.org/cvs.html or use FishEye at 
wg> > 
wg> http://cvs.castor.codehaus.org/viewrep/~tarball=zip/castor/c
wg> astor/castor.zip to obtain a ZIP file of the current code 
wg> in the repository.
wg> > 
wg> > Werner
wg> > 
wg> > wg> -----Urspr�ngliche Nachricht-----
wg> > wg> Von: Martin Gainty [EMAIL PROTECTED]
wg> > wg> Gesendet: Montag, 02. Mai 2005 01:37
wg> > wg> An: [email protected]
wg> > wg> Betreff: Re: [castor-user] Help on example
wg> > wg> 
wg> > wg> 
wg> > wg> same error using the latest cvs (assuming that is 0.9.6RC3)
wg> > wg> think I'll drop to 1.4 and try again-
wg> > wg> Many Thanks/Danke
wg> > wg> Martin-
wg> > wg> ----- Original Message -----
wg> > wg> From: "Ralf Joachim" <[EMAIL PROTECTED]>
wg> > wg> To: <[email protected]>
wg> > wg> Sent: Sunday, May 01, 2005 7:15 PM
wg> > wg> Subject: Re: [castor-user] Help on example
wg> > wg> 
wg> > wg> 
wg> > wg> > Hi Martin,
wg> > wg> >
wg> > wg> > it seams you hit some compilation problems castor had 
wg> > wg> with Java5 at
wg> > wg> > release 0.9.6. You may swith back to java 1.4 or use  the 
wg> > wg> current cvs
wg> > wg> > snapshot where this problems had been resolved.
wg> > wg> >
wg> > wg> > Ralf
wg> > wg> >
wg> > wg> >
wg> > wg> > Martin Gainty schrieb:
wg> > wg> >
wg> > wg> > >Hello-
wg> > wg> > >My apologies for the interrupting with a question which 
wg> > wg> is of a puerile
wg> > wg> and
wg> > wg> > >basic nature but..
wg> > wg> > >I am experiencing some difficulty compiling these classes
wg> > wg> > >apparently the ant javac compiler doesnt understand null?
wg> > wg> > >Any recommendations to get
wg> > wg> > >ant compile.examples
wg> > wg> > >to successfully compile ???
wg> > wg> > >
wg> > wg> > >Thanks/Vielen Danke
wg> > wg> > >
wg> > wg> > >compile.jdo:
wg> > wg> > >    [javac] Compiling 33 source files to
wg> > wg> > >C:\Castor\castor-0.9.6\src\castor-0.9.6
wg> > wg> > >\build\classes
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\ClassMolder.java:1102: 
wg> > compareTo(java.math.BigDecimal) in
wg> > wg> > >java.math.BigDe
wg> > wg> > >cimal cannot be applied to (java.lang.Object)
wg> > wg> > >    [javac]         if ( (o1 instanceof 
wg> > java.math.BigDecimal) &&
wg> > wg> > >((java.math.Big
wg> > wg> > >Decimal) o1).compareTo(o2) == 0) {
wg> > wg> > >    [javac]                                              
wg> > wg>         ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:267: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Object for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Object[] for a non-varargs 
wg> > wg> call and to
wg> > wg> > >suppress th
wg> > wg> > >is warning
wg> > wg> > >    [javac]                         object = 
wg> > wg> rf._getSequence[ i ].invoke(
wg> > wg> > >object
wg> > wg> > >, null );
wg> > wg> > >    [javac]
wg> > wg> > >  ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:274: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Object for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Object[] for a non-varargs 
wg> > wg> call and to
wg> > wg> > >suppress th
wg> > wg> > >is warning
wg> > wg> > >    [javac]                         ( rf._hasMethod != 
wg> > wg> null && ! (
wg> > wg> (Boolean)
wg> > wg> > >rf.
wg> > wg> > >_hasMethod.invoke( object, null ) ).booleanValue() ) )
wg> > wg> > >    [javac]
wg> > wg> > >                           ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:277: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Object for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Object[] for a non-varargs 
wg> > wg> call and to
wg> > wg> > >suppress th
wg> > wg> > >is warning
wg> > wg> > >    [javac]                     return 
wg> > wg> rf._getMethod.invoke( object,
wg> > wg> null );
wg> > wg> > >    [javac]                                              
wg> > wg>             ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:331: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Object for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Object[] for a non-varargs 
wg> > wg> call and to
wg> > wg> > >suppress th
wg> > wg> > >is warning
wg> > wg> > >    [javac]                         object = 
wg> > wg> rf._getSequence[ i ].invoke(
wg> > wg> > >object
wg> > wg> > >, null );
wg> > wg> > >    [javac]
wg> > wg> > >  ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:345: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Object for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Object[] for a non-varargs 
wg> > wg> call and to
wg> > wg> > >suppress th
wg> > wg> > >is warning
wg> > wg> > >    [javac]                         
wg> > wg> rf._deleteMethod.invoke( object,
wg> > wg> null );
wg> > wg> > >    [javac]                                              
wg> > wg>             ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:581: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                                 method = 
wg> > wg> javaClass.getMethod(
wg> > wg> > >method
wg> > wg> > >Name, null );
wg> > wg> > >    [javac]
wg> > wg> > >      ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:590: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                             method = 
wg> > wg> javaClass.getMethod(
wg> > wg> > >methodName
wg> > wg> > >, null );
wg> > wg> > >    [javac]
wg> > wg> > >  ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:746: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                     
wg> > wg> _defaultReflectService._createMethod =
wg> > wg> > >javaClass
wg> > wg> > >getMethod( fieldMap.getCreateMethod(), null );
wg> > wg> > >    [javac]
wg> > wg> > >                                        ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:756: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                     method = 
wg> javaClass.getMethod(
wg> > wg> > >METHOD_CREATE_PREF
wg> > wg> > >IX + capitalize( fieldMap.getName() ), null );
wg> > wg> > >    [javac]
wg> > wg> > >                                       ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:769: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                     hasMethod = 
wg> > javaClass.getMethod(wg> > >METHOD_HAS_PREF
wg> > wg> > >IX + capitalize( fieldMap.getName() ), null );
wg> > wg> > >    [javac]
wg> > wg> > >                                       ^
wg> > wg> > >    [javac]
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\main\org\exolab
wg> > wg> \castor\p
wg> > wg> > >ersist\FieldMolder.java:777: warning: non-varargs call 
wg> > wg> of varargs method
wg> > wg> > >with in
wg> > wg> > >exact argument type for last parameter;
wg> > wg> > >    [javac] cast to java.lang.Class for a varargs call
wg> > wg> > >    [javac] cast to java.lang.Class[] for a non-varargs 
wg> > wg> call and to
wg> > wg> suppress
wg> > wg> > >thi
wg> > wg> > >s warning
wg> > wg> > >    [javac]                         deleteMethod = 
wg> > wg> javaClass.getMethod(
wg> > wg> > >METHOD_D
wg> > wg> > >ELETE_PREFIX + capitalize( fieldMap.getName() ), null );
wg> > wg> > >    [javac]
wg> > wg> > >                                                 ^
wg> > wg> > >    [javac] Note: Some input files use unchecked or 
wg> > wg> unsafe operations.
wg> > wg> > >    [javac] Note: Recompile with -Xlint:unchecked 
wg> for details.
wg> > wg> > >    [javac] 1 error
wg> > wg> > >    [javac] 11 warnings
wg> > wg> > >
wg> > wg> > >BUILD FAILED
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\build.xml:177: 
wg> > wg> The following
wg> > wg> > >error o
wg> > wg> > >ccurred while executing this line:
wg> > wg> > 
wg> > wg> >C:\Castor\castor-0.9.6\src\castor-0.9.6\src\build.xml:198: 
wg> > Compilewg> failed;
wg> > wg> > >see t
wg> > wg> > >he compiler error output for details.
wg> > wg> > >
wg> > wg> > >Total time: 3 seconds
wg> > wg> > >
wg> > wg> > >----- Original Message -----
wg> > wg> > >From: "Werner Guttmann" <[EMAIL PROTECTED]>
wg> > wg> > >To: <[email protected]>
wg> > wg> > >Sent: Saturday, April 30, 2005 3:04 PM
wg> > wg> > >Subject: Re: [castor-user] Help on example
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >>Martin,
wg> > wg> > >>
wg> > wg> > >>the sources for these files is to be found at 
wg> > wg> src/examples/myapp. If you
wg> > wg> > >>
wg> > wg> > >>
wg> > wg> > >used Ant with the build file provided by the source
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >>distribution, there's a target that automates building 
wg> > wg> the samples.
wg> > wg> > >>
wg> > wg> > >>Regards
wg> > wg> > >>Werner
wg> > wg> > >>
wg> > wg> > >>On Sat, 30 Apr 2005 13:30:29 -0400, Martin Gainty wrote:
wg> > wg> > >>
wg> > wg> > >>
wg> > wg> > >>
wg> > wg> > >>>Guten Tag/Good Day to all
wg> > wg> > >>>
wg> > wg> > >>>I am attempting to compile the JDO example but cannot 
wg> > wg> locate Category
wg> > wg> or
wg> > wg> > >>>ProductDetail or Computer classes
wg> > wg> > >>>
wg> > wg> > >>>I am new to Castor and just setting up the environment 
wg> > wg> for the first
wg> > wg> time
wg> > wg> > >>>
wg> > wg> > >>>Many Thanks/Vielen Danke
wg> > wg> > >>>
wg> > wg> > >>>Martin Gainty
wg> > wg> > >>>001-617-852-7822
wg> > wg> > >>>______________________________________________
wg> > wg> > >>>Disclaimer and confidentiality note
wg> > wg> > >>>Everything in this e-mail and any attachments relating 
wg> > wg> to the official
wg> > wg> > >>>business of Sender and is proprietary to Sender. It is 
wg> > wg> confidential,
wg> > wg> > >>>
wg> > wg> > >>>
wg> > wg> > >legally
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >>>privileged and protected by law. Sender does not own 
wg> > wg> and endorse any
wg> > wg> > >>>
wg> > wg> > >>>
wg> > wg> > >other
wg> > wg> > >
wg> > wg> > >
wg> > wg> > >>>content.
wg> > wg> > >>>(mobile) 617-852-7822
wg> > wg> > >>>(http)www.laconiadatasystems.com
wg> > wg> > >>>
wg> > wg> > >>>
wg> > wg> >
wg> > wg> 
wg> > 
wg> > 
wg> 
wg> 
wg> 

Reply via email to