Okay sorted out the problem ... when we converted the WPS code to use 
javax.units.Unit we did not update the version of EList used internally.

Jody

On 28/06/2010, at 3:41 PM, Jody Garnett wrote:

> Sorry about that - took it to the wrong list.
> 
> I think I found the crux of the problem in a commented out test case ...
> 
>    public void testUOMsList() {
>        UOMsType uoMsType = Wps10FactoryImpl.eINSTANCE.createUOMsType();
>        Unit newValue = Unit.valueOf("m");
>        EMFUtils.add(uoMsType, "UOM", newValue);
> 
>        // uoMsType.eSet(Wps10Package.UO_MS_TYPE__UOM, newValue);
>    }
> 
> It looks like EMFUtils is a magic class to help iron out problems. So my 
> question is why does the parser come through calling eSet? Can we update the 
> code to use the above EMFUtils?
> 
> Jody
> 
> On 28/06/2010, at 3:13 PM, Jody Garnett wrote:
> 
>> Hi Ben:
>> 
>> Taking this topic back to the email list :-)  I have packaged up a bug 
>> report here: https://jira.codehaus.org/browse/GEOT-3159
>> 
>> Can you take a quick look and then we can talk over our options.
>> 
>> Jody
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to