You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/10/05 23:25:43 UTC

DO NOT REPLY [Bug 51970] New: request csc task use dmcs vs gmcs compiler

https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

             Bug #: 51970
           Summary: request csc task use dmcs vs gmcs compiler
           Product: Ant
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Other
        AssignedTo: notifications@ant.apache.org
        ReportedBy: jonathan.shore@gmail.com
    Classification: Unclassified


The mono gmcs compiler does not support later version of the C# standard (such
as C# 4.0).  <csc> should now call the dmcs compiler which embodies C# 2.0 -
4.0 standards.

I was unable to build C# v4.0 source code or use v4.0 libraries with the
current implementation.  I made a local adjustment to the CSharp.java class to
use dmcs instead of gmcs, and all is fine.

Please consider for the next release.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

--- Comment #2 from Jonathan Shore <jo...@gmail.com> 2011-10-07 12:46:42 UTC ---
Thanks I did not realize that there was a tag for executable as could not find
the docs for csc on the web (though now can see in the source distribution).  
Is csc deprecated?   Is the idea with apache-ant-dotnet to delegate to nant
where possible?   Hope that csc remains with the project, as prefer to use ant
over nant.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

--- Comment #5 from Stefan Bodewig <bo...@apache.org> ---
with git commit 3d7ce89 the task defaults to dmcs now.

Please remove the links from the last comment or I'll be forced to delete the
whole comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

--- Comment #4 from blog <ed...@yahoo.com> ---
I was unable to build C# v4.0 source code or use v4.0 libraries with the
current implementation.  I made a local adjustment to the CSharp.java class to
use dmcs instead of gmcs, and all is fine.

http://sett.com/trends
http://trends.postach.io/

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other                       |.NET Antlib
            Version|unspecified                 |1.1

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2011-10-07 04:10:40 UTC ---
On my Ubuntu 10.4 box with the default Mono installed (2.6) there is no dmcs. 
Yes I know this is not exactly the latest version of Mono.

In either case we'd either need to autodetect whether dmcs is there or let the
user chose explicitly using a new attribute.  The later actually already is
there, you should be able to set the executable attribute.

I'd be willing to change the default for Mono to dmcs in the next release.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51970] request csc task use dmcs vs gmcs compiler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51970

--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2011-10-07 14:03:32 UTC ---
We have decided to move the .NEt tasks out of the main distribution into a
separate jar that can have an independent release cycle long ago.

The .NET Antlib contains csc and other tasks and isn't going away anytime soon
- even though it is very light on development as not many people use Ant for
.NET stuff.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.