Stefan Bodewig
a39b8f902e
Removed too much with my last patch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276967 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a245b4e9e6
compiler attributes is used to determine command line arguments even in the fork case, this warning is misleading. PR: 31664
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276961 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cc9f4f71f5
Be a little more defensive in a protected method of a non-final public class, PR 26737
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
636efd4eb0
Very initial JDK 1.5 support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275868 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
08084b4e5c
Next round of typo fixes by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275242 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a37c2ec1dd
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275056 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
60f4887526
Style and remove one stray debug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274848 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f0c61ad2f5
<javac>'s executable attribute can now also be used to specify the
executable for jikes, jvc, sj or gcj.
PR: 13814
<javac> has a new attribute tempdir that can control the placement of
temporary files.
PR: 19765
A new magic property build.compiler.jvc.extensions has been added that
can be used to turn of Microsoft extensions while using the jvc
compiler.
PR: 19826
Submitted by: Joseph Walton <joe at kafsemo dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274584 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
5698e6e909
Suppress "ignoring compiler setting" warning in javac if the user
hasn't set the compiler.
PR: 13246
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273402 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
55811ba73b
Decide whether javac will be invoked with -depend od -Xdepend on the
compiler attribute rather than the current JDK (falling back to
assuming the current JDK if compiler has not been specified).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272509 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6bc9693c3c
Ongoing Javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272495 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9a82620775
Javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272455 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
afc4cfd1c3
Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272445 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
80080d456c
Reduce a small number of long lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
03d0b81deb
Order of modifiers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b602ec2cb
Factor some facade task support stuff out from <javac>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272438 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c6c232893c
Various coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d95bfb6e60
cosmetics on the <javac> family - I didn't really read the code for
the various adapters as reworking part of them is on my TODO list anyway.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272379 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d42faeefd8
New utility class that deals with the specifics of a Java
installation:
* Moved JVM version detection code from Project to the new class.
* Unified the "find executable" methods and factored them into the new
class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272069 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a94e3de322
Rename the attribute of <javac>'s <compilerarg> from implementation to
compiler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
fc7e3b1fd4
revert <javac>'s fork attribute to a true boolean and add executable
attribute to set the path to the compiler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272016 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
eb81bd4f4e
Make detection system for java|javac|javadoc fallback to *.exe instead
of * on dos based systems.
PR: 7117
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271929 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
bc47be3b76
Change the failed message to something (hopefully) a bit more clear.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271902 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
dd2124bdb1
Add new 'listfiles' attribute to allow for listing the source files being
handed off to the compiler.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271591 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
466a2a978f
some typos.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271363 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
022ed20a99
Add compiler attribute to <javac> that allows users to override
build.compiler on a task by task basis.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271362 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
271c73b91c
Allow -sourcepath for <javac> to be set explicitly.
PR: 5268
Submitted by: Alex Rosen <arosen@silverstream.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271351 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d8169cab92
split execute in <javac> to make it easier to extend.
Sugested by: Misha Dmitriev <Mikhail.Dmitriev@eng.sun.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c2cab1b69c
- Fix unnecessary cast
- Fix array declarators
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270892 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
33bc8da118
Change the methods that try to locate JDK tools to work on AIX with
IBM's JDK 1.2 as well.
@todo refactor into a single method somewhere
PR: 5541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270667 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f7def885dd
Added a protected method "recreateSrc" to help task writers who extend
Javac.
PR: 3703
Based on Submission by: bmoriarty@polexis.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270090 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
17e5ca8721
Convert tabs to spaces...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270031 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
5aae1b3e8d
Erik's big javadoc fixup, bugzilla ID #4992
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269989 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
072028843a
New debuglevel attribute for Javac - will be used only when the modern
complier is used.
PR: 4127
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269971 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a66a2b7f86
Add testcases for latest <javac> changes, fix some problem with some
rare combination of the fork attribute and build.compiler settings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269879 13f79535-47bb-0310-9956-ffa450edef68
24 years ago