Todor, Thanks for your testing, I found the issue and update a working version in the NHForge Media Gallery here: http://nhforge.org/media/p/615.aspx Now it is ok but reming that the ":" after the option is mandatory ( ie: -config:xxxxxxxxxxxxxx ) If you are interested in the source you can download the NHContrib trunk http://sourceforge.net/projects/nhcontrib/ and look under the hbm2net folder. Let me know if this sove your issue.
On 19 Lug, 21:28, Todor Mihailov <[email protected]> wrote: > It looks like a parser error but I've tried all combinations. > Here is the result from your advise: > > D:\NET\NHibernate\db2hbm>db2hbm -config:"D:\NET\NHibernate\db2hbm\me- > config.xml > " > Use: db2hbm <-config:configuration file> [-output:output dir] > > -config Configuration file (mandatory) > -output Directory for generated files (optional) > > D:\NET\NHibernate\db2hbm>db2hbm -config:"D\NET\NHibernate\db2hbm\me- > config.xml" > > Use: db2hbm <-config:configuration file> [-output:output dir] > > -config Configuration file (mandatory) > -output Directory for generated files (optional) > > D:\NET\NHibernate\db2hbm>db2hbm -config "D\NET\NHibernate\db2hbm\me- > config.xml" > > ERROR - Fatal error > System.IO.FileNotFoundException: > at NHibernate.Tool.Db2hbm.Console.Program.Main(String[] args) > > D:\NET\NHibernate\db2hbm>db2hbm -config "me-config.xml" > ERROR - Fatal error > System.IO.FileNotFoundException: > at NHibernate.Tool.Db2hbm.Console.Program.Main(String[] args) > > D:\NET\NHibernate\db2hbm>db2hbm -config "me-config.xml" -output "D:\" > ERROR - Fatal error > System.IO.FileNotFoundException: > at NHibernate.Tool.Db2hbm.Console.Program.Main(String[] args) > > The following result should mean that parameters are wrong and tells > me the right parameters. Right?: > > D:\NET\NHibernate\db2hbm>db2hbm -config:"D:\NET\NHibernate\db2hbm\me- > config.xml > " > Use: db2hbm <-config:configuration file> [-output:output dir] > > -config Configuration file (mandatory) > -output Directory for generated files (optional) > > Is source code of db2hbm available because I can't find it.? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
