Book a Demo

Author Topic: CVS problems  (Read 4997 times)

sheijk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
CVS problems
« on: September 24, 2003, 04:17:29 pm »
Hello,

i'm trying to get version controlling using the SCC support of enterprise architect to work with CVS.
I selected Project/Version Control/Set Version Control Options... Then I enabled Version Control for the project and choosed a provider. Then I set my CVS options which seem to be fine (checked out the module with my CVS client to be sure).  I've tried Tortoise, Igloo, Zeus and PushOk. Tortoise and Igloo both get an initialization error after choosing my CVS options. Zeus and PushOk seem to be fine but when I finished setting the options, Current User is always "User Name" instead of the user specified as CVSROOT. When I close the "Version Control Options" dialog clicking Ok I get the following error message 5 times:
Quote
DAO.Database [3346]
Number of query values and destination objects aren't the same


I've checked the documentation and searched the forum but all I found was this
thread which wasn't too much help.

Did anyone experience the same problem or has an idea how to fix it?

greeting,
Jan Rehders

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: CVS problems
« Reply #1 on: September 25, 2003, 04:15:13 am »
I don't have any specific advice for you, but I can tell you that I got Version Control up and running with EA, CVS and Jalindi Igloo without any trouble. I know this doesn't solve your specific problem, but at least you will know that it is doable.
I am not aware of any special settings or anything tricky that I had to do. Everything seemed to work right away.
Mikkel

iran

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: CVS problems
« Reply #2 on: September 25, 2003, 08:23:27 am »
I got that error as well.  Try this workaround:

1.) If you haven't exported the packages/subpackages as XML, do so. You can import them into a new project.
2.) Create a new project.
3.) Setup version control on this new "empty" project.  The DAO.database error should go away. Then import the xml files and configure source control.

sheijk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: CVS problems
« Reply #3 on: September 25, 2003, 02:20:55 pm »
iran: i've followed your advice and it seems to work fine with Igloo (did not try the other ones, yet). It seems like all I needed to do was take a project which was created with EA 0.3.6 to make it work.

But i've still two problems: I have to manually update the CVS directory to get newly added packages (xml files). There seems to be no way to make an update from EA. It does commit and get the existing files when I check in/out packages but newly added packages from other users are only downloaded when I manually update with my CVS client.

Is this the intended behaviour or am I missing something?

Then I wondered whether it would be better only using batch import from/export to xml files and having them inside a CVS module which I manually committ and update. I activated the "batch import" and "batch export" options in the package control options for all packages but only one (Dynamic View) is listed when I select Project / Import/Export / Batch XMI Export... If I select Batch XMI Import, all packages are listed.

iran

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: CVS problems
« Reply #4 on: September 25, 2003, 02:54:14 pm »
sheijk, looks like you found a solution. batch import and export do provide a way to easily synchronize/update.  there is also a get package option under package control.  the docs say this is what you use to get another user's updates.  i am currently testing this out as we are setting up EA for team development.

sheijk

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: CVS problems
« Reply #5 on: September 26, 2003, 08:24:48 am »
Quote
there is also a get package option under package control.  the docs say this is what you use to get another user's updates.

This is what doesn't work here. If I select "Get Package" in the dialog which popups the newly added packages do not show up although they were added to CVS. I checked the local CVS dir and it is missing the newly added packages although new versions of the existing packages are retrieved.