Hi Chad, Yes this problem occurs in two other application models using the same module. I replaced the com.fred.demat package structure with one unique package named "com.fred.demat" and it does work fine, so I'll do this for now, just to go ahead. But I didn't tried to do the same for the imported module. In fact, as I remember now, I had some troubles importing the module : it duplicated the common base package structure (com.fred.demat) instead of importing the core package (which is exported) in the existing com.fred.demat package structure of my application model. I guess this is a MagicDraw bug.
Many thanks for your help, Fred ----- Original Message ----- From: "Chad Brandon" <[EMAIL PROTECTED]> To: "Frederic Chapuis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 4:33 PM Subject: Re: [Andromda-user] BPM4Struts: wrong output directory when model uses module > Had a chance to take a look and run your model and > you're right...very strange. If I rename your package > to com.fred.demat for the bpm portion it generates > fine of course. > > The only thing that I can think of off the top of my > head is that somehow the package model element got > corrupted or something during the export...I've had > strange things happen when I've doing exports (like > losing information). It should work fine because I've > done it in the past and we do the same thing with the > cartridge metafacade models using the UML metafacade > module. Have you tried repeating this in another > model to see if the same thing happens? > > Chad > > --- Frederic Chapuis <[EMAIL PROTECTED]> wrote: > >> Hi Chad, >> >> here it is, I did an archive (simplified) with the >> two andromdapp generated >> project structures. >> It is ready to try : "frontoffice" project model >> uses coreModule.xml.zip >> exported from "core" project model. >> and properties are set to locate the referenced >> module. >> So if you run the "maven mda" goal of the >> frontoffice you will see that >> files are output in the web/src/java/frontoffice >> instead of web/src/java/com/fred/demat/frontoffice. >> >> Fred. >> >> ----- Original Message ----- >> From: "Chad Brandon" <[EMAIL PROTECTED]> >> To: "'Frederic Chapuis'" <[EMAIL PROTECTED]>; >> >> <[EMAIL PROTECTED]> >> Sent: Tuesday, November 16, 2004 4:26 PM >> Subject: RE: [Andromda-user] BPM4Struts: wrong >> output directory when model >> uses module >> >> >> > Hi Fred, >> > >> > No this isn't new or expected behavior, nothing >> has changed with respect >> > to >> > handling modules, so that shouldn't occur. If >> you'd like to send me your >> > model (with the module), I'll check it out. >> > >> > Chad >> > >> > -----Original Message----- >> > From: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED] >> On Behalf Of Frederic >> > Chapuis >> > Sent: Tuesday, November 16, 2004 7:52 AM >> > To: [EMAIL PROTECTED] >> > Subject: [Andromda-user] BPM4Struts: wrong output >> directory when model >> > uses >> > module >> > >> > Hi, >> > >> > I have a model (pkg = basepackage.application) >> which uses >> > an external module (pkg = >> basepackage.persistence). >> > The BPM4Struts cartridge generates impls files in >> the wrong directory >> > web/src/java/application/ >> > instead of web/src/java/basepackage/application/ >> > If I remove the module from my model, the right >> directory is output. >> > I am currently using 3.0M3 build from 15 Nov. 2004 >> and had no problem with >> > previous builds. >> > >> > Is this a new behavior or is there something wrong >> in the handling of >> > models >> > >> > ? >> > >> > Cheers, >> > Fred. >> > >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by: InterSystems >> CACHE >> > FREE OODBMS DOWNLOAD - A multidimensional database >> that combines >> > robust object and relational technologies, making >> it a perfect match >> > for Java, C++,COM, XML, ODBC and JDBC. >> www.intersystems.com/match8 >> > _______________________________________________ >> > Andromda-user mailing list >> > [EMAIL PROTECTED] >> > >> > https://lists.sourceforge.net/lists/listinfo/andromda-user >> > >> > >> > >> > >> ATTACHMENT part 2 application/octet-stream > name=BPM4StrutsSample.rar > > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
