[Andromda-user] [Newbie corner] [automatically generating .png from diagrams] automatically generating .png from diagrams

2005-07-01 Thread gehel
As part as our documentation process we would like to automatically generate .png (or other graphic format) from the XMI. So it could be incorporated in the general docs. Do you know if there is a way to generate them with a maven goal ? _

[Andromda-user] [Newbie corner] [automatically generating .png from diagrams]

2005-07-01 Thread [EMAIL PROTECTED]
can't be done as UML versions prior to UML 2.0 do not included diagram information in the XMI, at least not standardized .. UML tools might include XMI extensions to work around this though (MagicDraw does) I've never seen anything do this from the bare XMI datastructure (I've looked for it

[Andromda-user] [Project generator] [How to get Ant task to generate SQL]

2005-07-01 Thread ced
Version: 3.1-M1, Hibernate 3.0.5, Spring 1.2 I'm getting this when I'm running the default maven task... It look like a path issue with spaces, my project is under --> C:Documents and Settings ejb:ejb:     [echo] Building ejb progres-core-0.1     [jar] Building jar: C:Documents and S

[Andromda-user] [Project generator] [How to get Ant task to generate SQL]

2005-07-01 Thread [EMAIL PROTECTED]
yup, looks like it -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2013#2013 Posting to http://forum.andromda.org/ is preferred over posting to the mailing

[Andromda-user] [Newbie corner] [automatically generating .png from diagrams]

2005-07-01 Thread gehel
I'm not sure I understood correctly ... let me rephrase : There is no standard way to do that before XMI 2.0 so a solution will be UML Editor specific. But MagicDraw provides an API that could be used to do that but it will work only with XMI generated by MD ? Is that correct ? Thanks a lo

[Andromda-user] [Newbie corner] [automatically generating .png from diagrams]

2005-07-01 Thread [EMAIL PROTECTED]
gehel wrote: There is no standard way to do that before XMI 2.0 so a solution will be UML Editor specific. But MagicDraw provides an API that could be used to do that but it will work only with XMI generated by MD ? Is that correct ? (end of quote) that is correct, since it will need to

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread [EMAIL PROTECTED]
Quote: So is there something in stringUtils for example that makes it possible to trim the documentation string ? (end of quote) If you do just "$parameter.getDocumentation("", 64, false)" it should return the trimed documentation string (wrapped at 64 characters). -- Chad Brandon - [EMAIL

[Andromda-user] [Newbie corner] [AndroMDA creates ID with bad type] AndroMDA creates ID wih bad type

2005-07-01 Thread rogmil
Further to the other comments added previously I have now run the same XMI though the hibernate cartridge and also get errors caused by attributes not having types even though the type is specified. The log is at the end of this entry. As I understand it changing the mappings file will change h

[Andromda-user] [Bpm4Struts cartridge] [Tiles used globally]

2005-07-01 Thread gehel
We finally found a solution to the problem. We use a standard Struts Action instead of the generated Controller. This way we dont have to store the form in the session and so there is no conflict ... Hope it will help someone else ... _

[Andromda-user] [Bpm4Struts cartridge] [Tiles used globally]

2005-07-01 Thread [EMAIL PROTECTED]
so you configured that action to use a form in request scope or something ? or not form at all ? I'm assuming you're definitely not reusing any of the existing ones ? -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _ Reply to

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread sebastien
[EMAIL PROTECTED] wrote: If you do just "$parameter.getDocumentation("", 64, false)" it should return the trimed documentation string (wrapped at 64 characters). (end of quote) I already tried but it stills separates paragraphs by inserting new lines and for a single line comment, I obtain

[Andromda-user] [Newbie corner] [Problem with CRUD example and MySQL Database] Problem with CRUD example and MySQL Database

2005-07-01 Thread crta23
I can not run the CRUD example on MySQL database. I get the following error message: Problem managing Color: Bad SQL grammar [] in task 'Hibernate operation'; nested exception is java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server

[Andromda-user] [Newbie corner] [multiproject:site]

2005-07-01 Thread gehel
Ok, it seems easy enough, but ... it is not ! I seem to need to add that to the classpath used by "java:compile". So I should use s/t like : [...] But what should the [...] be ? How do you use the ? Could you please be a bit more specific for a beginner with maven ? Thanks _

[Andromda-user] [Newbie corner] [multiproject:site]

2005-07-01 Thread [EMAIL PROTECTED]
it could look like thisM                               the path id is the unique id for the new path you're referencing, next you add that new path to an existing one -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _

[Andromda-user] [Newbie corner] [Problem with CRUD example and MySQL Database]

2005-07-01 Thread [EMAIL PROTECTED]
I have only tested the CRUD stuff on HSQLDB, which is kind of a lenient DB so it wouldn't surprise me one of the custom HQL queries is incompatible with mySql .. my guess is that it's the order by clause when doing a 'read' operation to fetch the rows when exactly does it happen ? when it

[Andromda-user] [Newbie corner] [Need help on sql ddl generation] Need help on sql ddl generation

2005-07-01 Thread ctrierweiler
Hi everyone, i don't see any sql in /core/target, after i run "maven mda". Neither model validation nor build process show any errors in my model. So what is it, that i am missing? Shouldn't sql be generated within the "maven mda" process, or do i have to use a special command? I think i adde

[Andromda-user] [Newbie corner] [Need help on sql ddl generation]

2005-07-01 Thread [EMAIL PROTECTED]
you need to run maven install the SQL is generated by the hibernate SchemaExport tool in the core component, this component depends on the common component so you'll need to build that one first it's easier if you just build everything by executing the install goal, it knows the order in

[Andromda-user] [Bpm4Struts cartridge] [Tiles used globally]

2005-07-01 Thread gehel
Actually, as I only need to push data to the JSP and not read any from the request, I dont use a form at all, and just pust the different values directly as request attributes. Mabe not the cleanest way to do it, but the use case in question is simple enought for that (in my opinion). Would

[Andromda-user] [Newbie corner] [multiproject:site]

2005-07-01 Thread gehel
Ok, thanks for the hint. I'll try it soon ! _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2028#2028 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! -

[Andromda-user] [EJB cartridge] [where can i find any example about EJB Cartridge???] where can i find any example about EJB Cartridge???

2005-07-01 Thread cbarreto
I generated my app with maven andromdapp:generate, i worked fine with activity diagram and the code was generated well, but when i began to work with persistence (using EJB Cartridge) I can't find any example to use this part. After this, I would like to join my actitity diagram with my per

[Andromda-user] [Bpm4Struts cartridge] [Tiles used globally]

2005-07-01 Thread [EMAIL PROTECTED]
no not at all, I was just curious about the behavior of your custom servlet, I think it makes a lot of sense what you did .. it's a clean solution -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _ Reply to the post : http://gal

[Andromda-user] [Newbie corner] [Need help on sql ddl generation]

2005-07-01 Thread ctrierweiler
Hm, install does not work, exception in spring cartridge (fresh RC1-SNAPSHOT), any idea ?: --- AndroMDA Exception Recording --- Version : 3.1-RC1-2005063006 Error ..: Error performing ModelProcessor.process with model(s) --> 'C:SourceForgeliferayeclipse_workspace

[Andromda-user] [Newbie corner] [Need help on sql ddl generation]

2005-07-01 Thread [EMAIL PROTECTED]
Check your andromda-spring-cartridge.jar (in your maven repository)...and make sure it has this template "templates/spring/SpringServiceLocator.vsl"...looks like that jar might be messed up for some reason. -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread [EMAIL PROTECTED]
Hmm..it sounds like it should be fixed then to allow that option. -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2033#2033 Posting to http://forum.andromda.o

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread sebastien
Ok then. My first patch will be to add a getComment() method to ModelElementFacade in UMLMetaFacade. -- Sébastien Arbogast _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2034#2034 Posting to http://forum.andromda.org/

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread [EMAIL PROTECTED]
Could you just improve the implementation of getDocumentation() to handle the cases you mention? -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2035#2035 Po

[Andromda-user] [Cartridge development] [why expected files in zip archives ?]

2005-07-01 Thread sebastien
Oh yes you're right I hadn't even thought of that. I'll do that, it will be much less painful [Wink] -- Sébastien Arbogast _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2036#2036 Posting to http://forum.andromda.org

[Andromda-user] [Newbie corner] [Need help on sql ddl generation]

2005-07-01 Thread [EMAIL PROTECTED]
there was another usee with exactly the same problem .. search the forum, I think there was a solution -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2037#

[Andromda-user] [Newbie corner] [Need help on sql ddl generation]

2005-07-01 Thread [EMAIL PROTECTED]
That was different though, the other user (Ryan), was using Ant...and the freemarker template engine was being used instead of velocity (because it was being picked up on his classpath). This time maven is being used so therefore Velocity is always used. -- Chad Brandon - [EMAIL PROTECTED] ht

[Andromda-user] [Hibernate cartridge] [How to Enumeration? MagicDraw Enumeration vs. Hibernate's.] How to Enumeration? MagicDraw Enumeration vs. Hibernate''s.

2005-07-01 Thread safaa
To the Hibernate/Spring cartridge experts out there, your help is urgently needed. I have a model hat I reversed engineered to start with which resulted in a bunch of enumerated classes generated by MagicDraw. A MagicDraw enumeration class doesn't use stereotypes and doesn't use attributes f

[Andromda-user] [Hibernate cartridge] [customizing the discriminator] customizing the discriminator

2005-07-01 Thread tejunekim
Hello, I've been trying to specify the discriminator column and the value for an entity hierarchy. For example, if I have classes B, C that inherites class A, instead of having discriminator generated by the class names, I would like the discriminator column to map to something else, and

[Andromda-user] [Hibernate cartridge] [customizing the discriminator]

2005-07-01 Thread [EMAIL PROTECTED]
Currently they aren't configurable, this is from the HibernateEntityLogicImpl:     /**      * @see org.andromda.cartridges.hibernate.metafacades.HibernateEntity#getHibernateDiscriminatorColumn()      */     protected String handleGetHibernateDiscriminatorColumn()     {         return "cla

[Andromda-user] [Hibernate cartridge] [customizing the discriminator]

2005-07-01 Thread tejunekim
ic... well thank you :D how can i create a patch? im very new to the concept of UML and MDA. _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2043#2043 Posting to http://forum.andromda.org/ is preferred over posting t

[Andromda-user] [Hibernate cartridge] [How to Enumeration? MagicDraw Enumeration vs. Hibernate's.]

2005-07-01 Thread [EMAIL PROTECTED]
Quote: The Question: (1) Will the MagicDraw enumeration classes get processed by the hibernate/Spring Cartridge? (end of quote) Nope. Quote: Is there is a simpler way to transfer the MagicDraw enumeration class to a form acceptable by Hibernate/Spring? (end of quote) Well you could

[Andromda-user] [Bpm4Struts cartridge] [Tiles used globally]

2005-07-01 Thread gehel
Thanks ! Coming from you I take that as a great compliment ! Thanks a lot _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2045#2045 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!

[Andromda-user] [Cartridge development] [I can't find the test failure report] I can''t find the test failure report

2005-07-01 Thread sebastien
I've modified the code of org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl to try to fix a few weird things when the html styling is deactivated but when I built the whole distribution using maven dist-clean, I get a test failure for which I can't find the test report. The error mess

[Andromda-user] [Cartridge development] [I can't find the test failure report]

2005-07-01 Thread [EMAIL PROTECTED]
I can't tell with what you've pasted...I'll need more information (there should be some above the failure). -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2

[Andromda-user] [Cartridge development] [I can't find the test failure report]

2005-07-01 Thread sebastien
Well, here you go : Quote: INFO [AndroMDA] completed model processing --> TIME: 37.043[s], RESOURCES WRITT EN: 463 [unzip] Expanding: C:devandromdaandromda-allcartridgesandromda-bpm4stru tssrctestexpectedcartridge-output.zip into C:devandromdaandromda-allcart ridgesandromda-bpm4stru

[Andromda-user] [Spring cartridge] [@andromda.spring.transaction.type ?] @andromda.spring.transaction.type ?

2005-07-01 Thread Gary Struthers
I don't see anything generated when I apply this tag to a Service operation. So it's unclear to me if I hand code transactions or if some transaction code will be generated. What Spring transaction code can be generated from the model? _