-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matthias,

are you saying there's a bug in MDR there?

Their sample script has this piece of ant code:

<target name="load" depends="init,create-dirs">
        <mdr storageFile="${storageDir}/${storageFile}">
            <instantiate name="mof4models"/>
            <readXMI 
                file="${storageDir}/${model}/metamodel/${xmi-file}.xml"
                extent="mof4models"/>
            <writeXMI 
                file="${storageDir}/${model}/xmi/${xmi-file}.xml" 
                extent="mof4models"
                xmiVersion = "1.2"/>             

So one would think that "xmiVersion" parameter is passed straight to this MDR 
method:

 void write(OutputStream stream, javax.jmi.reflect.RefPackage extent, String 
xmiVersion)

So at least it *should* be possible...

Cheers,

Hans

On Sunday 14 December 2003 16:56, Matthias Bohlen wrote:
> Hi Hans,
>
> this would be great. However, I tried to write such a program but it
> always wrote XMI 1.2. :-(
>
> Cheers...
> Matthias
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf
> > Of SainTiss
> > Sent: Sunday, December 14, 2003 4:50 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Andromda-user] Re: [Andromda-devel] magicdraw
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi,
> >
> > not sure if I'm being helpful here, but I'm quite sure one
> > can write a fairly
> > easy ant script which loads an XMI version 1.x file into MDR,
> > and then writes
> > it back out in XMI 1.y...
> >
> > Cheers,
> >
> > Hans
> >
> > On Sunday 14 December 2003 13:13, Matthias Bohlen wrote:
> > > Hi Wouter,
> > >
> > > this is a difficult question. The goal must be to make our users
> > > happy, the Poseidon as well as the MagicDraw users. I think
> >
> > the best
> >
> > > way is to use MagicDraw for our own development (e.g. the model for
> > > generating metamodel decorators) and to support both Poseidon and
> > > MagicDraw XMI for AndroMDA code generation (this is easy
> >
> > because they
> >
> > > use almost the same metamodel). The complex samples should be in
> > > MagicDraw - the users have the option to download MagicDraw Reader
> > > which is free. There should also be simpler samples in versions for
> > > both tools. Converting models between the two tools is complicated
> > > because they use different XMI versions.
> > >
> > > My 2 cents...
> > > Matthias
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of
> > > > Wouter Zoons
> > > > Sent: Saturday, December 13, 2003 7:51 PM
> > > > To: Matthias Bohlen
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: [Andromda-devel] magicdraw
> > > >
> > > >
> > > > great tool, Magicdraw
> > > >
> > > > Matthias,
> > > >
> > > > should be consider this our main CASE tool on which
> >
> > projects should
> >
> > > > be able to load ? or do we support Poseidon as well ?
> > > > might be important for examples... as you know XMI does
> >
> > contain the
> >
> > > > visual information (colors, locations)
> > > >
> > > > greetz
> > > > Wouter
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > > > SourceForge.net help you be more productive?  Does it help you
> > > > create better code?  SHARE THE LOVE, and help us help YOU!  Click
> > > > Here: http://sourceforge.net/donate/
> > > > _______________________________________________
> > > > Andromda-devel mailing list [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/andromda-devel
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: SF.net Giveback Program. Does
> > > SourceForge.net help you be more productive?  Does it help
> >
> > you create
> >
> > > better code?  SHARE THE LOVE, and help us help YOU!  Click Here:
> > > http://sourceforge.net/donate/
> > > _______________________________________________
> > > Andromda-devel mailing list [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/andromda-devel
> >
> > - --
> > Ark Linux - Linux for the Masses (http://arklinux.org)
> >
> > Capitalism:
> > You don't have any cows. The bank will not lend you money to
> > buy cows,
> > because you don't have any cows to put up as collateral.
> >
> > Representative Democracy:
> > You have two cows. Your neighbors pick someone to tell you
> > who gets the milk.
> >
> > In a world without walls and fences, who needs windows and gates?
> >
> > Hans Schippers
> > 2LIC INF
> > UA 2003-2004
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.3 (GNU/Linux)
> >
> > iD8DBQE/3IaiXlnUYIbmLOQRAj1FAJ9BuI/1KgTI+ngMsX2ppjvZOD4ffwCbBAb6
> > JbYUALom39pCZ4Ufjvz42Is=
> > =JoJT
> > -----END PGP SIGNATURE-----
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive?  Does it
> > help you create better code?  SHARE THE LOVE, and help us
> > help YOU!  Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user

- -- 
Ark Linux - Linux for the Masses (http://arklinux.org)

Capitalism: 
You don't have any cows. The bank will not lend you money to buy cows, 
because you don't have any cows to put up as collateral.

Representative Democracy:
You have two cows. Your neighbors pick someone to tell you who gets the milk. 

In a world without walls and fences, who needs windows and gates?

Hans Schippers
2LIC INF
UA 2003-2004
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/3Iw7XlnUYIbmLOQRAkgYAJ4khDfgEJkB096mZLTPrVLRfnxS2gCghUuL
pKh/AQX6fB6ujZj9a4735rs=
=+6mN
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to