Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - qwerty

Pages: 1 ... 530 531 [532] 533 534 ... 616
7966
Might be a security issue. Have you checked that the user has write access to the VC repo?

q.

7967
To update the entry you need to
Code: [Select]
Repository.Execute ("UPDATE t_genopt ...") with what you need,

q.

7968
Found it: t_genopt holds an entry with AppliesTo = VCConfigs

That just leaves the question why it's also in the registry? Does not seem to make much sense if the repository holds a value which seems to supersede its meaning. Well, it's EA...

q.

7969
Hu, yes. Deleting the registry entry and cleaning paths.txt still kept the entry. So where could that info be stored else?

q.

7970
Create a SVN provider manually. Then search the registry for VC_SVNExePath

q.

7971
I'm not sure if that works for packages. There is something to make elements compound and have them include a diagram.

What certainly will help is to script an add-in and check the OnPostNew... event to create a diagram (and possibly do more fancy stuff).

q.

7973
Automation Interface, Add-Ins and Tools / Re: Modify Package Flags
« on: June 02, 2014, 08:01:35 pm »
EaPackage.Flags

See the update of my Inside book.

q.

7974
Automation Interface, Add-Ins and Tools / Re: Modify Package Flags
« on: June 02, 2014, 03:33:02 pm »
Simon is right. I have to update the xref in my book.

BTW Simon: can you tell me where the columns s_Generation, s_GUID and s_Lineage (in t_package) come from? I found them in a recent model but could not figure out how they came in there.

q.

7975
Automation Interface, Add-Ins and Tools / Re: Modify Package Flags
« on: June 01, 2014, 10:09:45 pm »
I guess you have to fallback to SQL in that case. IIRC some of those parameters are set as "side effect" but to modify them at your wish there is no other way than SQL.

q.

7976
Simply use Repos.FileOpen or FileOpen2

q.

7977
I did something along these lines some 2 years ago. It's well feasible but takes some effort. Especially transferring character codes correctly has been quite tricky. Further conversion of RTF-formats was not that easy. We decided to forbid tables in DOORS (which is anyway a good idea).

q.

7978
It's the banner below my posts :-)

q.

7979
You might look into my Scripting book (shameless self plug) but that does not detail the above mentioned method.

Of course it depends on the language you want to use. To access the project interface object you need to retrieve it via EARepository.GetProjectInterface ()

q.

7980
Yes. You can export a package automatically. Use EAProjectInterface.ExportPackageXMI (see help for details)

Note that version control allows to save a package stub as XMI. This can't be done with the above (or you need to use ExportPackageXMIex). So if you export a package it will include all sub-packages.

q.

Pages: 1 ... 530 531 [532] 533 534 ... 616