[ http://jira.andromda.org/browse/ANDVS-6?page=all ] Chris Micali resolved ANDVS-6: ------------------------------
Resolution: Fixed Fixed in v1.6 with a rewrite of the resync code. Previous code was skipping the hbm.xml code. > Empty DDT Generated > ------------------- > > Key: ANDVS-6 > URL: http://jira.andromda.org/browse/ANDVS-6 > Project: Android/VS > Type: Bug > Environment: Windows / VS.NET 2005 > Android/VS 1.5 > Reporter: Kevin Ortman > Assignee: Chris Micali > > Repro Steps > ----------------- > Start a new project w/ empty database. > Create Domain / Service / VO in MagicDraw. > Run Generate. (Entities / Service / VO source create OK) > Change connection string for nhibernate.config in SchemaExporter project. > Compile & run SchemaExporter with the "-e" option. > > Warnings > ----------------- > Compilation of SchemaExporter generates the following warnings: > Could not find schema information for the element > 'urn:nhibernate-configuration-2.0:hibernate-configuration'. > C:\Source\Demo\Northwinds.TimeTracker\Northwinds.TimeTracker.SchemaExport\nhibernate.config > 2 2 Northwinds.TimeTracker.SchemaExport > Could not find schema information for the element > 'urn:nhibernate-configuration-2.0:session-factory'. > C:\Source\Demo\Northwinds.TimeTracker\Northwinds.TimeTracker.SchemaExport\nhibernate.config > 3 6 Northwinds.TimeTracker.SchemaExport > ... etc. > Results > ----------------- > 1. SchemaExporter reports success. > 2. Generated schema-create.sql / schema-drop.sql files are empty. > 3. Modifications not made to SQL server. > Additional Info > ----------------- > I zipped the soulution directory which includes all logs, XMI files, and > source (it is about 3MB) > Please let me know if you would like me to mail it to you. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV