It was indeed a classpath problem.  I had some old jonas stuff on my
classpath initially when I tried to compile 2.2.7 (d'oh).  Upon reading your
post, I tried again remembering to set my classpath to nothing before
running make and all went through fine.

Thanks!

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Diego Salazar
> Sent: Friday, February 16, 2001 1:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JOnAS 2.2.7 cannot be compiled on JSDK 1.3 for Windows from
> JavaS
>
>
> Hi,
>     I looked at the jar file of castor 0.8.11 (the version that
> jonas 2.2.7
> is using) and there is no org.exolab.castor.xml.StringValidator
> class, only
> a org.exolab.castor.xml.validators.StringValidator class. However
> in castor
> 0.7 (the version that 2.2.6 and earlier were using )there is a
> org.exolab.castor.xml.StringValidator class. Maybe you have an old version
> of Jonas (or castor) in your CLASSPATH.
>     If you cannot compile it I can provide you with a link to download the
> version I had built.
>
> Diego Salazar
> [EMAIL PROTECTED]
> TE:+54-11-48073071
> www.teradev.com.ar
> ----- Original Message -----
> From: "Neal C. Evans" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 16, 2001 1:29 PM
> Subject: RE: JOnAS 2.2.7 cannot be compiled on JSDK 1.3 for Windows from
> JavaS
>
>
> > I added jonathan.jar to the classpath as you suggested but I too am
> getting
> > a bunch of ambiguous reference errors.  Here is a sampling:
> >
> >
> > make[4]: Entering directory
> > `/home/nevans/objectweb/jonas/src/org/objectweb/jonas_ejb'
> > make[5]: Entering directory
> > `/home/nevans/objectweb/jonas/src/org/objectweb/jonas_ejb/deploym
> > ent'
> > make[6]: Entering directory
> > `/home/nevans/objectweb/jonas/src/org/objectweb/jonas_ejb/deploym
> > ent/xml'
> > + /usr/local/java/bin/javac -d ../../../../../../classes/JEREMIE
> > AssemblyDescriptor.java Asse
> > mblyDescriptorDescriptor.java CmpField.java CmpFieldDescriptor.java
> > CmpFieldJdbcMapping.javaCmpFieldJdbcMappingDescriptor.java
> > ContainerTransaction.java ContainerTransactionDescriptor.j
> > ava EjbJar.java EjbJarDescriptor.java EjbRef.java EjbRefDescriptor.java
> > EnterpriseBeans.javaEnterpriseBeansDescriptor.java Entity.java
> > EntityDescriptor.java EnvEntry.java EnvEntryDescri
> > ptor.java FinderMethodJdbcMapping.java
> > FinderMethodJdbcMappingDescriptor.java JdbcMapping.jav
> > a JdbcMappingDescriptor.java JonasEjbJar.java JonasEjbJarDescriptor.java
> > JonasEjbRef.java Jon
> > asEjbRefDescriptor.java JonasEntity.java JonasEntityDescriptor.java
> > JonasMethod.java JonasMet
> > hodDescriptor.java JonasResource.java JonasResourceDescriptor.java
> > JonasSession.java JonasSes
> > sionDescriptor.java Method.java MethodDescriptor.java MethodParams.java
> > MethodParamsDescripto
> > r.java MethodPermission.java MethodPermissionDescriptor.java
> > ResourceRef.java ResourceRefDesc
> > riptor.java SecurityRole.java SecurityRoleDescriptor.java
> > SecurityRoleRef.java SecurityRoleRe
> > fDescriptor.java Session.java SessionDescriptor.java
> > CmpFieldDescriptor.java:123: reference to StringValidator is ambiguous,
> both
> > class org.exolab.castor.xml.validators.StringValidator in
> > org.exolab.castor.xml.validators and class
> > org.exolab.castor.xml.StringValidator in org.exolab.castor.xml match
> >             StringValidator sv = new StringValidator();
> >             ^
> > CmpFieldDescriptor.java:123: reference to StringValidator is ambiguous,
> both
> > class org.exolab.castor.xml.validators.StringValidator in
> > org.exolab.castor.xml.validators and class
> > org.exolab.castor.xml.StringValidator in org.exolab.castor.xml match
> >             StringValidator sv = new StringValidator();
> >             ^
> >
> > I am compiling with jdk1.3 on linux.
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Diego Salazar
> > > Sent: Friday, February 16, 2001 10:59 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: JOnAS 2.2.7 cannot be compiled on JSDK 1.3 for
> Windows from
> > > JavaS
> > >
> > >
> > > Hi,
> > >     I have succesfully compiled JOnAS 2.2.7 (Jeremie ORB)
> with JDK1.3 on
> > > Linux. But to be able to compile it, I had to add the jonathan.jar (in
> > > externals/jonathan) to the CLASSPATH, otherwise make failed.
> > >
> > > Diego Salazar
> > > [EMAIL PROTECTED]
> > > TE:+54-11-48073071
> > > www.teradev.com.ar
> > > ----- Original Message -----
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, February 16, 2001 6:25 AM
> > > Subject: JOnAS 2.2.7 cannot be compiled on JSDK 1.3 for Windows from
> JavaS
> > >
> > >
> > > Some of the classes in new JOnAS 2.2.7 code are ambiguous because
> > > they exist
> > > in more than one package, so javac throws lots
> > > of errors. Has noone tried to compile this or am I ever the only
> > > one to find
> > > bugs?
> > >
> > >
> > > ----
> > > To unsubscribe, send email to [EMAIL PROTECTED] and
> > > include in the body of the message "unsubscribe jonas-users".
> > > For general help, send email to [EMAIL PROTECTED] and
> > > include in the body of the message "help".
> > >
> >
> > ----
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body of the message "unsubscribe jonas-users".
> > For general help, send email to [EMAIL PROTECTED] and
> > include in the body of the message "help".
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
>

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to