Castle Generator now on Castle trunk

A couple of weeks ago the Generator project was voted to be moved from the contrib repo to Castle main trunk. I’m ambivalent about this. Initialy I was happy to find lots of great people finding it usefull. Then, when I realised that I had lost control of the projet, I was frustrated. I know this was part of the contract. But it’s hard to just… let go.

About these ads

7 Comments

Filed under Castle, Generator

7 responses to “Castle Generator now on Castle trunk

  1. Hi, do you mind if I will post a quicky bugreport with patch?

    Generate compiled from trunk:

    C:\DOCUME~1\IOURIG~1\MYDOCU~1\Projects\demo\MyMono>script\console
    C:\Documents%20and%20Settings\Iouri%20Goussev\My%20Documents\Projects\demo\MyMon
    o\public\bin
    C:\Documents%20and%20Settings\Iouri%20Goussev\My%20Documents\Projects\demo\MyMon
    o\config\databases\development.xml
    System.Reflection.TargetInvocationException: Exception has been thrown by the ta
    rget of an invocation. —> System.IO.DirectoryNotFoundException: Could not find
    a part of the path ‘C:\Documents%20and%20Settings\Iouri%20Goussev\My%20Document
    s\Projects\demo\MyMono\config\databases\development.xml’.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
    nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
    ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
    FileShare share, Int32 bufferSize)
    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)

    Replace:

    new FileInfo(new Uri(Assembly.GetExecutingAssembly().CodeBase).PathAndQuery).Directory.FullName;

    with:

    Path.GetFullPath(string.Format(“../../config/databases/{0}.xml”, database));

    in Boot.InitializeActiveRecord

    Also in monorail.bat and generate.bat put quotes around the path or escape spaces to allow long file names.

  2. Hey Iouri,

    Glad you’re using the tool. Sadly it is no longer supported. I’ve donated the project to Castle a while ago and I’m no longer involved in it. I know they are replacing it with something else.

    You still can get support/help/nothing on the Castle forum: http://forum.castleproject.org/viewforum.php?f=13&sid=0dad90de3a4d1c87a8332a50a8e25789

  3. Pavel Druzyak

    Plese send me your tool.

  4. Pedro

    Hello Mac… How are you?
    I’m testing the Monorail and ActiveRecord, and I found your tool on Google, but I can’t download it from Castle Project site. :(

    Its possible to you, send me the tool?
    I want test you tool in my project.

    Regards anp keep coding!!!
    Pedro

  5. Li

    We have developed a RAD tool (LatticeFramework Studio) to generate the code from the databases (Oracle, MySQL, SQL Server and PostgreSQL), now we support generate Castle MonoRail + ActiveRecord + ExtJS application. The following is the screencast how to use it:
    http://www.latticesoft.com/product/video.aspx

    Check it out!

  6. Get reliable bug tested casino script and software for your Online Casino at casinowebscripts.com. Find best deals and lowest prices for online gambling scripts and software here!!

  7. Pingback: фильмы хорошего качества скачать торрент - Страница 6 - Форум для мам и пап - ONPAPA

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s