Export XMI

Export XMI

Postby Guest » Thu Aug 05, 2004 4:25 pm

Under 2.5, how do you export your project to XMI? I see how to open/save with openProject/saveProject -- But I want to export the project as XMI

Thanks
Guest
 

Re: Export XMI

Postby [gw] Jan Tietjens » Mon Aug 09, 2004 3:43 pm

Go to:
File->Export Project to XMI

I hope that helps.
Regards,
Jan
Jan Tietjens
[gw] Jan Tietjens
 
Posts: 100
Joined: Tue Aug 12, 2003 3:46 pm
Location: Hamburg

Re: Export XMI

Postby Guest » Sun Aug 15, 2004 3:24 pm

Thank you for your reply, but I need to do it programmatically.

For example :

PoseidonProjectConnector.saveProject("C:\outfile.zuml");

This will save project to outfile.zuml. However, I wish to export the file to xmi.
Guest
 

Re: Export XMI

Postby gpbartel » Mon Aug 16, 2004 5:46 pm

If nothing else works, then just open up the zuml file with ZipInputStream and pull out the xmi file.
Gordon Bartel
gpbartel
 
Posts: 3
Joined: Tue Aug 10, 2004 6:10 pm
Location: BITPlan GmbH

Re: Export XMI

Postby [gw] Jesco von Voss » Thu Sep 02, 2004 11:11 am

I found a funny method in Poseidon: PoseidonProjectConnector.exportXmi() will export the current project as Xmi, but you cannot set the file name. It also looks like the file chooser dialog will open.

Quite strange.

But at least you can call project.setUrl(myUrl) to give a file name.

JvV
Jesco von Voss
[gw] Jesco von Voss
 
Posts: 273
Joined: Sat Jan 18, 2003 10:08 am
Location: Hamburg


Return to Plug-Ins

Who is online

Users browsing this forum: No registered users and 2 guests

cron