830 Commits

Author SHA1 Message Date
Peter Reilly
992cc22575 update javadoc to desciption quoteing in tag file - bugzilla report 30966
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470581 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 22:52:04 +00:00
Peter Reilly
7254e769ce bugzilla report 40852: useextenalfile of javadoc now applies to all command line args
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470134 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 23:19:33 +00:00
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
2006-11-01 02:04:27 +00:00
Stefan Bodewig
b6a97b829d AntUnit 1.0 Beta2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468962 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 19:49:44 +00:00
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
2006-10-27 22:33:42 +00:00
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
2006-10-26 23:10:10 +00:00
Jan Materne
5447ff9d10 Have found a nice example in an archived mail...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467359 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 15:38:28 +00:00
Peter Reilly
e808c13ed6 bugzilla: 40803, doc use of cmd.exe /c for bat files better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466878 13f79535-47bb-0310-9956-ffa450edef68
2006-10-22 21:31:41 +00:00
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
2006-10-18 07:31:52 +00:00
Antoine Levy-Lambert
ab7f4306cb Preparation for Ant 1.7.0Beta3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@464306 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:21:43 +00:00
Steve Loughran
49f611c10c mention proxy settings here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463473 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 22:29:38 +00:00
Jan Materne
0a41a60d0f Document the do-nothing-if-exist behaviour of <mkdir>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@462786 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 12:27:34 +00:00
Matthew Jason Benson
a5170305b9 document that <pathconvert> can actually support multiple resource collections now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454833 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 17:05:40 +00:00
Peter Reilly
a5360da98a PathConvert on Windows should process forward and back slashes equivalently.
Bugzilla report 32884.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454032 13f79535-47bb-0310-9956-ffa450edef68
2006-10-07 22:04:20 +00:00
Peter Reilly
583cfae0e5 Do not set ant.file.{projectname} when the project name
is not set in the <project> tag. (as discussed)
Bugzilla report: 39920



git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453401 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 21:48:49 +00:00
Peter Reilly
e8b3b57f55 describe difference of <dirname> and unix dirname
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451692 13f79535-47bb-0310-9956-ffa450edef68
2006-09-30 22:52:16 +00:00
Matthew Jason Benson
353da86ea4 add since info on encoding attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450588 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 21:49:05 +00:00
Jan Materne
7f0ad1d0ec typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450341 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:21:47 +00:00
Peter Reilly
3f73a85198 Bugzilla 31520
adding SPI to jar-task
This patch from bernd Dutkowski adds
a nested element <service> to the <jar> task
this creates the SPI files - see doc.



git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450209 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 21:15:12 +00:00
Peter Reilly
c8b5902d5d remove blockquote from long examples, correct name of attribute in <matches>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449833 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 22:06:09 +00:00
Peter Reilly
022d5119e9 add doc for <matches>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449826 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 21:39:08 +00:00
Peter Reilly
702bbe17b7 bugzilla 27283: note that optimize has no effect for sun jdk>1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449090 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 21:10:40 +00:00
Matthew Jason Benson
3d79403c2d document nested style element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447997 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 22:22:17 +00:00
Peter Reilly
c2447140c7 add a comment in the docs about env key change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@446984 13f79535-47bb-0310-9956-ffa450edef68
2006-09-17 00:23:56 +00:00
Peter Reilly
b971cbef85 Bugzilla 39549: available should not search parent directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443456 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 20:18:04 +00:00
Stefan Bodewig
9a48ac8f87 weaken regexp enough to pick up all Copyright lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442328 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 20:22:51 +00:00
Stefan Bodewig
d4279e5ae5 too different from the rest for a regexp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442324 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 20:20:22 +00:00
Stefan Bodewig
782372dee5 remove copyright lines that match my fisrt attempt at a regexp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442093 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:33:25 +00:00
Stefan Bodewig
443e397b46 Add license header
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442089 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:19:00 +00:00
Peter Reilly
2dfb9b369a bugzilla 38431: description of attribute failonerror in sync task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442004 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 20:42:25 +00:00
Peter Reilly
c5d57a281a Bugzilla 40300: incorrent handling of exceptions in <copy>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@441294 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 23:16:18 +00:00
Peter Reilly
cff4040823 year
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440880 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 21:32:26 +00:00
Peter Reilly
6820b64345 Bugzilla 39549: add searchparents attribute to <available>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440876 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 21:19:42 +00:00
Stefan Bodewig
d0281846d0 re-generate site
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@436633 13f79535-47bb-0310-9956-ffa450edef68
2006-08-25 03:46:29 +00:00
Steve Loughran
29fface4fb bug ID#38732 , rmic task doesn't work with -Xnew and JDK 6.0
Fixed by writing a new adapter, xnew, that extends the forking adapter and sets the -Xnew argument. Tests supplied, though the old test, the one that would fail on java1.6, is still there.

Also made the name matching code of rmic locale-independent.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434029 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 12:36:25 +00:00
Matthew Jason Benson
1b98ed72cd correct typo and translate a German article to the English equivalent. ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432588 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 14:06:55 +00:00
Jan Materne
973f53b4aa Add a note to the _svn-Hack of Subversion 1.3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@432534 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 09:37:11 +00:00
Jesse N. Glick
8e437c7397 Noting that apt is unnecessary in JDK 6.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@431467 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 23:18:58 +00:00
Steve Loughran
7b2bcde38e How could I forget this? Document the <diagnostics> task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@428733 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 14:23:50 +00:00
Jan Materne
e8e709ce77 Update the note about Winzip and WEB-INF directory.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@426479 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 11:21:47 +00:00
Matthew Jason Benson
4dea93eada capitalize "Ant".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@425108 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 16:16:42 +00:00
Jan Materne
a1608d62d4 Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
* changed from File.getParent() to String.substring() to avoid changing between / and \
* "dir" defaults to '.' instead of empty string, so dir+'/'+name would not result in an absolute path

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@423009 13f79535-47bb-0310-9956-ffa450edef68
2006-07-18 08:28:25 +00:00
Jan Materne
303b70f86b Bug 21042 "Setting XSL parameter to input filename when processed whole directory."
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@422692 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 12:03:07 +00:00
Jan Materne
370ae530e4 Bug 35850
<subant> now supports nested <target> elements as <ant> does.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@420569 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 15:41:28 +00:00
Steve Loughran
31a7e6611a delete spurious letter F; update copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419978 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 20:46:16 +00:00
Jan Materne
69679b4828 Bug: 39153
Add notes (log+manual) that <java> does not handle jar+classpath together (more exactly Java itself does not).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419898 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 14:39:28 +00:00
Steve Loughran
d839298320 some private emails about manifest correctness lead to more details on what to do if you disagree with the task's logic.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419490 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 09:00:14 +00:00
Jan Materne
923355ba63 Examples for specifying a JDK in <java> and <javac>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419463 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 06:36:44 +00:00
Jan Materne
36682adc29 Add example using the default excludes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419449 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 05:57:55 +00:00
Steve Loughran
8793957204 given the task is out, the docs should be purged too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418789 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 15:13:42 +00:00