Bug 44081 - compilerarg should support ranges
Summary: compilerarg should support ranges
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 13:03 UTC by Martin von Gagern
Modified: 2008-11-24 03:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2007-12-14 13:03:49 UTC
I'm trying to pass -Xlint:all to all Sun compiler versions that support it, i.e.
starting from 1.5 and theoretically for all future versions. Right now I only
can achieve this by specifying several compilerarg values, like javac1.5,
javac1.6 and so on, all with the same value. It would be nice to specify
"javac1.5+" or something like this to mean javac version 1.5 and later. Maybe
you also want limited ranges, like "javac1.5-javac1.7", but I guess once you
have two ends, the alternative of listing all versions becomes acceptable.