I downloaded the zip from http://nhforge.org/media/p/615.aspx and extracted
all the files to a directory after unblocking the zip file. I then copied
and pasted the sample configuration from
http://nhforge.org/wikis/howtonh/how-to-use-db2hbm.aspx into a file named
config.xml in the same directory with db2hbm.exe and ran it with this
command line:
db2hbm -config:config.xml -output:hbmfiles
--------------------------------------------------
From: "Todor Mihailov" <[email protected]>
Sent: Monday, July 19, 2010 3:28 PM
To: "nhusers" <[email protected]>
Subject: [nhusers] Re: db2hbm fatal error at startup
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.
--
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.