-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Newbei Error while testing nHibernate
PostPosted: Tue Jan 24, 2006 1:33 am 
Newbie

Joined: Tue Jan 24, 2006 12:13 am
Posts: 1
Location: Chennai
Hi

I am working on XP Professional,IIS 5.1,Visual Studion.net 2003,.Net Framework 1.1 and .Net runtime 2.0, Sqlserver 2000, Nant

I tried installing nhibernate1.0.2. I have the all steps as in http://www.hibernate.org/367.html page.

I have executed

For the debug build type the command:
NAnt -D:project.config=debug clean build >output-debug-build.log

For the release build type the command:

NAnt -D:project.config=release clean build >output-release-build.log

sucessfully

When i tried to test the using following

NAnt
-D:project.config=release
-D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect"
-D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver"
-D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2"
test
>output-release-test.log

I am getting following errors

merge:

[exec] An exception occurred during merging:
[exec] ILMerge.Merge: ERROR!!: Duplicate type 'NHibernate.IdentityHashCodeP
rovider' found in assembly 'HashCodeProvider'.

BUILD FAILED

E:\Net Framework\nHibernate\NHibernateSolution.build(180,4):
External Program Failed: E:\Net Framework\nHibernate\external-bin\ilmerge.exe (r
eturn code was 1)

Total time: 8.7 seconds.

E:\Net Framework\nHibernate> -D:project.config=release
The filename, directory name, or volume label syntax is incorrect.

E:\Net Framework\nHibernate> -D:nhibernate.dialect="NHibernate.Dialect.MsSql2
000Dialect"
The filename, directory name, or volume label syntax is incorrect.

E:\Net Framework\nHibernate> -D:nhibernate.connection.driver_class="NHibernat
e.Driver.SqlClientDriver"
The filename, directory name, or volume label syntax is incorrect.

E:\Net Framework\nHibernate> -D:nhibernate.connection.connection_string="Serv
er=localhost;initial catalog=nhibernate;User ID=nHibernate;Password=nHibernate;M
in Pool Size=2"
The filename, directory name, or volume label syntax is incorrect.

E:\Net Framework\nHibernate> test
'test' is not recognized as an internal or external command,
operable program or batch file.

E:\Net Framework\nHibernate> >output-release-test.log

Can any help me.

If this question has been raised before kindly redirect me.

thanks & Regards
madhavi


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 24, 2006 6:53 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Current build files have an error because they attempt to run ILMerge on a file that has been through the process already. I'll see what I can do about this.

For now, try this command (all on a single line, it was split for readability):
Code:
NAnt
    -D:project.config=release
    -D:nhibernate.dialect="NHibernate.Dialect.MsSql2000Dialect"
    -D:nhibernate.connection.driver_class="NHibernate.Driver.SqlClientDriver"
    -D:nhibernate.connection.connection_string="Server=localhost;initial catalog=nhibernate;User ID=blah;Password=blah;Min Pool Size=2"
    clean test
    >output-release-test.log


(the change is to add clean target before test).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.