Peter Reilly
0036584e2c
make IntrospectionHelper compile under jdk1.2.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276854 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
f16558e639
use copy constructor Simplified copying of Hashtables in propertyhelper.java
PR: 30163
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276852 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1e6b276526
Added searchpath attribute to <exec> for searching path
variables when resolveexecutable = true. Thanks to Stefan
for having already written the path-searching code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276847 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
5e4cb9c6e6
Fixed javadoc for Task#handleErrorFlush
PR: 31153
Obtained from: Jayant Sai
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276843 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
1ddab2c141
add xmlcatalog nested element to the xmlproperty task
PR: 27053
Obtained from: David Crossley and Dave Brondsema
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276840 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
2da1da584d
more to clean up
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276839 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0f723fa82a
Support different output formats in checksum, PR 16539, based on a patch by Mark R. Diggory
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276838 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3c5028e3d0
Doesn't compile on JDK 1.3: IntrospectionHelper.java:1471: method is inherited from org.apache.tools.ant.IntrospectionHelper.NestedCreator and hides variable in outer class createAddTypeCreator(org.apache.tools.ant.Project,java.lang.Object,java.lang.String). An explicit 'this' qualifier must be used to select the desired instance.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276835 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e9930da203
InstantiationException.getCause() not in jdk 1.3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276833 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
81531e4ccc
Root cause of InstantiationException may be null in class.newInstance()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276829 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fc0f7222fb
jikes compiles us now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276828 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
81334a5db0
mark two constants as static.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276826 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
543344b839
add a -cp option to Launcher.java to cause it to
treat CLASSPATH different from -lib options.
PR: 28046
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276820 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
be8d99f40e
javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276817 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
95b8582430
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276815 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Conor MacNeill
f314cb489c
Indicate the message that causes the loop
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276814 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
5dc7ab6629
Let <move> compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276810 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
284174e86e
Refactored Target invocation into org.apache.tools.ant.Executor
implementations.
PR: 21421, 29248
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
84bfc9dabe
Allow <move>'s file attribute to rename a directory.
PR: 22863
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276806 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
12f1e22e1f
Zip task did not create tasks when there are only empty directories in the selection
I have simply added a testcase, the code was already fixed by Matt Benson in Zip.java
revision 1.128
PR: 30365
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276804 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
16904c3c17
reverting previous change
compiler is called weblogic in the documentation
the testcase seems to have been wrong
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276803 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
2885c8cb2d
Change to put in accordance with documentation : compiler name wlrmic, not weblogic ?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276802 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
17841320a3
FTP getTimeDiff was returning wrong value
PR: 30595
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276800 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
d0fe01180d
Provide access to extension points and attribute/element/extensions/text methods in
IntrospectionHelper
PR: 30794
Obtained from: Dominique Devienne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276796 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
6fd0ddc8b8
When searching /usr/local/java/jdk1.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/bodewig/bin:/home/bodewig/dev/xml-forrest/build/dist/shbat//bin, look into user supplied environment first
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276794 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
00fda11947
Log if unable to open a File.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276791 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0f8074d340
Fix bug whereby the first file open was always logged to System.out.
Fix by opening only on demand so that managingTask can be set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276787 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0cb3ae74e2
fix for multiple macro instance use to fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276785 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0e2cfd51d2
<apply> differentiating between empty and up to date broke <classfileset>s.
PR: 30567
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276783 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
5d26c58ca0
Add @since tags to methods introduced in Ant 1.6.2
PR: 30276
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276779 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Conor MacNeill
8c4315b93e
Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276773 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
8b18d1984c
Correct subscripts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276770 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a349a7f732
Use a different way to deal with Mono's "I don't like absolute Unix
path names" feature - change into the directory that holds the WSDL
file and only use the file name.
(1) restores the old signature of setSrcFile
(2) makes XSD include with relative URLs work (and probably WSDL
import as well).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276769 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
74c147ed2a
Make NetCommand#setDirectory actually do something
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276768 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a4e0e85b97
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276766 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
bdedc93fe1
missing license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276765 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
aacbb8e340
Allow DependScanner to use DirectoryScanner's basedir attribute.
PR: 30558
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276763 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
73bea8d87b
test fixup, I still think the csc tests are broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276762 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
ea016c9845
fixed the test failure, added a proper self contained test.
I have commented out the test that asserts that sourceTime==destTime implies up-to-dateness. This is an interesting problem. Filesys granularity gets in the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276761 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
6ecb28f9d3
javadocs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276758 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
18aa085b70
IDE stuck in a GPL license, thinking this was day-job code :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276756 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
Steve Loughran
0a1ffe3fcb
I am still to test this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276754 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
45a286b046
sneak in an explicit test of the new file utils timestamp comparison stuff
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276753 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
24193cb45d
Change output so that it doesn't look as if csc always compiles everything
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276752 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
803fb00df9
These changes will break Stefan's and my work builds, but they are for the better.
1. pull file/url stuff from the main class into another instance of the schema class.
2. added a makeURL flag that turns a file ref in a schema into a URL. v. useful for .net.
3. added a compiler enum and attr that lets you choose compiler. Compilers are microsoft|mono|microsoft-on-mono.
4. renamed parseableerrors to ideErrors.
5. dependency logic uses filesys granularity.
No tests for the compiler stuff, we need to think about how to do that.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276749 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
579a1f76bd
Echo cleanup. Too much duplicate logic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276748 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
b6da0f3f12
1. some factoring out of the timestamp checks for even more reuse. That way the granularity logic can all go in one place.
2. a refactoring of close() to ignore exceptions. I made this static because I want to use it everywhere we close things in a finally clause. NB, note that all four methods would all be unified if the writer/reader/instream/outstream classes had a base class "Closeable" with method void close().
No, I have not refactored everything to use these yet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276747 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
dc808ef696
The ide is fussy, so we dont have to be
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276746 13f79535-47bb-0310-9956-ffa450edef68
21 years ago