[Closed] How to import entity from project after skipper import

0 votes
asked Jul 28, 2015 in Solved by chateaux (550 points)
recategorized Oct 12, 2015 by ludek.vodicka

As I build my app, I use skipper to build various parts. So for instance I am currently working on an order section of my app so I import the required entities from my project, add the new entities and then push the new structure back into my project.

To do this I use the import from project tool.

Now sometimes I pull in the wrong entities and wish to go back to my project and pull in the correct one. I am unsure how to do this.

Typically in this event, I simply delete the skipper project (after export) and start from where I left off with the correct entity...

Any advice on this?

1 Answer

0 votes
answered Jul 29, 2015 by ludek.vodicka Skipper developer (140,450 points)

Hi,

unfortunately such workflow isn't currently supported. The best practice is to handle ORM entities only through Skipper so you don't have to re-synchronize your project.

Check following thread for more details: https://support.skipper18.com/1133/re-import-entities?show=1133#q1133

Ludek

commented Aug 6, 2015 by chateaux (550 points)

I am not sure I follow.

What do you mean by "Orm entities only" I thought that was what I was doing?

commented Aug 6, 2015 by ludek.vodicka Skipper developer (140,450 points)

I mean that the best practice is to update entities only through skipper, not via manual editing of schema definition files (or annotations).

In such case your entities will be still in sync with your model and Skipper project file.

commented Aug 6, 2015 by chateaux (550 points)

Okay I see what you mean, I was doing this originally, however in some cases I was finding that skipper was removing or changing the way my entities worked which caused the app to break.

This was a previous version though so I guess I should try again.

commented Aug 7, 2015 by ludek.vodicka Skipper developer (140,450 points)

Sure, please test it. And in case you will find any unusual behavior in Skipper export (removing or changing of the code) please post it here on support site so we can fix it.

...