Book a Demo

Author Topic: Can't transform to a root package or locked packag  (Read 4448 times)

Pascal

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Can't transform to a root package or locked packag
« on: November 23, 2005, 12:16:04 am »
Hi,

I'm experimenting with EA 6.0 ( build 778 ) and writing MDA transformation templates. However, oftentimes when I try to run a transformation on a very simple package, I get a "Can't transform to a root package or locked package" message.

The fact is that I'm not transforming to a root package, nor do I have any packages locked. I'm running in a very simple standalone setup, with no security of version control enabled.

Can anyone tell me what I'm doing wrong and/or what causes this message to appear?

Thanks!

Pascal.

P.S. I have managed to do transformations before on this package and I cannot figure what I'm doing differently now I'm getting these errors!  ???

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Can't transform to a root package or locked pa
« Reply #1 on: November 23, 2005, 01:05:18 pm »
This message is not about the package that you are transforming.  But it is about the package that you are transforming to.

If you get this message check that your target package is not a root package.

Pascal

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Can't transform to a root package or locked pa
« Reply #2 on: November 24, 2005, 03:12:31 am »
Hi Simon,

Thanks for your quick response! I was aware of the fact that the destination package needs to be unlocked and something other than a root package. But I did some more experimenting and I discovered what goes wrong. Read on...

Open a model file containing a (non-root) package we'll call P, with a class diagram and a simple class. When you open the class diagram and from the "Project View" you right click on P and you select "Transform current package", you can select a (non-root) destination package to transform to an all goes well.  However, if you do not open the class diagram and you leave the model area set to the "Start Page" and then try to transform a package, EA will return the error mentioned before, no matter what package you try to transform to!

Seems like a bug to me...

Pascal.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Can't transform to a root package or locked pa
« Reply #3 on: November 24, 2005, 01:10:31 pm »
I have to agree with you on that.

We should have it fixed for the next build.
« Last Edit: November 24, 2005, 01:10:48 pm by simonm »