Antoine Levy-Lambert
351fe71fec
reactivate mergePatterns in AbstractFileSet, implement clone in DataType and ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
f9239036dd
remove from documentation (and from comment in source code) the incorrect
statement that a message attribute or character data within the element is
required.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469751 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0aa2b2528f
some checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469717 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
dba2c632cb
set the groupId of ant from maven to org.apache.ant
as discussed on the repository mailing list
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469506 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
4f40185967
bugzilla 39932: lcp.bat prepended instead of append
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469312 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac78dc1602
Bugzilla 36733, NPE when failure in creating parser
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469303 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
873b850f39
fix for
<javac> fails with NPE when compiling with eclipse ecj 3.1.x
Bugzilla 40839.
root cause of the problem was in org.eclipse.jdt.core.JDTCompiler
method addExtDirs. A FileSet was created without the Project attribute set,
then added to a Path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@469050 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
2201b1634b
fix for Bugzilla 40722. Was identified as a directory scanning problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
26498d6bc5
<delete> doesnt delete when defaultexcludes="false" and no includes is set
fixed. Bugzilla 40313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468724 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
14f760492c
Made web.xml non optional again, as it was hiding too many bugs (e.g war files for tomcat 5), but added an attribute to make it optional.
More tests, especially for updates. One test is disabled because it fails. The task fails if you are pulling in a web.xml on an existing web.xml file via a fileset if update=false, because the fileset version checking is hiding the inclusion of the web.xml file from the war task -its being dropped before we notice. This is not a BC problem. Maybe I should always make web.xml mandatory to stop this behavior arising.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468568 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
4f27ced09d
remove some imports we dont need
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468556 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
44f1058c6d
handle security checks on property get gracefully
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468181 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
c91cce227b
web.xml is now optional in Java EE. I've tweaked <war> to warn but continue if it is omitted, and not to say anything if there is a duplicate reference to the same web.xml, but to complain a lot if there are two conflicting ones (with diagnostics).
We may want to have an attribute to indicate that a web.xml file is needed, or that we dont want to see the warning message. Say nowebxml="fail", "warn" or "skip", with the default being fail for backwards compatibility. Thoughts? Now is the time to add it...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468180 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
689c463eda
groupId for jsch is com.jcraft
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468015 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
74f550099b
add regex attribute to echoproperties task.
Bugzilla 40019.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467828 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
53c4bd0b21
remove dependency upon commons-logging/commons-logging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467505 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
33e4d99787
antlr is a runtime dependency, yes Steve :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467504 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
564cb3824c
jsch 0.1.29 now available in repository
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467449 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
431771d548
groupId for jsch 01.29 jsch, not com.jcraft
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467448 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
92946530f4
remove the @link , causing a warning when building javadoc,
probably because it is a link to a private method in a private class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467230 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ed5200f638
getting better, I found the xercesImpl and the xml-apis that we are using on the Maven repository.
And I did an upload request for jsch-0.1.29
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467207 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
ffe2ea5746
a small explanation about this Maven stuff ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467197 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
9067f554ed
jasper4.1 is not in ant classpath while compiling, fix link in junittaskmirror
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467136 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c9e3f56ee6
remove noinspection tag, change @todo : to @todo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467135 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
fbe0ff49d9
fix up some of the javadoc whining
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467129 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
c7fe726fec
added something to even be able to run the tests.
the maven-surefire-plugin has the bad idea to set a system property called basedir.
I have patched it locally to accept not to do it with a boolean omitbasedir.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466937 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
a9153967c5
copy the stylesheets into the jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466903 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
d902085330
there was a mismatch for the location of .build.timestamp.properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466902 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
0ac06cdedc
modified poms. I can now mvn package the complete ant binary distribution
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466894 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ddddd31432
pset svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466884 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
03f01f4a56
test for uuencode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466883 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
b563772482
modify also ant-nodeps to be able to build the corresponding jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466882 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac1eb71b58
pset svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466880 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3510e9c820
remove use of sun.misc.uuencoder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466879 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
604d0ada70
add parent POM
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466872 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
dc0ae124f9
add organization
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466871 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
01b41e4197
control the location of the output jars
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466870 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
81f76eae75
store the date in version.txt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466864 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
8b8fcc447d
created a parent pom and also modified the poms of ant and ant-launcher to be able to build them using maven
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466857 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
a0cc97f410
modified to call the property version from build.xml project.version
defaultManifest.mf and version.txt are updated using expandproperties rather than tokenfilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466856 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
105b2252ce
Launcher should not depend upon parent package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466643 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
a50c21d895
adding poms
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466627 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d2518a0832
make IH.clearCache() public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466300 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7d8402eb23
Stop making IH a project listener,
instead clean the IH cache explititly on build finished.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466290 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e563725d1b
Free the realThing with UE is finished with it
(fixes since last look at this allows this)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466283 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
507f139d07
Add a stylesheet for generating a master buildfile (iterating over all targets) from a common buildfile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465167 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
12ae031068
Fix for OOME with <*ant*> and <typedef>
Bugzilla report 28283 and 33061
IH had a map of class->IH objects. The
class is the typedefed class and IH is the
attributes, elements etc of that class.
This works fine, except that the class is kept
until the build ends, this means that the classloader
for the class is also kept, a classloader contains
pointers to all the classes loaded by it - so a lot
of memory can be blocked.
When ant, or antcall is used and the called project
typedef the antcontrib, these will be new classloaders,
hence the memory being used up.
The fix is to use the name of the class, check if the IH
in the map is the same class, and if not replace that IH.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465073 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f5c95e9ca4
add fall-back for undefined references that are parsed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465065 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
7c58ba3edd
Having learned about how the java memory model really works, I have had a quick code review of the threading here.
1. stuff that is shared read is always marked volatile, to avoid being compiled out.
2. added more synchronization when appropriate.
I make no claims as to thread safety here, as I was never that good at formal proofs of correctness.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465013 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
ae5166d215
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464439 13f79535-47bb-0310-9956-ffa450edef68
19 years ago