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.  [ 3 posts ] 
Author Message
 Post subject: Building nHibernate
PostPosted: Sat Sep 22, 2007 3:05 pm 
Newbie

Joined: Sat Sep 22, 2007 3:00 pm
Posts: 1
Is there any documentation for building nHibernate for mono on Linux(Deb)? I followed the article on hibernate.org for building, but I'm getting an error:

Expression: ${environment::get-folder-path('ProgramFiles')}/Cenqua/Clover.NET 2.0 for ${clover.framework}
^^^^^^^^^^^^^^^^
Property 'clover.framework' has not been set.



I'm just looking for someone to point me in the right direction.

Thanks for any help.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 7:50 pm 
Newbie

Joined: Tue Jan 08, 2008 7:44 pm
Posts: 3
This is probably because you have a .net version above 2.0 installed on your machine so it doesn't know which one to choose. Open up the common.xml file in the build-common directory and find the lines that start like this...

<property name="clover.framework"

Add another line for the version of the framework that you are using. For myself it worked just to point version 3.5 back to 2.0 like so.

<property name="clover.framework" value=".NET 2.0" if="${nant.settings.currentframework == 'net-3.5'}" />

I'm not sure if this is the correct methodology but it worked for me.

_________________
Life is toilet. As soon as you get caught up, someone flushes you again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 7:53 pm 
Regular
Regular

Joined: Wed Jan 25, 2006 1:11 am
Posts: 118
Location: Copenhagen, Denmark
Steve Wagner posted this earlier today on the developer list:

----------------------------------------------------------------------------------
If i try to build NHibernate (trunk and 1.2ga) ive allways got this error:

----------------------

Expression:
${environment::get-folder-path('ProgramFiles')}/Cenqua/Clover.NET 2.0 for ${clover.framework}

^^^^^^^^^^^^^^^^
Property 'clover.framework' has not been set.

----------------------

To fix it, change the line:

<property name="clover.home"
value="${environment::get-folder-path('ProgramFiles')}/Cenqua/Clover.NET
2.0 for ${clover.framework}" />

in common.xml to:

<property name="clover.home"
value="${environment::get-folder-path('ProgramFiles')}/Cenqua/Clover.NET
2.0 for ${clover.framework}"
if="${property::exists('clover.framework')}" />

I hope someone can commit it to trunk. Thanks.

Steve

-------------------------------------------------------------------------


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.