Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] New Attribute added in internal.ecore

Hi Trupti,
I contacted Jesse offlist and he gave some direction, which I paste
here in the hope you can find them usefull.

--------8<----------------
The process that I normally use to edit the model is:

- make sure all work is committed
- generate from model and see what changes
- if compile errors revert all changes.  Reload models from java interfaces
  generate model and see what changes are made.
- Verify udig still works (because sometimes people change a generated
method and forget to mark it as modified)
- Change the model
- generate

That tends to work fairly well
-------->8----------------

Good luck,
Andrea




On Tue, May 18, 2010 at 12:02 PM, Trupti Pol <ktrup7@xxxxxxxxx> wrote:
>
> Hi,
>
> I have added a new attribute called as rotation in internal.ecore to modify
> the EMF model.
>
> After this i regenerated the emf code. But now after regenerating code i get
> following errors
>
> 1) ProjectFactoryImpl.java
> 2) ProjectPackageImpl.java
>   These two files have two import statements added for
> "org.geotools.data.FeatureResults" and  "org.geotools.feature.SimpleFeature"
> which cannot be resolved. (i.e unable find these classes in geotools)
>
> 3)StyleEntryImpl.java has got
>
>            /**
>         * The cached style class.
>         *
>         * @generated NOT
>         */
>        private Class styleClass = STYLE_CLASS_EDEFAULT;
>
>     where it gives error as
>             - STYLE_CLASS_EDEFAULT cannot be resolved
>
> Does this means that ecore model and actual code are not in sync ?
>
>
> -----
> Thanks & Regards,
> Trupti Pol
> --
> View this message in context: http://old.nabble.com/New-Attribute-added-in-internal.ecore-tp28593846p28593846.html
> Sent from the udig-devel mailing list archive at Nabble.com.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top