RE: [Andromda-user] Cartridge Question

2005-05-16 Thread Greg Holmberg
model and generate both a rich GUI and a web app.    Greg Holmberg

[Andromda-user] Hibernate: MySQL mappings, VARCHAR BINARY

2005-04-11 Thread Greg Holmberg
value.   Does anyone know why numeric sorting would be desirable with Hibernate?  That is, why does AndroMDA set BINARY as the default for MySQL?   Thanks,     Greg Holmberg  

[Andromda-user] Maven repository access forbidden?

2005-04-07 Thread Greg Holmberg
When building with Maven, I’m getting “Forbidden” when trying to download the AndroMDA jars for RC2-SNAPSHOT.   http://team.andromda.org/maven/andromda/distributions also says “Access forbidden!”.    

[Andromda-user] Directory structure of generated code

2005-04-04 Thread Greg Holmberg
or just result in a “directory not found” exception.   Does anyone have any other ideas?   Thanks,     Greg Holmberg    

RE: [Andromda-user] Generated HSQLDB schema broke?

2005-04-02 Thread Greg Holmberg
the command-line argument there. Find the entry for SchemaExport (about line 20), and add this line: --format is also a good one to add (makes the SQL easier to read): Greg Holmberg --- SF email is sponsored by - The IT Product Gui

RE: [Andromda-user] Spring cartridge update

2005-04-02 Thread Greg Holmberg
Security, and Hibernate 3, we will finally have a really nice stack for enterprise web apps.   And of course, AndroMDA makes everything just so much easier.     Greg Holmberg  

RE: [Andromda-user] Spring cartridge update

2005-04-02 Thread Greg Holmberg
FYI, this must be changed in two places: core/project.xml and app/project.xml. If you only change it in core, then maven will still bundle the old version into the .ear file. Greg Holmberg > -Original Message- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROT

RE: [Andromda-user] Interface generation

2005-04-01 Thread Greg Holmberg
kage “java.util”, which generated:     public class Foo extends java.util.TreeSet   Which I think will work with a JSP tag, but isn’t quite as nice as “implements java.util.List”.   I think the JAVA-6 enhancement will allow this.     Greg Holmberg  

[Andromda-user] Directory structure of generated code

2005-03-31 Thread Greg Holmberg
or just result in a “directory not found” exception.   Does anyone have any other ideas?   Thanks,     Greg Holmberg  

[Andromda-user] Independence of cartridges

2005-03-28 Thread Greg Holmberg
How independent are the cartridges supposed to be?   I’m using the Spring and Hibernate cartridges, and when I removed the WebService cartridge dependency from mda/project.xml, my generated code stopped compiling.  I discovered it wasn’t generating code in target/src for ValueObjects anym

[Andromda-user] Hibernate: Unique String attributes on Entities and MySQL

2005-03-23 Thread Greg Holmberg
When I have an Entity Class with a Unique attribute of type datatype.String with tagged value @andromda.persistence.column.length > 255, it causes AndroMDA/SchemaExport to generate this SQL for MySQL:   create table WHATEVER (    ID bigint not null auto_increment,    NAME VARCHAR(512) B

RE: [Andromda-user] Hibernate: regression bug in RC1

2005-03-21 Thread Greg Holmberg
> > cannot resolve symbol > > symbol : method valueOf (java.lang.Object) > > location: class com.inxight.smartsearch.metadata.PropertyType > > > > statement.setObject(index, java.lang.String.valueOf(String.valueOf(value))); > > > That's odd, the method does exist on 1.4.2: > http://java.sun.com/j2

[Andromda-user] Hibernate: regression bug in RC1

2005-03-21 Thread Greg Holmberg
Here’s another regression I found today, which generates uncompilable code.   I have an <> Class for Hibernate.  All the attributes are of type datatype.String, public, frozen, classifier scope.   This generates two files: one under common\target\src (xxx.java generated by the Java car

[Andromda-user] Spring: regression bug on RC1

2005-03-21 Thread Greg Holmberg
I was up to date with RC1-SNAPSHOT on Friday, and when I updated today, I now get generated code that doesn’t compile.   In my UML class diagram (MagicDrw 9), I have a <> Class, “QueryService”, with a Usage association to an <> Class, “Collection”.   This generates QueryServiceBase.java

[Andromda-user] Spring: implementing an interface in a ValueObject

2005-03-15 Thread Greg Holmberg
How can I cause AndroMDA to generate a class that implements an interface?   For example, I’ve tried having a <> with a <>Abstraction to an Interface (Set, package java.util), and the generated class didn’t implement the interface.   I’ve also tried a <> with a Generalization of a class

[Andromda-user] Generate generic java code?

2005-03-11 Thread Greg Holmberg
I see that the Java cartridge can generate Services (operations, no attributes) and ValueObjects (attributes, no operations), but how do I generate a simple Java class with operations and attributes?   I’ve found that if I use no stereotype at all, nothing gets generated.   Similarly, h

RE: [Andromda-user] Jira server availablity

2005-03-11 Thread Greg Holmberg
Title: Message I also had that problem for a few days last week, accessing from work.  I was able to find http://thecla.homeftp.net, but not the 8380 port.   When I tried from home it worked (still works).  I figured it was something at work, not on the Jira end.   From: [EMAI

[Andromda-user] Bug: Spring Entity query operation generated DaoBase code with a compilation error

2005-03-04 Thread Greg Holmberg
I have an <> class, Document, with this operation:   findEntitiesByDefinitions( definitions : List ) : List Visibility: public Query: true Scope: classifier   This generates this code:       public java.util.List findEntitiesByDefinitions(final int transform, final java.lang.String

[Andromda-user] Spring exception in SpringServiceOperationLogicImpl

2005-03-04 Thread Greg Holmberg
In yesterday's build (3.0-RC1-20050304063126), I now get this exception when building: Main Exception .: Error performing Cartridge.processTemplateWithModelElements Root Exception .: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isExceptionsPresent' in class org.a

RE: [Andromda-user] AndroMDA 3.0M2 Hibernate cartridge crashes on simple XMI

2004-12-17 Thread Greg Holmberg
Chad-- Cool--it worked! > No problemo. Actually the id is created by default if you don't have one > specified, it's an option that's on by default "allowDefaultIdentifiers". > It probably can't find the type because I'm assuming you don't have > "datatype.Long" defined in your model do you (tha

[Andromda-user] AndroMDA 3.0M2 Hibernate cartridge crashes on simple XMI

2004-12-17 Thread Greg Holmberg
cks. It appears to be a problem with HibernateEntity.vsl, line 5. But I can't find this file, so I'm not sure what the cause of the problem is, or what I'm doing wrong. Can anyone help me? Thank you, Greg Holmberg Software Architect Inxight Software, Inc. Include below is the