John Lam (IRONRUBY)
2008-Aug-15 18:38 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
I made a change that undoes the -recursive:*.cs change that Seo committed earlier. Instead, we continue to parse the *.csproj files to get the list of files to compile, but conditionally convert \ to / only for Mono (there''s an issue in the C# compiler that prevents relative paths from working correctly if they only contain /''s). Thanks, -John -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080815/506a73cf/attachment.html>
Seo Sanghyeon
2008-Aug-16 00:51 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>:> I made a change that undoes the ?recursive:*.cs change that Seo committed > earlier. Instead, we continue to parse the *.csproj files to get the list of > files to compile, but conditionally convert \ to / only for Mono (there''s an > issue in the C# compiler that prevents relative paths from working correctly > if they only contain /''s).It failed miserably because of case-sensitivity of file names. e.g. error CS2001: Source file `Actions/CallAction.cs'' could not be found Where file is actions/CallAction.cs (directory name in lower case) Compilation failed: 201 error(s), 0 warnings -- Seo Sanghyeon
Jim Deville
2008-Aug-16 01:46 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
We could try to run through Dir.glob with the caseinsensitive flag to get the real filenames. Another option is fixing the csproj or files to match case. It''s a shame there isn''t an option for this. JD -----Original Message----- From: Seo Sanghyeon <sanxiyn at gmail.com> Sent: August 15, 2008 5:53 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>:> I made a change that undoes the ?recursive:*.cs change that Seo committed > earlier. Instead, we continue to parse the *.csproj files to get the list of > files to compile, but conditionally convert \ to / only for Mono (there''s an > issue in the C# compiler that prevents relative paths from working correctly > if they only contain /''s).It failed miserably because of case-sensitivity of file names. e.g. error CS2001: Source file `Actions/CallAction.cs'' could not be found Where file is actions/CallAction.cs (directory name in lower case) Compilation failed: 201 error(s), 0 warnings -- Seo Sanghyeon _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Jim Deville
2008-Aug-16 02:32 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Or we could do parsing on C# and recurse on Mono. -----Original Message----- From: Jim Deville <jdeville at microsoft.com> Sent: August 15, 2008 6:48 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? We could try to run through Dir.glob with the caseinsensitive flag to get the real filenames. Another option is fixing the csproj or files to match case. It''s a shame there isn''t an option for this. JD -----Original Message----- From: Seo Sanghyeon <sanxiyn at gmail.com> Sent: August 15, 2008 5:53 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>:> I made a change that undoes the ?recursive:*.cs change that Seo committed > earlier. Instead, we continue to parse the *.csproj files to get the list of > files to compile, but conditionally convert \ to / only for Mono (there''s an > issue in the C# compiler that prevents relative paths from working correctly > if they only contain /''s).It failed miserably because of case-sensitivity of file names. e.g. error CS2001: Source file `Actions/CallAction.cs'' could not be found Where file is actions/CallAction.cs (directory name in lower case) Compilation failed: 201 error(s), 0 warnings -- 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
Michael Letterle
2008-Aug-16 14:03 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Or update the csproj so that the file names are cased correctly for *nix (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will continue to not care. On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com>wrote:> Or we could do parsing on C# and recurse on Mono. > > -----Original Message----- > From: Jim Deville <jdeville at microsoft.com> > Sent: August 15, 2008 6:48 PM > To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly > on mono? > > > We could try to run through Dir.glob with the caseinsensitive flag to get > the real filenames. Another option is fixing the csproj or files to match > case. It''s a shame there isn''t an option for this. > > JD > > > -----Original Message----- > From: Seo Sanghyeon <sanxiyn at gmail.com> > Sent: August 15, 2008 5:53 PM > To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on > mono? > > > 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>: > > I made a change that undoes the ?recursive:*.cs change that Seo committed > > earlier. Instead, we continue to parse the *.csproj files to get the list > of > > files to compile, but conditionally convert \ to / only for Mono (there''s > an > > issue in the C# compiler that prevents relative paths from working > correctly > > if they only contain /''s). > > It failed miserably because of case-sensitivity of file names. e.g. > > error CS2001: Source file `Actions/CallAction.cs'' could not be found > Where file is actions/CallAction.cs (directory name in lower case) > > Compilation failed: 201 error(s), 0 warnings > > -- > 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 > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/846dc430/attachment.html>
Jim Deville
2008-Aug-16 18:24 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
I was just trying to think of something that wouldn''t get messed up again. -----Original Message----- From: Michael Letterle <michael.letterle at gmail.com> Sent: August 16, 2008 7:05 AM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? Or update the csproj so that the file names are cased correctly for *nix (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will continue to not care. On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote: Or we could do parsing on C# and recurse on Mono. -----Original Message----- From: Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> Sent: August 15, 2008 6:48 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> <ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? We could try to run through Dir.glob with the caseinsensitive flag to get the real filenames. Another option is fixing the csproj or files to match case. It''s a shame there isn''t an option for this. JD -----Original Message----- From: Seo Sanghyeon <sanxiyn at gmail.com<mailto:sanxiyn at gmail.com>> Sent: August 15, 2008 5:53 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> <ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com<mailto:jflam at microsoft.com>>:> I made a change that undoes the ?recursive:*.cs change that Seo committed > earlier. Instead, we continue to parse the *.csproj files to get the list of > files to compile, but conditionally convert \ to / only for Mono (there''s an > issue in the C# compiler that prevents relative paths from working correctly > if they only contain /''s).It failed miserably because of case-sensitivity of file names. e.g. error CS2001: Source file `Actions/CallAction.cs'' could not be found Where file is actions/CallAction.cs (directory name in lower case) Compilation failed: 201 error(s), 0 warnings -- Seo Sanghyeon _______________________________________________ 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 _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/4f5fbd24/attachment-0001.html>
Michael Letterle
2008-Aug-16 18:38 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
I was up till 4am last night at eRubyCon, and this is just me thinking outloud.... I''ve had it in my mind to write a msbuild plugin for Rake, instead of maintaining the csproj files directly, how about maintaining them in rake files that can generate csproj files on demand? That way we''re not beholden to VS strong armness? Just a random crazy thought. On Sat, Aug 16, 2008 at 2:24 PM, Jim Deville <jdeville at microsoft.com> wrote:> I was just trying to think of something that wouldn''t get messed up again. > > -----Original Message----- > From: Michael Letterle <michael.letterle at gmail.com> > Sent: August 16, 2008 7:05 AM > To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? > > > Or update the csproj so that the file names are cased correctly for *nix > (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will > continue to not care. > > On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com>wrote: > >> Or we could do parsing on C# and recurse on Mono. >> >> -----Original Message----- >> From: Jim Deville <jdeville at microsoft.com> >> Sent: August 15, 2008 6:48 PM >> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly >> on mono? >> >> >> We could try to run through Dir.glob with the caseinsensitive flag to get >> the real filenames. Another option is fixing the csproj or files to match >> case. It''s a shame there isn''t an option for this. >> >> JD >> >> >> -----Original Message----- >> From: Seo Sanghyeon <sanxiyn at gmail.com> >> Sent: August 15, 2008 5:53 PM >> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly >> on mono? >> >> >> 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>: >> > I made a change that undoes the ?recursive:*.cs change that Seo >> committed >> > earlier. Instead, we continue to parse the *.csproj files to get the >> list of >> > files to compile, but conditionally convert \ to / only for Mono >> (there''s an >> > issue in the C# compiler that prevents relative paths from working >> correctly >> > if they only contain /''s). >> >> It failed miserably because of case-sensitivity of file names. e.g. >> >> error CS2001: Source file `Actions/CallAction.cs'' could not be found >> Where file is actions/CallAction.cs (directory name in lower case) >> >> Compilation failed: 201 error(s), 0 warnings >> >> -- >> 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 >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/2ac67b2c/attachment.html>
Jim Deville
2008-Aug-16 18:57 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
I''d be interested in seeing it. It could be really useful. -----Original Message----- From: Michael Letterle <michael.letterle at gmail.com> Sent: August 16, 2008 11:44 AM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? I was up till 4am last night at eRubyCon, and this is just me thinking outloud.... I''ve had it in my mind to write a msbuild plugin for Rake, instead of maintaining the csproj files directly, how about maintaining them in rake files that can generate csproj files on demand? That way we''re not beholden to VS strong armness? Just a random crazy thought. On Sat, Aug 16, 2008 at 2:24 PM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote: I was just trying to think of something that wouldn''t get messed up again. -----Original Message----- From: Michael Letterle <michael.letterle at gmail.com<mailto:michael.letterle at gmail.com>> Sent: August 16, 2008 7:05 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> <ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? Or update the csproj so that the file names are cased correctly for *nix (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will continue to not care. On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote: Or we could do parsing on C# and recurse on Mono. -----Original Message----- From: Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> Sent: August 15, 2008 6:48 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> <ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? We could try to run through Dir.glob with the caseinsensitive flag to get the real filenames. Another option is fixing the csproj or files to match case. It''s a shame there isn''t an option for this. JD -----Original Message----- From: Seo Sanghyeon <sanxiyn at gmail.com<mailto:sanxiyn at gmail.com>> Sent: August 15, 2008 5:53 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> <ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com<mailto:jflam at microsoft.com>>:> I made a change that undoes the ?recursive:*.cs change that Seo committed > earlier. Instead, we continue to parse the *.csproj files to get the list of > files to compile, but conditionally convert \ to / only for Mono (there''s an > issue in the C# compiler that prevents relative paths from working correctly > if they only contain /''s).It failed miserably because of case-sensitivity of file names. e.g. error CS2001: Source file `Actions/CallAction.cs'' could not be found Where file is actions/CallAction.cs (directory name in lower case) Compilation failed: 201 error(s), 0 warnings -- Seo Sanghyeon _______________________________________________ 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 _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/7d9032b7/attachment.html>
Ben Hall
2008-Aug-16 19:39 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Just so I understand, if I wanted to load the files in Visual Studio, I would run a rake file which would generate me the csproj + sln and launch VS? On Sat, Aug 16, 2008 at 7:38 PM, Michael Letterle <michael.letterle at gmail.com> wrote:> I was up till 4am last night at eRubyCon, and this is just me thinking > outloud.... > > I''ve had it in my mind to write a msbuild plugin for Rake, instead of > maintaining the csproj files directly, how about maintaining them in rake > files that can generate csproj files on demand? That way we''re not beholden > to VS strong armness? > > Just a random crazy thought. > > On Sat, Aug 16, 2008 at 2:24 PM, Jim Deville <jdeville at microsoft.com> wrote: >> >> I was just trying to think of something that wouldn''t get messed up again. >> -----Original Message----- >> From: Michael Letterle <michael.letterle at gmail.com> >> Sent: August 16, 2008 7:05 AM >> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly >> on mono? >> >> Or update the csproj so that the file names are cased correctly for *nix >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will >> continue to not care. >> >> On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com> >> wrote: >>> >>> Or we could do parsing on C# and recurse on Mono. >>> >>> -----Original Message----- >>> From: Jim Deville <jdeville at microsoft.com> >>> Sent: August 15, 2008 6:48 PM >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly >>> on mono? >>> >>> >>> We could try to run through Dir.glob with the caseinsensitive flag to get >>> the real filenames. Another option is fixing the csproj or files to match >>> case. It''s a shame there isn''t an option for this. >>> >>> JD >>> >>> >>> -----Original Message----- >>> From: Seo Sanghyeon <sanxiyn at gmail.com> >>> Sent: August 15, 2008 5:53 PM >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly >>> on mono? >>> >>> >>> 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>: >>> > I made a change that undoes the ?recursive:*.cs change that Seo >>> > committed >>> > earlier. Instead, we continue to parse the *.csproj files to get the >>> > list of >>> > files to compile, but conditionally convert \ to / only for Mono >>> > (there''s an >>> > issue in the C# compiler that prevents relative paths from working >>> > correctly >>> > if they only contain /''s). >>> >>> It failed miserably because of case-sensitivity of file names. e.g. >>> >>> error CS2001: Source file `Actions/CallAction.cs'' could not be found >>> Where file is actions/CallAction.cs (directory name in lower case) >>> >>> Compilation failed: 201 error(s), 0 warnings >>> >>> -- >>> 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 >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> >> -- >> Michael Letterle >> [Polymath Prokrammer] >> http://blog.prokrams.com >> >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >
Michael Letterle
2008-Aug-16 19:47 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
You could yes, my assumption would be that pregenerated csproj + sln files would be there already though for people that don''t have a ruby installation already. On Sat, Aug 16, 2008 at 3:39 PM, Ben Hall <ben2004uk at googlemail.com> wrote:> Just so I understand, if I wanted to load the files in Visual Studio, > I would run a rake file which would generate me the csproj + sln and > launch VS? > > On Sat, Aug 16, 2008 at 7:38 PM, Michael Letterle > <michael.letterle at gmail.com> wrote: > > I was up till 4am last night at eRubyCon, and this is just me thinking > > outloud.... > > > > I''ve had it in my mind to write a msbuild plugin for Rake, instead of > > maintaining the csproj files directly, how about maintaining them in rake > > files that can generate csproj files on demand? That way we''re not > beholden > > to VS strong armness? > > > > Just a random crazy thought. > > > > On Sat, Aug 16, 2008 at 2:24 PM, Jim Deville <jdeville at microsoft.com> > wrote: > >> > >> I was just trying to think of something that wouldn''t get messed up > again. > >> -----Original Message----- > >> From: Michael Letterle <michael.letterle at gmail.com> > >> Sent: August 16, 2008 7:05 AM > >> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > >> Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly > >> on mono? > >> > >> Or update the csproj so that the file names are cased correctly for *nix > >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will > >> continue to not care. > >> > >> On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com> > >> wrote: > >>> > >>> Or we could do parsing on C# and recurse on Mono. > >>> > >>> -----Original Message----- > >>> From: Jim Deville <jdeville at microsoft.com> > >>> Sent: August 15, 2008 6:48 PM > >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds > correctly > >>> on mono? > >>> > >>> > >>> We could try to run through Dir.glob with the caseinsensitive flag to > get > >>> the real filenames. Another option is fixing the csproj or files to > match > >>> case. It''s a shame there isn''t an option for this. > >>> > >>> JD > >>> > >>> > >>> -----Original Message----- > >>> From: Seo Sanghyeon <sanxiyn at gmail.com> > >>> Sent: August 15, 2008 5:53 PM > >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds > correctly > >>> on mono? > >>> > >>> > >>> 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>: > >>> > I made a change that undoes the ?recursive:*.cs change that Seo > >>> > committed > >>> > earlier. Instead, we continue to parse the *.csproj files to get the > >>> > list of > >>> > files to compile, but conditionally convert \ to / only for Mono > >>> > (there''s an > >>> > issue in the C# compiler that prevents relative paths from working > >>> > correctly > >>> > if they only contain /''s). > >>> > >>> It failed miserably because of case-sensitivity of file names. e.g. > >>> > >>> error CS2001: Source file `Actions/CallAction.cs'' could not be found > >>> Where file is actions/CallAction.cs (directory name in lower case) > >>> > >>> Compilation failed: 201 error(s), 0 warnings > >>> > >>> -- > >>> 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 > >>> _______________________________________________ > >>> Ironruby-core mailing list > >>> Ironruby-core at rubyforge.org > >>> http://rubyforge.org/mailman/listinfo/ironruby-core > >> > >> > >> > >> -- > >> Michael Letterle > >> [Polymath Prokrammer] > >> http://blog.prokrams.com > >> > >> > >> > >> _______________________________________________ > >> Ironruby-core mailing list > >> Ironruby-core at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/ironruby-core > >> > > > > > > > > -- > > Michael Letterle > > [Polymath Prokrammer] > > http://blog.prokrams.com > > > > > > > > _______________________________________________ > > 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 >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/c887d68b/attachment.html>
Ben Hall
2008-Aug-16 19:48 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
That''s the way I hoped it would work after clicking send ;) On Sat, Aug 16, 2008 at 8:47 PM, Michael Letterle <michael.letterle at gmail.com> wrote:> You could yes, my assumption would be that pregenerated csproj + sln files > would be there already though for people that don''t have a ruby installation > already. > > On Sat, Aug 16, 2008 at 3:39 PM, Ben Hall <ben2004uk at googlemail.com> wrote: >> >> Just so I understand, if I wanted to load the files in Visual Studio, >> I would run a rake file which would generate me the csproj + sln and >> launch VS? >> >> On Sat, Aug 16, 2008 at 7:38 PM, Michael Letterle >> <michael.letterle at gmail.com> wrote: >> > I was up till 4am last night at eRubyCon, and this is just me thinking >> > outloud.... >> > >> > I''ve had it in my mind to write a msbuild plugin for Rake, instead of >> > maintaining the csproj files directly, how about maintaining them in >> > rake >> > files that can generate csproj files on demand? That way we''re not >> > beholden >> > to VS strong armness? >> > >> > Just a random crazy thought. >> > >> > On Sat, Aug 16, 2008 at 2:24 PM, Jim Deville <jdeville at microsoft.com> >> > wrote: >> >> >> >> I was just trying to think of something that wouldn''t get messed up >> >> again. >> >> -----Original Message----- >> >> From: Michael Letterle <michael.letterle at gmail.com> >> >> Sent: August 16, 2008 7:05 AM >> >> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> >> Subject: Re: [Ironruby-core] r132 - can you check if it builds >> >> correctly >> >> on mono? >> >> >> >> Or update the csproj so that the file names are cased correctly for >> >> *nix >> >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows >> >> will >> >> continue to not care. >> >> >> >> On Fri, Aug 15, 2008 at 10:32 PM, Jim Deville <jdeville at microsoft.com> >> >> wrote: >> >>> >> >>> Or we could do parsing on C# and recurse on Mono. >> >>> >> >>> -----Original Message----- >> >>> From: Jim Deville <jdeville at microsoft.com> >> >>> Sent: August 15, 2008 6:48 PM >> >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds >> >>> correctly >> >>> on mono? >> >>> >> >>> >> >>> We could try to run through Dir.glob with the caseinsensitive flag to >> >>> get >> >>> the real filenames. Another option is fixing the csproj or files to >> >>> match >> >>> case. It''s a shame there isn''t an option for this. >> >>> >> >>> JD >> >>> >> >>> >> >>> -----Original Message----- >> >>> From: Seo Sanghyeon <sanxiyn at gmail.com> >> >>> Sent: August 15, 2008 5:53 PM >> >>> To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> >> >>> Subject: Re: [Ironruby-core] r132 - can you check if it builds >> >>> correctly >> >>> on mono? >> >>> >> >>> >> >>> 2008/8/16 John Lam (IRONRUBY) <jflam at microsoft.com>: >> >>> > I made a change that undoes the ?recursive:*.cs change that Seo >> >>> > committed >> >>> > earlier. Instead, we continue to parse the *.csproj files to get the >> >>> > list of >> >>> > files to compile, but conditionally convert \ to / only for Mono >> >>> > (there''s an >> >>> > issue in the C# compiler that prevents relative paths from working >> >>> > correctly >> >>> > if they only contain /''s). >> >>> >> >>> It failed miserably because of case-sensitivity of file names. e.g. >> >>> >> >>> error CS2001: Source file `Actions/CallAction.cs'' could not be found >> >>> Where file is actions/CallAction.cs (directory name in lower case) >> >>> >> >>> Compilation failed: 201 error(s), 0 warnings >> >>> >> >>> -- >> >>> 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 >> >>> _______________________________________________ >> >>> Ironruby-core mailing list >> >>> Ironruby-core at rubyforge.org >> >>> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> >> >> >> >> >> -- >> >> Michael Letterle >> >> [Polymath Prokrammer] >> >> http://blog.prokrams.com >> >> >> >> >> >> >> >> _______________________________________________ >> >> Ironruby-core mailing list >> >> Ironruby-core at rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> > >> > >> > >> > -- >> > Michael Letterle >> > [Polymath Prokrammer] >> > http://blog.prokrams.com >> > >> > >> > >> > _______________________________________________ >> > 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 > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >
Charles Oliver Nutter
2008-Aug-16 20:56 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Michael Letterle wrote:> Or update the csproj so that the file names are cased correctly for *nix > (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will > continue to not care.To be honest, I call bug on whatever tool creates and maintains the csproj files. - Charlie
Curt Hagenlocher
2008-Aug-17 00:23 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
>From Charles Oliver Nutter at Saturday, August 16, 2008 1:57 PM: > > Michael Letterle wrote: >> Or update the csproj so that the file names are cased correctly for *nix >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will >> continue to not care. > > To be honest, I call bug on whatever tool creates and maintains the > csproj files.It''s not necessarily that straightforward. If the file were renamed outside of the IDE and the new name differed only by case, there would be no reason for the IDE to update the csproj file automatically. ...and if we''re going to be strictly pedantic, casing isn''t an OS thing -- it''s an FS thing :P -- Curt Hagenlocher curth at microsoft.com
Michael Letterle
2008-Aug-17 00:29 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
It''s not that simple in the Windows world. NTFS is actually case sensitive, but the OS and tooling doesn''t really support it well: http://support.microsoft.com/kb/100625 On Sat, Aug 16, 2008 at 8:23 PM, Curt Hagenlocher <curth at microsoft.com>wrote:> >From Charles Oliver Nutter at Saturday, August 16, 2008 1:57 PM: > > > > Michael Letterle wrote: > >> Or update the csproj so that the file names are cased correctly for *nix > >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will > >> continue to not care. > > > > To be honest, I call bug on whatever tool creates and maintains the > > csproj files. > > It''s not necessarily that straightforward. If the file were renamed > outside of the IDE and the new name differed only by case, there would be no > reason for the IDE to update the csproj file automatically. > > ...and if we''re going to be strictly pedantic, casing isn''t an OS thing -- > it''s an FS thing :P > > -- > Curt Hagenlocher > curth at microsoft.com > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/04626ca4/attachment.html>
Curt Hagenlocher
2008-Aug-17 00:40 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Ah right, I had forgotten entirely about the POSIX subsystem (gee, I can''t imagine why). The NT kernel fully supports case-sensitive file names, but the Win32 subsystem mucks it up. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle Sent: Saturday, August 16, 2008 5:29 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] r132 - can you check if it builds correctly on mono? It''s not that simple in the Windows world. NTFS is actually case sensitive, but the OS and tooling doesn''t really support it well: http://support.microsoft.com/kb/100625 On Sat, Aug 16, 2008 at 8:23 PM, Curt Hagenlocher <curth at microsoft.com<mailto:curth at microsoft.com>> wrote:>From Charles Oliver Nutter at Saturday, August 16, 2008 1:57 PM: > > Michael Letterle wrote: >> Or update the csproj so that the file names are cased correctly for *nix >> (note that the casing isn''t a MONO thing, it''s a OS thing), Windows will >> continue to not care. > > To be honest, I call bug on whatever tool creates and maintains the > csproj files.It''s not necessarily that straightforward. If the file were renamed outside of the IDE and the new name differed only by case, there would be no reason for the IDE to update the csproj file automatically. ...and if we''re going to be strictly pedantic, casing isn''t an OS thing -- it''s an FS thing :P -- Curt Hagenlocher curth at microsoft.com<mailto:curth at microsoft.com> _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080816/79b7937a/attachment.html>
John Lam (IRONRUBY)
2008-Aug-18 14:00 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Ben Hall:> Just so I understand, if I wanted to load the files in Visual Studio, I > would run a rake file which would generate me the csproj + sln and > launch VS?Nope. The files in the distribution have the correct layout. The Rakefile is only used by us to transform our internal dir layout into the external-facing one. Thanks, -John
John Lam (IRONRUBY)
2008-Aug-18 14:04 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
Michael Letterle:> I was up till 4am last night at eRubyCon, and this is just me thinking > outloud.... > > I''ve had it in my mind to write a msbuild plugin for Rake, instead of > maintaining the csproj files directly, how about maintaining them in > rake files that can generate csproj files on demand? That way we''re > not beholden to VS strong armness? > > Just a random crazy thought.I don''t think this would really work in practice, since files are added by folks who use the IDE all the time. Thanks, -John
Michael Letterle
2008-Aug-18 14:29 UTC
[Ironruby-core] r132 - can you check if it builds correctly on mono?
The assumption would be that the project layouts don''t change that often, certainly less often the the cs files which is what is really being maintained in the IDE most of the time. On Mon, Aug 18, 2008 at 10:04 AM, John Lam (IRONRUBY) <jflam at microsoft.com>wrote:> Michael Letterle: > > > I was up till 4am last night at eRubyCon, and this is just me thinking > > outloud.... > > > > I''ve had it in my mind to write a msbuild plugin for Rake, instead of > > maintaining the csproj files directly, how about maintaining them in > > rake files that can generate csproj files on demand? That way we''re > > not beholden to VS strong armness? > > > > Just a random crazy thought. > > I don''t think this would really work in practice, since files are added by > folks who use the IDE all the time. > > Thanks, > -John > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080818/3ecc037d/attachment-0001.html>