Or more easily run GenerateInitializers.cmd from trunk\src\IronRuby.Libraries Pete
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Letterle Sent: Tuesday,11 March 11, 2008 19:04 To: [email protected] Subject: Re: [Ironruby-core] Revision Or you can actually use the ClassInitGenerator.exe in your output directory directly: classinitgenerator IronRuby.Libraries.dll Ruby.Libraries LibrariesInitalizer > Initializer.Generated.cs copy Initializer.Generated.cs to trunk/src/IronRuby.Libraries/ recompile. I didn't even know there was a rake task, I've been doing it like that from the start ;) Still fighting to make the rake files play nice on Cygwin.. On Tue, Mar 11, 2008 at 2:54 PM, John Lam (DLR) <[EMAIL PROTECTED]> wrote: > Josh Charles: > > > > > I've checked out revision 76 of IronRuby, and finally got it setup in > > VS2008 where everything was compiling. For some reason the VS project > > file looks for the sub-projects in the wrong locations, and you have > > to redirect it to the proper project locations, and reset all the > > references. > > You should use the *other* solution in that directory - IronRuby.sln. That points to the right locations. > > > > I thought I would try to hack in a few more of the ruby string > > methods, and located the source file in the "MutableStringOps.cs" file > > in the IronRuby.Libraries project. I've written the code, but for > > some reason, it won't get called. I've cleaned the solution, and > > built from scratch. I have a feeling I'm missing something obvious. > > I've continued to simplify it until now I have this: > > > > [RubyMethodAttribute("reverse", > > RubyMethodAttributes.PublicInstance)] > > public static MutableString/*!*/ Reverse(MutableString/*!*/ > > self) { > > MutableString result = new MutableString("reverse"); //just > > temp > > return result; > > } > > > > You'll need to run 'rake gen' from the command line to regenerate the Initializers.Generated.cs file. > > -John > > > > _______________________________________________ > Ironruby-core mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core > -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
