Stephane Bailliez
270394a09f
Extend the range of options ANTLR task is able to deal with
Submitted by:
Stephen Chin, aphid@versionablestore.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272941 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c3e3cee3b0
Don't catch stuff thrown in System.exit
PR: 9414
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272868 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2aad5f9f54
recursively expand filter tokens.
PR: 9378
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272867 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f40cbc60b3
Merge over a bug-fix needed to get jakarta-tomcat built by Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272855 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
5b320cdc20
Keith Wannamaker's classpath patches to jspc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272843 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
Diane Holt
337ae87977
Avoid getting an NPE by making sure the property attr is set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272810 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1a8bb2e5a5
Add ability to generate XML to <echoproperties>.
Add sourcefile attribute that can read arbitrary files to the same task.
Submitted by: Ingmar Stein <stein@xtramind.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272806 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c09d386575
Make sure user-properties remain user-properties.
This is a partial merge of Ant.java from the 1.5 branch (only partial,
sorry Magesh) that is required to avoid a Gump build failure of
avalon-phoenix (which does several nested <ant>'s with varying
inheritall values and ends up with relying on a property that has been
set on the command line but has disappeared).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272796 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Costin Manolache
dabc2a2e75
Fix getResource() for the project helper, there's no / at the beginning.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272728 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c0ddb31137
JDK 1.2 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272670 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
f61c1bcd3a
Selectors feature to specify sophisticated selection criteria to create filesets.
Got it in in the 11(and a half)th hour ;-)
Submitted by: Bruce Atherton <bruce@callenish.com>
Docs and testcases to follow in the next few days.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272630 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Diane Holt
a87016010e
Bye-bye <do>...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272628 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c36835a022
Fix License
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272627 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 years ago
Diane Holt
e0281ea5e0
Set JAVA_HOME for OS/X. (PR 8503)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272594 13f79535-47bb-0310-9956-ffa450edef68
23 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
23 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
23 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
23 years ago
Stefan Bodewig
9517bc1a98
Help getting the wrapper scripts that ship with Ant's "normal"
distributions and the RPMs closer to each other by (1) allowing a
system wide configuration file in /etc and (2) using some environment
variables to enable RPM specific behavior.
Submitted by: Henri GOMEZ <hgomez@slib.fr>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272589 13f79535-47bb-0310-9956-ffa450edef68
23 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
23 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
23 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
23 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
23 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
23 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
23 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
23 years ago
Stefan Bodewig
e6fb386da0
remove some dead stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272580 13f79535-47bb-0310-9956-ffa450edef68
23 years ago