[Ironruby-core] r132 - can you check if it builds correctly on mono?

Jim Deville jdeville at microsoft.com
Sat Aug 16 14:24:36 EDT 2008


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>


More information about the Ironruby-core mailing list