Getting the Trunk Version

0 views
Skip to first unread message

David

unread,
Oct 15, 2008, 6:40:16 AM10/15/08
to Castle Project Users
Apologies if this is a stupid question. At the moment I'm just trying
to get my head around Monorail/ActiveRecord, etc. I'd like to play
with the trunk version but I can't work out how to get hold of a
working copy.

I tried to download the latest build from, say,
http://builds.castleproject.org/cruise/DownloadBuild.castle?number=973
but all I get is a 1.4Kb empty zip file.

I also tried to download the source code from SubVersion and build
using something like
nant -D:common.testrunner.enabled=false
or
nant -D:project.config=release -D:common.testrunner.enabled=false
but I get build errors (something to do with ReaderWriterLockSlim). I
tried on the last 4 or 5 revisions.

What's the best way of getting an up-to-date copy? I don't really
need to build source code at this point, I just want to be able to
play with coding on top of the framework.

Many thanks.

Ken Egozi

unread,
Oct 15, 2008, 7:02:15 AM10/15/08
to castle-pro...@googlegroups.com
the ReaderWriterLockSlim error probably has to do with the lack of .net 3.5 on your system.

as for why the build server is acting weird, I donno.  Anyone has any idea about that?

Ernst Naezer

unread,
Oct 15, 2008, 7:02:38 AM10/15/08
to castle-pro...@googlegroups.com
Hi David,

sorry you didn't succeed in getting up & running very fast. I looked
at the build server, and I believe somewhere last week there we made a
change so that it compiles by default using the .net 3 compiler, which
probably outputs to a different zip file that doesn't get picked up by
the build server, so you need to compile from code.

The quickest way to do that is using the command;

nant quick rebuild

this skips the tests, but that's fine since they also get run by our
buildserver.

The ReaderWriterLockSlim is something that is only present at the 3.5
framework and was committed a couple of days ago and pending
discussion.

So, to sum up, you need to latest .net framework and nant 0.86
(nightly build os something)

Hope this helps a bit.

cheers,
Ernst.

On Wed, Oct 15, 2008 at 12:40 PM, David <j.davi...@gmail.com> wrote:
>

Ken Egozi

unread,
Oct 15, 2008, 7:08:34 AM10/15/08
to castle-pro...@googlegroups.com
The quickest (and dirtiest) way would be to:

1. go to the download page
2. copy the download url
3. switch the 2.0 bit with 3.5
4. download and have (lots of) fun using Castle

the latest build is at
http://builds.castleproject.org/builds/castleproject-1.1-build_973-net-3.5-debug.zip

David

unread,
Oct 15, 2008, 3:54:16 PM10/15/08
to Castle Project Users
Thanks for that Ernst. Unfortunately quick rebuild produced the same
build errors.

I do have .NET 3.5 (though not SP1) but I think I'm using NAnt 0.85 so
that could be the problem.

I'm curious to see if I can get it to build, so I'll try upgrading and
have another go at some point.

On Oct 16, 12:02 am, "Ernst Naezer" <ernstnae...@gmail.com> wrote:
> Hi David,
>
> sorry you didn't succeed in getting up & running very fast. I looked
> at the build server, and I believe somewhere last week there we made a
> change so that it compiles by default using the .net 3 compiler, which
> probably outputs to a different zip file that doesn't get picked up by
> the build server, so you need to compile from code.
>
> The quickest way to do that is using the command;
>
> nant quick rebuild
>
> this skips the tests, but that's fine since they also get run by our
> buildserver.
>
> The ReaderWriterLockSlim is something that is only present at the 3.5
> framework and was committed a couple of days ago and pending
> discussion.
>
> So, to sum up, you need to latest .net framework and nant 0.86
> (nightly build os something)
>
> Hope this helps a bit.
>
> cheers,
> Ernst.
>

David

unread,
Oct 15, 2008, 3:55:38 PM10/15/08
to Castle Project Users
Great! That download link works. It's useful that the source code is
zipped up in there as well.

Thanks.

On Oct 16, 12:08 am, "Ken Egozi" <egoz...@gmail.com> wrote:
> The quickest (and dirtiest) way would be to:
>
> 1. go to the download page
> 2. copy the download url
> 3. switch the 2.0 bit with 3.5
> 4. download and have (lots of) fun using Castle
>
> the latest build is athttp://builds.castleproject.org/builds/castleproject-1.1-build_973-ne...
>
>
>
> On Wed, Oct 15, 2008 at 1:02 PM, Ernst Naezer <ernstnae...@gmail.com> wrote:
>
> > Hi David,
>
> > sorry you didn't succeed in getting up & running very fast. I looked
> > at the build server, and I believe somewhere last week there we made a
> > change so that it compiles by default using the .net 3 compiler, which
> > probably outputs to a different zip file that doesn't get picked up by
> > the build server, so you need to compile from code.
>
> > The quickest way to do that is using the command;
>
> > nant quick rebuild
>
> > this skips the tests, but that's fine since they also get run by our
> > buildserver.
>
> > The ReaderWriterLockSlim is something that is only present at the 3.5
> > framework and was committed a couple of days ago and pending
> > discussion.
>
> > So, to sum up, you need to latest .net framework and nant 0.86
> > (nightly build os something)
>
> > Hope this helps a bit.
>
> > cheers,
> > Ernst.
>

Ken Egozi

unread,
Oct 15, 2008, 6:02:28 PM10/15/08
to castle-pro...@googlegroups.com
you'd need NANT .86b2
this can be found on NANT site (it's nant.sourceforge.org I think). in the bottom of the left menubar, there are downloads.
go to Nightly Build (these are 0.86b2 bits) - download the binary, put it in the path, and then "nant quick rebuild" will work.

David

unread,
Oct 15, 2008, 8:07:28 PM10/15/08
to Castle Project Users
That worked! with the NAnt Nightly Build (shows as 0.86-nightly) in
my path I can successfully build the Castle trunk using "nant quick
rebuild".

Many thanks for the help, guys.
> >http://www.kenegozi.com/bloghttp://www.musicglue.comhttp://www.castle...

Ken Egozi

unread,
Oct 15, 2008, 8:29:13 PM10/15/08
to castle-pro...@googlegroups.com
btw, not to nag, but Im pretty sure it's in the "How to build.txt" file

David

unread,
Oct 16, 2008, 4:17:59 PM10/16/08
to Castle Project Users
Sort of. It says:

Everything should compile fine using NAnt 0.85 final.
You can find the latest version at http://nant.sourceforge.net/

for targeting 3.5, it's recommended you use NAnt 0.68b2 nightly build
(current version is 0.86.3075.0 from 02/06/2008 and can be downloaded
from the said location).

When I first tried to build I was targeting 2.0.

Ken Egozi

unread,
Oct 16, 2008, 4:21:27 PM10/16/08
to castle-pro...@googlegroups.com
well that's a different issue, as currently 2.0 isn't working due to the introduction of RWL_Slim

btw, are we going to revert that, or to put an IFDEF in?

johnp...@googlemail.com

unread,
Oct 20, 2008, 12:02:32 PM10/20/08
to Castle Project Users
Any news on fixing the build for 2.0?

On Oct 16, 9:21 pm, "Ken Egozi" <egoz...@gmail.com> wrote:
> well that's a different issue, as currently 2.0 isn't working due to the
> introduction of RWL_Slim
>
> btw, are we going to revert that, or to put an IFDEF in?
>
>
>
> On Thu, Oct 16, 2008 at 10:17 PM, David <j.david.w...@gmail.com> wrote:
>
> > Sort of.  It says:
>
> > Everything should compile fine using NAnt 0.85 final.
> > You can find the latest version athttp://nant.sourceforge.net/

Markus Zywitza

unread,
Oct 21, 2008, 5:33:25 AM10/21/08
to castle-pro...@googlegroups.com
Please use the NH2.0 branch.
I just updated it to current trunk (building on net-2.0 with nant 0.85).
 
I will keep updating it from time to time until 1.0 is released.
 
This one does not use NH trunk, but 2.0.1 GA. This means you can use NH Contrib, but there are minor differences to Castle trunk, which uses a patched trunk version of NH.
 
-Markus

Tuna Toksöz

unread,
Oct 21, 2008, 5:39:20 AM10/21/08
to castle-pro...@googlegroups.com
Markus, can you give details about "patched trunk version of NH", what kind of patches?

Thanks!
--
Tuna Toksöz

Typos included to enhance the readers attention!

Markus Zywitza

unread,
Oct 21, 2008, 7:09:31 AM10/21/08
to castle-pro...@googlegroups.com
From svn log:
 
Revision: 5260
Author: hammett
Date: 4:47:29 AM, Monday, August 11, 2008
Message:
NH trunk version (with my fixes that weren't applied)
----
Modified : /trunk/SharedLibs/net/2.0/Iesi.Collections.dll
Modified : /trunk/SharedLibs/net/2.0/NHibernate.dll
Modified : /trunk/SharedLibs/net/2.0/NHibernate.xml
 
According to the mails on the list, the patch is the one in
 
The NH revision should be r3696, but I'm not sure about this detail.
 
-Markus
 
2008/10/21 Tuna Toksöz <teh...@gmail.com>

Tuna Toksöz

unread,
Oct 21, 2008, 9:27:18 AM10/21/08
to castle-pro...@googlegroups.com
Ok I have noted it. I'll let the team know when this issue is solved, so that you can move to current track of NH

Markus Zywitza

unread,
Nov 14, 2008, 7:02:57 AM11/14/08
to castle-pro...@googlegroups.com
Hi Tuna
 
do have any news on that? And do you know if there is a timeline for releasing NH2.1?
 
Background: I'm still undecided when to release ActiveRecord, but I won't release with any non-released version of NHibernate. I'd prefer waiting for NH2.1 cause I know that a lot of people use the current trunk and I don't want to break their code. However, if NH2.1 is far from release by now, we will have to discuss that again.

Tuna Toksöz

unread,
Nov 14, 2008, 7:10:40 AM11/14/08
to castle-pro...@googlegroups.com
NH 2.1 is close as I heard from Fabio. I'll talk him to see if he had a certain date in his mind. The issue is still not solved,  I hope i will find time and be able to solve it soon, there are already some patches, I can check them if the issue is still there.




On Fri, Nov 14, 2008 at 2:02 PM, Markus Zywitza <markus....@gmail.com> wrote:
Background: I'm still undecided when to release ActiveRecord, but I won't release with any non-released version of NHibernat



Tuna Toksöz

unread,
Nov 14, 2008, 7:11:45 AM11/14/08
to castle-pro...@googlegroups.com
And I am sorry for the delay.

Markus Zywitza

unread,
Nov 14, 2008, 7:25:49 AM11/14/08
to castle-pro...@googlegroups.com
For what? Do you get paid for this? If not, work on it as you have time and fun doing it.
 
-Markus

2008/11/14 Tuna Toksöz <teh...@gmail.com>

Tuna Toksöz

unread,
Nov 14, 2008, 7:28:46 AM11/14/08
to castle-pro...@googlegroups.com
Ok but i will try to take care soon(if the time permits) as i would like to help this issue to be solved.

Cheers!
Reply all
Reply to author
Forward
0 new messages