Peter Donald
58257e4ff6
If property is already set then generate a warning or an exception - dont try to chekc if it is valid.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272625 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0da1740420
Weblogic 7 updates
Document ejbcclass attribute
PR: 7871
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272623 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1fbf24c615
Add in a resolver task.
The resolver takes an extension and a set of operations that can be
used to get library coresponding to specified extension. The task
will run through each operation until required extension is found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272622 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ee9c04c4a7
Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
31b4b70310
Removed some bogus javadocs that were errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272620 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
246d805fab
Fix javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272619 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e9a96d595f
Renamed msg --> message so that advanced editors can correctly deduce
a variable name that is not abreviated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272618 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
af5ed86d3b
Pass the classpath in the -classpath argument. This is required when the weblogic
classpath is used.
PR: 6931
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272617 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3137430716
A sourcepath without package names is a no-op now (again).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272616 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
880c151f68
Fix-up of JavaDocs for filters (and a couple of style fixes too).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272615 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9db5bc1b03
Write a task to test availability of specific extension
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272614 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e4538b636d
Add task that will generate manifest that declares
* extensions "exported"
* required dependencies
* optional dependencies
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272613 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
805141ce3c
Register libfileset as a datatype
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272612 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
420e7ff2b3
Moved getManifest method to ExtensionUtil to make method usable from other locaitons
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272611 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
77748a0668
my, isnt the java1.4 javadoc fussy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272607 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aa639f0058
Register task that displays extensions in particular files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272605 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
469f4fa753
Register new extension types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272604 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bc214e817e
Added in two datatypes;
* ExtensionSet: (Contains set of extensions - oh der)
* LibFileSet: allows you to extract a list of extensions from a fileset. It also allows you to explicitly pick certain features to include in extension set (ie don't include implementation attributes or url attributes unless explicitly required)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272603 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6ab926ae04
Added brackets to make toString omre readable when multiple extensions printed out.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272602 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
49bc4e2af1
Make sure can not set attributes if is a reference datatype
add a nicer toString method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272601 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a96d884519
now you get:
Compiler Adapter 'false' can't be found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272598 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
c4b2350658
because a screwed up build.compiler only gives an error message like "false can't be found."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272596 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
04f4f5364c
Even though the enthusiasm (even to just vote) was a bit, ahem,
underwhelming, at least there weren't any overwhelming objections,
so...
Add the <do> task.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272595 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
9a344e3b98
make it explicit that BuildExceptions can be thrown, even though its not necessary.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272593 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
b717d55f3d
fix line length issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272592 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44f87d3ac9
Diane has volunteered me, errm, I mean, remove dest if <get> fails.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272590 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
df6e16ab5f
Make sure dest file is only created if URL can be opened
PR: 8575
and make sure the output file gets closed in case of an error, while
we are at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272588 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c34b9ee41b
Improve equals implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272587 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
6d54725ac9
DynamicConfigurator - allows tasks themselves to handle unknown elements and attributes rather than being constrained by the IntrospectionHelper rules.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272586 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
7aaf095c51
task to create a temporary filename in a property; docs and tests to follow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272585 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
adf4a3188c
adding example of usage. patch submitted by Nick Chalko
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272584 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9fe0f5be4e
Directory based <javadoc>.
Two new nested elements, <packageset> and <fileset>. <packageset> is
a DirSet that points to directories which get translated into packages
if they contain .java sources, <fileset> points to sourcefiles.
<packageset> based on a patch by Daniel Ritchey <ritchey_49@hotmail.com>.
<fileset> allows you to select files in the default package as well.
PR: 6433
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272583 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c1c1f4fcff
New dir attribute for <patch>
Submitted by: Thanou Thirakul <thanou@intelliware.ca>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272581 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7415c32c47
PR 8521 - fix for exception for long task names provided by Jason Schuchert.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272578 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
600b5034c2
PR 8429 patch submitted by Nick Chalko - enables SQL tasks to be easily created using a common abstract base class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272577 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
49158367a7
Fix compilation issue.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272575 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
eab33d1169
Made the purpose of the no-arg constructor more obvious.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272574 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
233ae85c5f
Don't tell people we'd execute a given command line when we really do
something completely different.
I hope this will cut down the "Ant swallows my quotes" reports to
those that are real problems in Ant and not just problems of
communication.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272573 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
df9c83121d
Double doh - don't append the first character twice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272567 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
8585c04348
Doh - use @exception , not @throws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272565 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
a33d29c589
Fixed up JavaDocs, improved efficiency of readLine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272564 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e2e194c854
Make sure generic jar is not help open by loader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272563 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ccef0f8982
Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
8dd98fa0cb
add date header. patch from PR #7851 by Kevin Grey
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272560 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
b868e985c2
Commons Logging listener
Gump alert: to get this built we need to have commons-logging.jar available, but without the bulid should work fine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272559 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
34d8396f3e
Move JAXP stuff into a new utility class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272556 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
73c26feb56
JDK 1.1 doesn't seem to grok spaces in the keys of a properties file,
no matter which version of escapes I have tried.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272554 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9cf3138baf
reverted the logic in two tasks by accident.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272553 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
34528dbf65
spread the usage of JavaEnvUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272552 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e6706b6dae
Make live easier for projects that subclass Project by setting the
input handler to a default value.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272551 13f79535-47bb-0310-9956-ffa450edef68
24 years ago