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 2009/01/28 12:58:09 UTC
DO NOT REPLY [Bug 46617] New: support for "source" attribute for
javac with build.compiler=gcj
https://issues.apache.org/bugzilla/show_bug.cgi?id=46617
Summary: support for "source" attribute for javac with
build.compiler=gcj
Product: Ant
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: enhancement
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: pzz@touk.pl
Created an attachment (id=23186)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23186)
support for "source" attribute for javac with build.compiler=gcj
When build.compiler is set to gcj, ant ignores "source" attribute, so it is not
possible to compile code compatibile with java < 1.5 with gcj using ant.
I have attached a simple patch for ant-1.7.1 sources that fixes it. Please
consider applying this patch to ant sources.
--
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 46617] support for "source" attribute for javac
with build.compiler=gcj
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46617
--- Comment #3 from Paweł Zuzelski <pz...@touk.pl> 2009-01-28 09:17:05 PST ---
(In reply to comment #1)
> Do you know which version of gcj was/is the first to support -source?
>
If I understand gcc/java/ChangeLog correctly, this "-fsource" option was
introduced 2006-06-04. That means the first release that supports this option
is GCC 4.0.4. But I am not sure.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 46617] support for "source" attribute for javac
with build.compiler=gcj
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46617
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |notifications@ant.apache.org
AssignedTo|notifications@ant.apache.org|bodewig@apache.org
Target Milestone|1.7.1 |1.8.0
Version|unspecified |1.7.1
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-01-28 08:50:13 PST ---
Do you know which version of gcj was/is the first to support -source?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
DO NOT REPLY [Bug 46617] support for "source" attribute for javac
with build.compiler=gcj
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46617
--- Comment #2 from Paweł Zuzelski <pz...@touk.pl> 2009-01-28 08:53:59 PST ---
(In reply to comment #1)
> Do you know which version of gcj was/is the first to support -source?
>
No, I don't know. I use 4.3.2.
BTW in gcj it is "-fsource" not "-source"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 46617] support for "source" attribute for javac
with build.compiler=gcj
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46617
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Stefan Bodewig <bo...@apache.org> 2009-01-28 21:24:30 PST ---
committed as svn revision 738761 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=738761 )
I've also added support for -ftarget while I was at it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.