safaa wrote:
As for the scalability issue you addressed, I am talking about the scalability 
of the AndroMDA tool
(end of quote)




for all other readers out there who just tune in: he's talking about the 
SchemaExport tool, not AndroMDA (all files have been generated fine)



it's probably related to the fact that, in his case, a very long list of 
mappings files is passed as an argument to the SchemaExport task in 
core/maven.xml (a file which has been generated by andromdapp:generate, a tool 
which runs independently of AndroMDA)



once he accepts this he might be able to come up with a solution, for example: 
using the SchemaExport Ant task that ships with the hibernate distribution, 
like this (example for Hibernate 2):





&nbsp; &nbsp; <target name="schemaexport" depends="compile">



&nbsp; &nbsp; &nbsp; &nbsp; <taskdef&nbsp; name="schemaexport"&nbsp; 

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
classpathref="hibernate.schemaexport.classpath"

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask">

&nbsp; &nbsp; &nbsp; &nbsp;</taskdef >



&nbsp; &nbsp; &nbsp; &nbsp; <schemaexport 
config="$&#123;build.dir&#125;/hibernate.cfg.xml">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <fileset dir="$&#123;build.dir&#125;">

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; <include name="**/*.hbm.xml"/>

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </fileset>

&nbsp; &nbsp; &nbsp; &nbsp; </schemaexport>

&nbsp; &nbsp; </target>





playing with the fileset or dirset would probably take care of the issue since 
it might indirectly control the length of the arguments passed into the 
SchemaExport executable



since I cannot reproduce the problem, I can't give it a try though (there 
neither is a JIRA issue)
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3848#3848
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

Reply via email to