Stefan Bodewig
bd0759d943
try to adapt to Java10+ rapidly changing major versions
8 years ago
Gintas Grigelionis
572a249025
Checkstyle: mostly whitespace (cf master)
8 years ago
Stefan Bodewig
c1bbf2fc0c
add support for Java9's javac --release
https://bz.apache.org/bugzilla/show_bug.cgi?id=60172
9 years ago
Stefan Bodewig
ee85859ea0
add support for javac -h
https://bz.apache.org/bugzilla/show_bug.cgi?id=59905
9 years ago
Stefan Bodewig
625d3d371f
nobody is going to call Java 9 1.9 anymore
https://bz.apache.org/bugzilla/show_bug.cgi?id=59863
9 years ago
Stefan Bodewig
11cd7ffab4
Java6ism
9 years ago
Stefan Bodewig
b2558bc972
some cosmetic changes
9 years ago
Tomas Zezula
7bd7ed44b9
Removed misleading comment. The sourcepath and modulesourcepath cannot be combined.
10 years ago
Tomas Zezula
83eaf48045
Added modulepath, modulesourcepath and upgrademodulepath into Javac task.
10 years ago
Stefan Bodewig
db2254973c
update some comments
11 years ago
Stefan Bodewig
df33426bf2
whitespace
11 years ago
Jan Matèrne
1b76f1b6da
checkstyle
11 years ago
Jan Materne
bed22b00f7
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Jan Materne
4c0b73f726
detect Java9
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585981 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jacobus Martinus Kruithof
6b7bc9e535
Bug 53291 - Several spell checker findings in apache ant 1.8.3 documentation
-- api --
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1342897 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Stefan Bodewig
132fb32522
OpenJDK8 snaphot works, I have found a new class in java.lang.reflect and OpenJDK's javac defaults to -source 8. No, I don't like the code in DefaultCompilerAdapter either.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1236803 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6923618f30
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1190244 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5ecf92bf58
add an option to suppress the artifical package-info.class files created by <javac>. PR 52096
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1190243 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
28c651a95a
Empty package-info.class is created in wrong directory if no destdir is specified. PR 51947
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1178820 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
0c6703e412
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040173 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
4a07176abb
support sources with extensions other than .java in javac. Submitted by Andrew Eisenberg. PR 48829.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040170 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
40e298139f
fixup -source for OpenJDK7's javac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037667 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Jan Materne
da109667b5
typo; thanks to Jean-Baptiste Nivoit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@940377 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c767541c7d
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
58f0bb04db
if user input is compared to fixed strings in a case insensitive manner we should use the default locale. Use Locale.ENGLISH consistently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910955 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
96932a3c78
compiler adapter as nested element in javac, rmic, native2ascii and javah. Document package-info.java stuff in javac manual page.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@811376 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
efd287b871
More cleanup of pre-1.4 code and docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808163 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c5a945fe3c
Allow users to specify a classpath when using a custom adapter in javac, rmic, javah or native2ascii. PR 11143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796188 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
82ae2eb245
Issue a warning in case neither includeantruntime nor build.sysclasspath were set,
since the default gives scripts an implicit environmental dependency which is often unwanted.
See also: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=158958
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789479 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ae70a9608b
JDK 1.4 - unfortunately
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@744132 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
bba4624fac
#43114 : ensuring that package-info.class is created/touched when package-info.java is compiled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@743910 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
130b9317ef
support source/target on gcj. PR 46617. Based on patch by Paweł Zuzelski
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738761 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
35d8c0ef94
remove duplicate code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@693732 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
3ca7e297fd
Missing space between clauses.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@600702 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
51a68c6ece
trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
eaa4b86d6b
Bugzilla 43114: package-info.java repeatedly compiled
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568503 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
424bee292b
checkstyle: remove trailing ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564891 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b83cd5bb71
Bugzilla: 40776 work-around for javac generics bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@558058 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
56956979d8
add updated and error property attributes to the javac task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490751 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
fe678d1937
roll back deprecation of Project.resolveFile, revert prior changes to code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417126 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
4f2ff64361
use fileutils.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414442 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
eeda02e875
provide magic properties to control javac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393282 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
f5f6982c88
Refactored translatePath from Project to FileUtils.
Project now also fails with explicit message on java 1.1.
Added javadoc comment for the ant.java.version property
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@388814 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
b1c63b2dee
preliminary Mustang support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@382927 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
f6af37217e
PR 37546:
Use alternative names for the compiler argument line.
(If modern is specified in javac and javac1.5 is used,
and for javac1.5 a command line is specified, but no
command line is specified for modern, the javac1.5
command line will be used, if no javac has been specified
and javac 1.4 is used and a comman line is specified for
modern, the command line specified for modern will be used,
etc.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@345766 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
704e2490d3
removed lines with $Revision: x.y $ lines (after verification)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277845 13f79535-47bb-0310-9956-ffa450edef68
21 years ago