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 ?
_
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
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
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
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
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
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
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
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 ...
_
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
[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
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
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
_
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/
_
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
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
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
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
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!
-
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
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
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
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
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
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/
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
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
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#
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
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
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
Currently they aren't configurable, this is from the HibernateEntityLogicImpl:
/**
* @see
org.andromda.cartridges.hibernate.metafacades.HibernateEntity#getHibernateDiscriminatorColumn()
*/
protected String handleGetHibernateDiscriminatorColumn()
{
return "cla
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
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
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!
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
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
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
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?
_
39 matches
Mail list logo