Hello everyone,
I am currently developing an add-in of EA. I am managing baselines through SVN.
For example when I have managed a SVN Repository in EA then with every checkout SVN create an .XMI file which is actually a baseline.
So when I have read the material about .eap file baseline, I get to know that .eap save baseline data as str.dat file and in zip format.
Now I have tried to get data from this baseline and it give us a zip file which have str.dat file which contain the information of baseline. This file is in xml format.
which is like this EA-->baseline-->zip-->str.dat
I get in this sequence data from .eap repository
Now I have tried the following, I have get xml file from svn repository using export. Now I have changed its name to str.dat
I have zipped it and put it back to t_document table as ole object.
it mean I have reverse the process
e.g. Model.xml --> zip --> insert into baseline through jet connection
It has created the baseline in .eap repositroy and now when I tried to compare it , it say something XMI 1.1 comparision problem.
I have checked with notepad++ and when I have changed the filename to str.dat then it change its encoding some ANSI format.
When I have took zipped file from EA repositry which is a baseline and stored also in t_document table. This baseline I had created though mangage baseline--> new baseline.
I have unzip the file which I have got from t_document table named str.dat. When I take this file and zip it again and insert back into database as new row in t_document table then it work fine.
Even I have copied in this file my content from SVN model.xml file, it also work fine and dont change the encoding. I have done it through notepad++.
So can anyone guide me that when I get a file from svn repository then how to use the format of that file so that it work in t_document table perfectly as baseline.
any help will be highly appreciated. there is no documentation that what encoding of this file type which is used by EA to store baseline.
thanks a lot.
