users@jaxb.java.net

Re: jaxb 2.1.4 plural property names

From: jesse crossley <jesse.crossley_at_gmail.com>
Date: Tue, 28 Aug 2007 15:41:29 -0700 (PDT)

we do all use the same repos for fetching jars from (an online repo and an
additional repo shared via svn);
my concern is with the /USER_HOME/.m2/repository that maven downloads jars
to...
those can get quite messy, especially during development cycles and when
updating versions of things,
but i *thought* that maven was better able to deal with such things...that's
why i argued so vehemently for changing everything from ant to mvn.

however, since i deleted my .m2/repository and then rebuilt and got
"getAny()"
and one of my coworkers started on a clean machine from scratch and get
"getAnies()"
then i get the feeling that something else may be amiss...

hmmm, any chance that my Vista machine would end up doing things differently
than their XP machines?



Malachi de Ælfweald wrote:
>
> Just a comment here...
>
> You mention that your repos might be different... You'd be better off all
> pointing to a shared repo on the LAN. While it may not solve your
> problem,
> knowing that you might have different classes in the repos should be
> something to fix if you are looking for consistency.
>
> Malachi
>
> On 8/28/07, jesse crossley <jesse.crossley_at_gmail.com> wrote:
>>
>>
>> so now that the rest of my development team is trying to build my new
>> modules, this problem is really killing me...
>> it seems that i can't control the "simpler & better" mode of JAXB:
>> using jdk1.5.0_12 with jaxp-api-1.4.2, jaxp-ri-1.4.2, and jaxb-api-2.1.4
>> (are all jaxb 2.1 api jars equal?) added to my jre/lib/endorsed directory
>> and using the maven-jaxb2-plugin-0.4 along with jaxb-impl-2.1.4
>> (v2.1.4-b02-fcs, according to generated code)
>> then when i generate classes from the soap envelope.xsd, i get a
>> Body.java
>> with a getAny() method, but my teammembers end up with a getAnies()
>> method.
>> we have the same pom.
>> we have the same jdk+endorsed.
>> we *may* have different files in our .m2/repos,
>> but i just deleted mine and tried again and my build succeeded.
>>
>> so how can i control the plural property names? is there some
>> configuration
>> i can do for the maven-jaxb2-plugin? do i need to use an older version
>> of
>> the plugin, or a different version of jaxb? i really want to continue
>> using
>> latest&greatest, but i'll hafta back us up if i can't lockdown the
>> property
>> name issue. it doesn't really matter to us if it's singular or plural;
>> it
>> just hasta be consistent on all environments.
>>
>> any insight anyone has would be most helpful.
>>
>>
>>
>> jesse crossley wrote:
>> >
>> > have these gone back to singular names in the 2.1.4 release?
>> >
>> > my lists have gone from
>> > List<CircleRecord> getCircleRecords()
>> > back to List<CircleRecord> getCircleRecord()
>> > and i was wondering why...
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/jaxb-2.1.4-plural-property-names-tf4321622.html#a12377508
>> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
>> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>>
>>
>
>

-- 
View this message in context: http://www.nabble.com/jaxb-2.1.4-plural-property-names-tf4321622.html#a12377739
Sent from the java.net - jaxb users mailing list archive at Nabble.com.