outScript = dbSupport.RegenerateDatabase(createSchemaFile, dropSchemaFile) 
failes to generate sql scripts
---------------------------------------------------------------------------------------------------------

         Key: ANDVS-7
         URL: http://jira.andromda.org/browse/ANDVS-7
     Project: Android/VS
        Type: Bug

 Environment: Windows XP, VisualStudio 2005
    Reporter: Jane Hao
 Assigned to: Chris Micali 
    Priority: Blocker


Follow the steps in the tutorial for AndroMDA .NET to build 
Northwind.TimeTracker.  The solution builds fine.  When I get to the step to 
Export Schema, SchemaExport runs but the output files "schema-create.sql" and 
"schema-drop.sql" are both empty (I do have the entities defined and the code 
generated are as prediected in the tutorial).   Debug the SchemaExport.cs, stop 
at the following line:

outScript = dbSupport.RegenerateDatabase(createSchemaFile, dropSchemaFile) 

Notice that the outScript is empty and both the create schema file and the drop 
schema file under the bin\debug directory are empty.

No exception is thrown by the above code and no table is created in the desired 
database.

Here are some information might be helpful:
Assembly version for AndroMDA.NHibernateSupport.dll (where the DBSupport is 
defined)  is 1.06.  Assembly version for AndroMDa.VS80AddIn.dll (the vs studio 
plugin) is 1.5.  The NHibernate.dll under <solution>\Lib directory has assembly 
version of 1.02.

Thanks.



-- 
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to