Book a Demo

Author Topic: "Error writing XML file" duriing svn check-in  (Read 12429 times)

Paul@DOC

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
"Error writing XML file" duriing svn check-in
« on: June 23, 2010, 02:14:57 am »
I am working with EA backed by Oracle and using SVN version control.

When trying to check in a model I am getting the error "Error writing XML file". I see no evidence of what this error is. I have the "Output" view open... nothing. I have checked the Events log for the workstation... nothing. I have configured the "Tools->Options->XML Specifications" setting for "Default XML Directory" , but to no avail.

Any ideas, hints, pointers?

Thanks,

Paul Hardin

sadikhsy

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Generate code
« Reply #1 on: June 23, 2010, 02:40:33 am »
[size=12]Hi

I want to generate my code after modeling the Digram classes! But I can't find again the file generated.
In the options of configuration I see directory option: $EAPDIR what to do to find this directory?
     Thank you[/size]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: "Error writing XML file" duriing svn check-in
« Reply #2 on: June 23, 2010, 05:56:41 am »
Paul,

The "error writing xml file" should probably better be "error writing xmi file".
As you probably know, when integrating with a VC system EA exports each controlled package to xmi and stores that xmi file in the VC system.
And since xmi is also xml....

As to the cause of the problem, and how to solve it... I'm guessing that somehow the checked-in/out status of your packages is out of synch between what SVN thinks and what EA thinks.
There is an option to re-synchronize the statuses of the controlled packages, have you tried that?

Either that, or you simply don't have the rights to write to the local working folder of your SVN. Check the VC configuration to figure out where EA stores the xmi files. (and no, it has nothing to do with the "default xml directory")

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Generate code
« Reply #3 on: June 23, 2010, 05:57:37 am »
Quote
[size=12]Hi

I want to generate my code after modeling the Digram classes! But I can't find again the file generated.
In the options of configuration I see directory option: $EAPDIR what to do to find this directory?
     Thank you[/size]
Sadikhsy,

I think you better create your own topic.

Geert

Paul@DOC

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: "Error writing XML file" duriing svn check-in
« Reply #4 on: June 23, 2010, 06:16:22 am »
Ok, I solved the issue... but I am not sure why the solution was necessary. I went to the directory where the svn check-out was done and moved the xml model representation that was there. This done I was able to check in the altered model.

Thanks for the help,

Paul H.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: "Error writing XML file" duriing svn check-in
« Reply #5 on: May 05, 2011, 12:20:45 am »
I had the same issue. The reason was simple: the according xml was r/o. Setting it to r/w fixed it.

BUT: why can't EA give a meaningful message like "Error writing ... File is read only" which by the way could be checked prior to writing it, not at the end of the export.

q.