RE: another compilation error
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <002201c55102$37190c20$387ffddc@xerces> |
There are 2 differences between your environment and mine.
You are using maven 1.0.2, whereas I'm using 1.0.1.
You also are using a different version of castor.
The generated sources in yours claim to be from the 0.9.6 CVS
version according to the following inserted at the top of each file:
/*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor cvs.0.9.6</a>, using an
* XML Schema.
* $Id$
*/
However, the version in my sources are listed as 0.9.4.3.
The castor sources are generated using the maven-castor-plugin,
which in maven 1.0.1 refers to castor 0.9.5.
Have you changed this? You can check by looking at
<maven.home.local>/cache/maven-castor-plugin-1.2/project.xml
If so, try changing the castor version to 0.9.5 i.e,
<dependencies>
<dependency>
<groupId>castor</groupId>
<artifactId>castor</artifactId>
<version>0.9.5</version>
</dependency>
</dependencies>
-Tim
> -----Original Message-----
> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf
> Of Laszlo Schaffer personal
> Sent: Wednesday, 4 May 2005 12:54 AM
> To: [email protected]
> Subject: FW: [openjms-user] another compilation error
>
>
>
>
> Here are the results (following your suggestions)
> (targetzipfile=target.zip!)
>
> Regards
> saf
>
>
>
> -----Original Message-----
> From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf
> Of Tim Anderson
> Sent: 2005. május 3. 15:46
> To: [email protected]
> Subject: RE: [openjms-user] another compilation error
>
> Hmm - not clear to me why castor would be generating
> bad sources for you.
>
> Try running the following:
>
> > cd modules/jms
> > maven clean
> > maven java:compile
>
> Send me the output of the compile off list,
> along with a zip of the target/castor/src tree
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r