[EMAIL PROTECTED] wrote:
The thing is: I've never considered this a bug (those error messages).  I would 
assume most users know what happens when a SQL script is executed therefore 
they could safetly assume things have worked.
(end of quote)




Chad, you are correct, and in hind site, I recognize "its no big deal."  
Actually, once I actually read the SQL script, I DID know everything was "OK."



But - putting this in context from my perspective:



All I knew initially was that I was supposed to execute maven create-schema[b]. 
 Turns out that if prior to that, if all you have done was execute [b]maven 
mda, then there is no .SQL file to execute.  HOWEVER, maven create-schema 
happily reports "build successful."  So, I execute in maven create-schema, then 
go to my database - no table.  :? 



So, NOW its off to the forums to figure out what is going on.  Apparently maven 
create-schema doesn't create the DDL files, it actually EXECUTES them.  One has 
to do a maven install to have the schema files created.  Ambiguous terms to a 
newbie I guess.  Perhaps one goal such as maven create-ddl-files and a renaming 
maven create-schema to maven install-schema would have eliminated this 
mis-understanding (esp if install-schema had create-ddl-files as a dependency 
goal!)



So, anyway - maven install it is!  I run that, and WOW - I've got DDL files!  
:D  Now we're getting somewhere.  maven create-schema! A bunch of errors: says 
tables are missing.  :x   [Crying or Very sad] 



So, off I go digging through the numerious maven.xml files to figure out what 
maven create-schema actually does.  Come to find out, it simply executes a 
script if the script is there.  If the script is not there, it does nothing 
(rather than a more helpful "DDL files do not exist - have you run "maven 
install?")  So, what's in those DDL files? Now that I know where they are 
located, and that they are finally there, I read them, and see - oh - its not a 
problem at all.  But, I wonder why those "DROP TABLE" entries are commented out?



That is what brought me to the conclusion that if I was NOT using mySQL, line 
32 of my core/maven.xml file would probably have commented out all of the 
"offending" lines, and thus no error messages.  I go to my database, and sure 
enough, the tables ARE there just like I now know they should be.



1 hour of frustration.



I consider myself a fairly smart guy, and I'm not a "newbie" to software - I've 
been doing this for 22 years, and I've been the project lead on a major 
commercial package. I WILL be able to figure out how all this fits together, 
and I PROBABLY will be able to make this work for me - assuming there are no 
insurmountable bugs that just can't be fixed.  I don't believe that will be the 
case.



I also recognize that YOU GUYS have limited time also, and its frustrating to 
hear people bitch all the time about things that don't work.  That is why I 
think it is in EVERYONE'S best interest for SOMEONE to fix and or better 
document things. I've had a lot of success with various Open Source packages.  
In general, I've been lucky as most have had "others" who have blazed the trail 
and got there before me, leaving a map of all the pitfalls.



I'm reaching the conclusion that the AndroMDA project is the closest to the 
"bleeding edge" as I've come thus far.  Its new, a relatively small user base, 
and that I've got to chop down some of those bushes on my own.  I'm trying my 
best to leave some breadcrumbs.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2548#2548
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to