castlecontrib genreator...what am I missing?

0 views
Skip to first unread message

jsmorris

unread,
Mar 30, 2007, 4:43:29 PM3/30/07
to castle-pro...@googlegroups.com
I went to this page

http://www.castleproject.org/others/contrib/generator/index.html

viewed the screencasts and thought it would be cool to try this.
However, I am running into a lot of differences that I didn't expect
to see.

The only exe I saw was the Castle.MonoRail.Generator.exe. This was in
the castle bin dir from the latest nightly build 344.

So after learning the usage, I issued the command

Castle.MonoRail.Generator.exe project name:example outdir:c:\temp\example

and got a project structure

c:\temp\example
example
Controllers
Models
Views
example.Tests
lib
example.sln

This is a distinct difference than what shows up in the screencast
which show a very Ruby on Rails project structure.

So, I then thought to pull that latest src and build it. I got the
src, but there is no nant build file as outline on the web page. So
pulled up vs.net and built it by hand, but still the same project
turned up.

Has this project changed that much since these screencasts were made?

jsmorris

unread,
Mar 30, 2007, 4:46:40 PM3/30/07
to castle-pro...@googlegroups.com
I hit the send key to soon.

Can anyone point out why these differences exists or know if the
webpage is just out of date.

Or, maybe point me in the right direction.

Thanks,
Jason

On 3/30/07, jsmorris <jsmo...@gmail.com> wrote:
> I went to this page
>
> http://www.castleproject.org/others/contrib/generator/index.html
>

> <snip>

Justin

unread,
Mar 30, 2007, 6:59:41 PM3/30/07
to Castle Project Users
I think you may have the wrong generator, there are at least 3
"generators" in the project that I have seen I think the one your
after is...

http://wiki.castleproject.org/index.php/Generator

I believe this has now been moved to the main castle trunk so this
page may be out of date too. I don't think this generator is part of
the nightly build so you may not find it there.

You could grab the source ( http://svn.castleproject.org:8080/svn/castle/trunk/
)and you will find it in:

\Tools\Generator

There is a nant build file and install instructions.

Hope that helps!

jsmorris

unread,
Apr 2, 2007, 5:02:27 PM4/2/07
to castle-pro...@googlegroups.com
Thanks Justin, that is the generator I was looking for.

Am I safe to assume that since this is on the trunk that it is going
to continue to be supported as monorail evolves?

Is this the way most people setup their project?

Jason

Justin

unread,
Apr 2, 2007, 5:39:44 PM4/2/07
to Castle Project Users
Jason,

As far as I can tell (just from reading this castle lists for a while)
the generator is going to be supported in future. Hopefully one of the
developers should be able to give you a more definitive answer.

Sorry I've no idea what most people use to setup their projects but if
I remember correctly there was some talk of the Visual Studio wizards
using the generator in the background at some point so hopefully it's
not just going to disappear.

Cheers

Justin

Reply all
Reply to author
Forward
0 new messages