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?
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>
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!
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
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