Ok. Here is an interesting finding for all those who plan on having large models in AndromDA of a size comparable to mine (mine is about 1300 classes and 13,000 relations, that generates about 3400 compiled classes and about 650 *.hbm.xml files):
- AndroMDA can't generate the SchemaExport file as it stands today. It compiles the whole thing and generates the *.jar files allright but when it gets to running SchemaExport it fails. No matter what logging I tried to use it won't even get to do any logging simpley because the size of the command string after it expands the classpath to add all those *.hbm.xml files. When I took some of the hbm files out of the src directory and kept doing that I reached a state where the command can actually run. - How do I know that this is an OS issue or an AndroMDA issue, I don't know that for sure; but what I know for sure is that when I try to build the schema outside AndroMDA through a simple use of hibernate by itself, I DON"T GET THE PROBLEM and SchemaExport runs fine and I get to see debugging info through log4j. - Conclusion: The problem is most likley a combination of how AndroMDA runs the SchemaExport command (how it constructs the command in the maven.xml build file) and the OS limitations. I will try to run the same project in Linux and see the result but for now I have to use Hibernate outside AndroMDA to get the schema generated, which defeats the purpose of using AndroMDA and signals a limitation on using AndromDA (at least for me) until this is fixed. Regards Safaa _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3769#3769 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user