John Lam (DLR)
2007-Oct-12 17:18 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Overheard last night on IRC:> IronRuby SVN has a build system implemented in rake, > which is wholly broken on non-Windows systems.Can someone who uses a non-Windows system volunteer to fix the Rakefile? Thanks, -John
olivier dufour
2007-Oct-12 17:46 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
I am on it I have ever done a big step yesterday. Will send patch when I have time ;) My patch will be for linux env 2007/10/12, John Lam (DLR) <jflam at microsoft.com>:> > Overheard last night on IRC: > > > IronRuby SVN has a build system implemented in rake, > > which is wholly broken on non-Windows systems. > > Can someone who uses a non-Windows system volunteer to fix the Rakefile? > > Thanks, > -John > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/32d8373c/attachment.html
John Lam (DLR)
2007-Oct-12 18:10 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Thanks! -John From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of olivier dufour Sent: Friday, October 12, 2007 10:47 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? I am on it I have ever done a big step yesterday. Will send patch when I have time ;) My patch will be for linux env 2007/10/12, John Lam (DLR) < jflam at microsoft.com<mailto:jflam at microsoft.com>>: Overheard last night on IRC:> IronRuby SVN has a build system implemented in rake, > which is wholly broken on non-Windows systems.Can someone who uses a non-Windows system volunteer to fix the Rakefile? Thanks, -John _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/2bc9848a/attachment.html
olivier dufour
2007-Oct-12 21:08 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
I am a bit stuck with Environment.build variable if someone know why it return /release in rake file ... I have fix all ''/'' issue and replace some path with linux path. Someone know a variable to say Environment.pathSeparator or something like that to have the good path with the system. The idea is to have one rake file for all ;) thanks, olivier dufour 2007/10/12, John Lam (DLR) <jflam at microsoft.com>:> > Thanks! > > > > -John > > > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *olivier dufour > *Sent:* Friday, October 12, 2007 10:47 AM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Volunteers to fix Rake for non-Windows > systems? > > > > I am on it > I have ever done a big step yesterday. > Will send patch when I have time ;) > My patch will be for linux env > > 2007/10/12, John Lam (DLR) < jflam at microsoft.com>: > > Overheard last night on IRC: > > > IronRuby SVN has a build system implemented in rake, > > which is wholly broken on non-Windows systems. > > Can someone who uses a non-Windows system volunteer to fix the Rakefile? > > Thanks, > -John > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/db7264da/attachment-0001.html
Jeff Lewis
2007-Oct-12 21:19 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
/release is not actually a path, it is the msbuild target: /release for production builds And /debug for debug builds From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of olivier dufour Sent: Friday, October 12, 2007 3:08 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? I am a bit stuck with Environment.build variable if someone know why it return /release in rake file ... I have fix all ''/'' issue and replace some path with linux path. Someone know a variable to say Environment.pathSeparator or something like that to have the good path with the system. The idea is to have one rake file for all ;) thanks, olivier dufour 2007/10/12, John Lam (DLR) < jflam at microsoft.com <mailto:jflam at microsoft.com> >: Thanks! -John From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of olivier dufour Sent: Friday, October 12, 2007 10:47 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? I am on it I have ever done a big step yesterday. Will send patch when I have time ;) My patch will be for linux env 2007/10/12, John Lam (DLR) < jflam at microsoft.com <mailto:jflam at microsoft.com> >: Overheard last night on IRC:> IronRuby SVN has a build system implemented in rake, > which is wholly broken on non-Windows systems.Can someone who uses a non-Windows system volunteer to fix the Rakefile? Thanks, -John _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/8658cb26/attachment.html
Eric Nicholson
2007-Oct-12 21:28 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
You can use File.Join I think. Interestingly, that still uses "/" on Windows systems in MRI/CRuby. But either slash should work on Windows. -Eric On 10/12/07, olivier dufour <olivier.duff at gmail.com> wrote:> > I am a bit stuck with Environment.build variable if someone know why it > return /release in rake file ... > > I have fix all ''/'' issue and replace some path with linux path. > Someone know a variable to say Environment.pathSeparator or something like > that to have the good path with the system. > > The idea is to have one rake file for all ;) > > thanks, > olivier dufour > > 2007/10/12, John Lam (DLR) < jflam at microsoft.com>: > > > > Thanks! > > > > > > > > -John > > > > > > > > > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > > ironruby-core-bounces at rubyforge.org] *On Behalf Of *olivier dufour > > *Sent:* Friday, October 12, 2007 10:47 AM > > *To:* ironruby-core at rubyforge.org > > *Subject:* Re: [Ironruby-core] Volunteers to fix Rake for non-Windows > > systems? > > > > > > > > I am on it > > I have ever done a big step yesterday. > > Will send patch when I have time ;) > > My patch will be for linux env > > > > 2007/10/12, John Lam (DLR) < jflam at microsoft.com>: > > > > Overheard last night on IRC: > > > > > IronRuby SVN has a build system implemented in rake, > > > which is wholly broken on non-Windows systems. > > > > Can someone who uses a non-Windows system volunteer to fix the Rakefile? > > > > Thanks, > > -John > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > _______________________________________________ > > Ironruby-core mailing list > > Ironruby-core at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/f0d6963e/attachment.html
John Lam (DLR)
2007-Oct-12 21:31 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
> I am a bit stuck with Environment.build variable if someone know why > it return /release in rake file ...We build into different directories for debug vs. release builds - this lets us potentially rename this in the future. -John
Cory Foy
2007-Oct-12 23:35 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
System.IO.Path.DirectorySeparatorChar: http://ablog.apress.com/?p=967 I had to do the same thing when I was managing the NUnit release on Linux. Although the NewLine separators were by far the worst violators. Cory From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of olivier dufour Sent: Friday, October 12, 2007 5:08 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? I am a bit stuck with Environment.build variable if someone know why it return /release in rake file ... I have fix all ''/'' issue and replace some path with linux path. Someone know a variable to say Environment.pathSeparator or something like that to have the good path with the system. The idea is to have one rake file for all ;) thanks, olivier dufour 2007/10/12, John Lam (DLR) < jflam at microsoft.com<mailto:jflam at microsoft.com>>: Thanks! -John From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of olivier dufour Sent: Friday, October 12, 2007 10:47 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? I am on it I have ever done a big step yesterday. Will send patch when I have time ;) My patch will be for linux env 2007/10/12, John Lam (DLR) < jflam at microsoft.com<mailto:jflam at microsoft.com>>: Overheard last night on IRC:> IronRuby SVN has a build system implemented in rake, > which is wholly broken on non-Windows systems.Can someone who uses a non-Windows system volunteer to fix the Rakefile? Thanks, -John _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071012/fc02af35/attachment.html
Sanghyeon Seo
2007-Oct-13 02:05 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
2007/10/13, Cory Foy <Cory.Foy at microsoft.com>:> System.IO.Path.DirectorySeparatorChar: > http://ablog.apress.com/?p=967This is a good advice for .NET, but Rakefile is written in Ruby, so unrelated to the topic of this thread. -- Seo Sanghyeon
Cory Foy
2007-Oct-13 02:35 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Ah, my mistake. I saw Oliver''s Environment thing and thought of .NET. Sorry! Cory -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Sanghyeon Seo Sent: Friday, October 12, 2007 10:05 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? 2007/10/13, Cory Foy <Cory.Foy at microsoft.com>:> System.IO.Path.DirectorySeparatorChar: > http://ablog.apress.com/?p=967This is a good advice for .NET, but Rakefile is written in Ruby, so unrelated to the topic of this thread. -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Cory Foy
2007-Oct-13 02:54 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Here''s what I was looking for: http://www.rubycentral.com/pickaxe/ref_c_file.html foyc at dilbert ~ $ irb irb(main):001:0> puts File::SEPARATOR / => nil Cory -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Sanghyeon Seo Sent: Friday, October 12, 2007 10:05 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows systems? 2007/10/13, Cory Foy <Cory.Foy at microsoft.com>:> System.IO.Path.DirectorySeparatorChar: > http://ablog.apress.com/?p=967This is a good advice for .NET, but Rakefile is written in Ruby, so unrelated to the topic of this thread. -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
olivier dufour
2007-Oct-13 11:04 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Ok, It compile. In fact, Environment is a class of rakefile. I look for something in rake api ;(. I have join an environment variable name mono to say if it is for mono or regular .NET. so to compile you have to do "rake compile mono=yes" for example For moment, it report an error but I am not sure if I must use gmcs or smcs... Any help and feedback needed to build a good rakefile compatible with mono ;) thanks, 2007/10/13, Cory Foy <Cory.Foy at microsoft.com>:> > Here''s what I was looking for: > > http://www.rubycentral.com/pickaxe/ref_c_file.html > > foyc at dilbert ~ $ irb > irb(main):001:0> puts File::SEPARATOR > / > => nil > > Cory > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] On Behalf Of Sanghyeon Seo > Sent: Friday, October 12, 2007 10:05 PM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows > systems? > > 2007/10/13, Cory Foy <Cory.Foy at microsoft.com>: > > System.IO.Path.DirectorySeparatorChar: > > http://ablog.apress.com/?p=967 > > This is a good advice for .NET, but Rakefile is written in Ruby, so > unrelated to the topic of this thread. > > -- > Seo Sanghyeon > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071013/07f024c4/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Rakefile Type: application/octet-stream Size: 19286 bytes Desc: not available Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20071013/07f024c4/attachment-0001.obj
Jb Evain
2007-Oct-13 12:42 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
On 10/13/07, olivier dufour <olivier.duff at gmail.com> wrote:> For moment, it report an error but I am not sure if I must use gmcs or > smcs...You have to use gmcs to compile the desktop version of IronRuby and smcs to compile the Silverlight version (and define the SILVERLIGHT compilation constant). -- Jb Evain <jb at nurv.fr>
olivier dufour
2007-Oct-13 15:39 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
oki, thanks JB. 2007/10/13, Jb Evain <jb at nurv.fr>:> > On 10/13/07, olivier dufour <olivier.duff at gmail.com> wrote: > > For moment, it report an error but I am not sure if I must use gmcs or > > smcs... > > You have to use gmcs to compile the desktop version of IronRuby and > smcs to compile the Silverlight version (and define the SILVERLIGHT > compilation constant). > > -- > Jb Evain <jb at nurv.fr> > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20071013/e737f385/attachment.html
John Lam (DLR)
2007-Oct-15 16:47 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
olivier dufour:> Subject: Re: [Ironruby-core] Volunteers to fix Rake for non-Windows > systems? > > Ok, It compile. > In fact, Environment is a class of rakefile. I look for something in > rake api ;(. > I have join an environment variable name mono to say if it is for mono > or regular .NET. > so to compile you have to do "rake compile mono=yes" for example For > moment, it report an error but I am not sure if I must use gmcs or > smcs... > Any help and feedback needed to build a good rakefile compatible with > mono ;)Thanks for doing this Olivier! I''ll review and merge your changes in with some others that John Messerly came up with this weekend and check it in. -John
John Lam (DLR)
2007-Oct-15 18:24 UTC
[Ironruby-core] Volunteers to fix Rake for non-Windows systems?
Olivier: after looking at your changes to the Rakefile, most of them fall in the bucket of using File.join() to concatenate pathname elements rather than using a canonical delimiter ''\''. I was under the impression that the pathname2 library would do the correct thing under Linux and convert the ''\'' to ''/''. If that''s not the case perhaps we could fix it in pathname2 rather than drop File.join everywhere in the file? I''m cc''ing Dan Berger on this mail since he wrote the pathname2 library. Dan: I''m attaching Olivier''s Rakefile and the original Rakefile so that you can get better context on this problem. A quick diff should show you exactly what Olivier has done. Thanks! -John -------------- next part -------------- A non-text attachment was scrubbed... Name: Rakefile Type: application/octet-stream Size: 19287 bytes Desc: Rakefile Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20071015/b133dcb4/attachment-0002.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: original_Rakefile Type: application/octet-stream Size: 18165 bytes Desc: original_Rakefile Url : http://rubyforge.org/pipermail/ironruby-core/attachments/20071015/b133dcb4/attachment-0003.obj