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
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9c8768b75b
checkstyle changes
Obtained from: Kev Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277119 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
85f05e8b8d
more tests; 'default' compiler and "" has a well defined behaviour.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276757 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fdf4bba148
rmic gets a fork option.
Most of the changes here are actually adding tests, which was surprisingly hard work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276755 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
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
Peter Reilly
d66074dfdd
next set of typo corrections by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275240 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
24eb5693d6
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274859 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1d1f2da180
Import cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274483 13f79535-47bb-0310-9956-ffa450edef68
22 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
59ae8f7485
cvs up -dP --pedantic-copyrigt-check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273875 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
50ab376294
Add support for Package information to the ClassLoader
Rather than using reflection I have created a JDK 1.2+ specific
subclass of the AntClassLoader. This has necessitated replacing
direct construction of the classloader with a factory method in
Project. This factory method will attempt to create the new
class loader dynamically and then fall back to the current version if
the new loader is not available.
Existing users who construct the classloader directly will continue to
work as at Ant 1.5 - i.e. no package information is created. All Ant
code (except classloader) uses the new factory method
PR: 11196
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273874 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c4e987aea8
Merge fix from 1.5 branch.
PR: 5781 and 11630
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273312 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
23 years ago
Jon Skeet
c97bf5babb
Fixed up JavaDocs (where possible) to remove warnings (mostly about breakiterator).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273159 13f79535-47bb-0310-9956-ffa450edef68
23 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
23 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
23 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
23 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
23 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
23 years ago
Stefan Bodewig
e79b77b82b
Add compiler attribute and nested <compilerarg> element to <rmic>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272440 13f79535-47bb-0310-9956-ffa450edef68
23 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
23 years ago
Stefan Bodewig
5db106732c
Make sure <rmic> resets its internal state even in exceptional
situations.
Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272399 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e390c09b6e
Really move the generated java files in rmic.
PR: 5781
Fixed some minor stuff in DefaultRmicAdapter while I was at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272331 13f79535-47bb-0310-9956-ffa450edef68
23 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
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
Stephane Bailliez
b75abffe30
Fix array declarators
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270900 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
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f60ca231a1
Don't delete generated files if sourcebase and basedir happen to be
the same.
PR: 2943
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6440b64b5a
Changes to rmic based on discussion with Rob van Oostrum
<rvanoostrum@ezgov.com> and Larry V. Streepy, Jr.
<streepy@healthlanguage.com> on the ant-user mailing list:
(1) don't even try to perform uptodate checks for IDL mode or when the
-always(generate) option for IIOP mode has been specified
(2) ignore -keepgenerated in IDL mode (we don't know what to keep)
(3) use the correct target file names in IIOP mode.
PR: 1625
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269263 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
68fb37b1a2
Some initial work on rmic to make it handle -iiop better (doesn't
detect generated files properly) - doesn't quite work ATM.
Add some extra warning and debugging info to Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
06e57b190f
chop .class at the end, not somewhere in the middle.
PR: 1124
Submitted by: mstover1@apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268888 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ff38a6188b
Add support for Weblogic's rmic.
PR: 959
Submitted by: Takashi Okamoto <toraneko@kun.ne.jp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268860 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
bc27fce2a4
Fix for NPE when getClasspath is called before setRmic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268855 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
5cc29f61e6
Make <rmic> a factory task just like <javac> already is. Support
Kaffe's rmic.
Submitted by: Takashi Okamoto <toraneko@kun.ne.jp>
Catch arbitrary Exceptions thrown when trying to verify a class.
PR: 222
Support extdirs.
PR: 893
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268852 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
5c1e42a954
Added debug-attribute to rmic (Bug #224 )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268580 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
320a0390be
Propagate Sam's build.sysclasspath magic to <rmic> as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268424 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
758b225e9a
Various changes to <rmic>.
* uses home brewed FileNameMapper that will do verifications as well.
* improved logging - includes redirecting the rmic output.
* It won't try to compare the timestamp of the file to compile with
some corresponding _Skel file anymore if stub version is 1.2. This bug
resulted in all files being rmic'd on every pass - reported by Elardus
Viljoen <elv@ucs.co.za> on ant-user.
* Doesn't require you build directory to be in the CLASSPATH to use
the verify feature anymore. This has been reported by somebody, but
I've forgotten the name, sorry.
* Improved some setter methods to accept File arguments and use
Commandline instead of a String[] of precalculated size.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268267 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a13422639a
Added IIOP and IDL options to <rmic>
Submitted by: John Moore <JohnMoore@PDSI-Software.COM>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268262 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ff810113da
Removed all nested <classpathref> elements in favor of <classpath
refid="...">.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267970 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
23f7147dc6
Removed class attributes of <available>, <rmic> and <taskdef>.
Nothing that has been deprecated in Ant 1.1 should be left over now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267921 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c32873b519
Added nested elements and attributes to reference CLASSPATH structures
defined at another place in the same project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267896 13f79535-47bb-0310-9956-ffa450edef68
25 years ago