900 Commits

Author SHA1 Message Date
Jacobus Martinus Kruithof
6df0d9abe2 PR: 33361
In ant 1.7 the security manager will, unless explicitly created to allow
System.exit veto a System.exit. This allows ant to continue its run when
a java program started via the java tasks in nonforked mode without
failonerror set calls System.exit. For java tasks in forked mode nothing
changes. For java tasks with failonerror set this was already the existing
behaviour.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277964 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 20:09:54 +00:00
Stefan Bodewig
00eb48bddc .cvspass doesn't work with CVSNT
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277932 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 11:06:26 +00:00
Stefan Bodewig
3cdc6a2b69 Document sync's preserveintarget, PR: 21832
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277921 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 09:33:30 +00:00
Steve Loughran
80593698b1 Moving isreachable to reflect on the new method. On java <=1.4; if the hostname can be resolved then we are reachable.
All tests run against localhost. This *should* work everywhere, but no doubt someone with a confused /etc/hosts or no IPv4 stack will have different opinions.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277887 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 23:20:04 +00:00
Steve Loughran
f1414a37f2 documented, and renamed the test to isreachable, because there may be more than just ping going on here (it goes through our firewall where http doesnt)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277874 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 14:09:39 +00:00
Peter Reilly
8bb8dce32c stray blockquote
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277873 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 13:09:25 +00:00
Peter Reilly
ebd1d6e28d some fixes to align examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277869 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 13:01:55 +00:00
Peter Reilly
b4bede10d5 opps fix last fix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277855 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 17:26:03 +00:00
Peter Reilly
34c0f9970a minor fixes for examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277853 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 17:15:19 +00:00
Peter Reilly
a8c6fe2bd6 minor fixes to examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277850 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 11:30:12 +00:00
Peter Reilly
a1a8c3c21c place examples in <blockquote> blocks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277837 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 18:17:40 +00:00
Peter Reilly
5e121baa8c typo
Obtained from: Yuji Yamano


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277833 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 12:25:44 +00:00
Peter Reilly
f62a1b10b7 add reference to stylesheet for CoreTasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277821 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:09:10 +00:00
Steve Loughran
9363746565 Doc update.
bug "rmic always compiles on Java1.5"
http://issues.apache.org/bugzilla/show_bug.cgi?id=33862


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277812 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 15:17:48 +00:00
Peter Reilly
eb5ec854aa Apt -> apt in example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277808 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 12:39:28 +00:00
Peter Reilly
03c4f14818 add verbose attribute to <subant> task
PR: 33787
Obtained from: Craig Ryan, Frank Somers


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277799 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 09:37:43 +00:00
Matthew Jason Benson
ad37501556 Add a link to selectors from isfileselected.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277790 13f79535-47bb-0310-9956-ffa450edef68
2005-03-04 17:57:24 +00:00
Matthew Jason Benson
5061e731c3 1. Add Kevin Greiner's FixCrLfFilter (slightly modified)
2. Adapt FixCRLF the task to use the filter (single set of fixcrlf code)
3. Implement ChainableReader in FixCRLF so that the existing taskdef
   will be recognized as a nested element in a filterchain.
PR: 33155
Submitted by: Kevin Greiner


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277787 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 21:46:47 +00:00
Peter Reilly
30461e768c perpare to move to 1.6.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277781 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 17:26:32 +00:00
Jacobus Martinus Kruithof
0219f407f4 Noticed an java 1.1 reference in the copy page.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277779 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 16:43:32 +00:00
Matthew Jason Benson
015ec69fd1 Add preservelastmodified attribute to fixcrlf.
PR: 25770
Submitted by: Yuji Yamano


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277778 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 16:24:26 +00:00
Peter Reilly
ea30fcec64 Error in mail task sample
PR: 33828
Obtained from: Geir Ole Aagedal


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277768 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 09:58:47 +00:00
Steve Loughran
58a1092735 "please stop complaining about the echo"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277766 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 21:45:10 +00:00
Steve Loughran
6c13bc7130 condition to check for parser features. Left to others to put into Ant's build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277735 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 11:32:35 +00:00
Steve Loughran
97150b670e fixcrlf gets a new attribute to make it easier to fix a single file. no nested filesets for <fileset file>, see.
Also put the schemavalidate in the right place in WHATSNEW.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277731 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 00:33:00 +00:00
Matthew Jason Benson
7256bc0a46 Fixed erroneous statements in documentation.
PR: 33626


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277725 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 17:54:21 +00:00
Matthew Jason Benson
595133b251 Pathconvert no longer requires that one of (targetos|pathsep|dirsep)
be set; platform defaults are used when this is the case.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277715 13f79535-47bb-0310-9956-ffa450edef68
2005-02-22 18:26:56 +00:00
Steve Loughran
6450a035db no longer valid
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277699 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 23:20:26 +00:00
Stefan Bodewig
1d59a6d0ea Clarify docs, PR 33282
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277690 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 13:32:19 +00:00
Stefan Bodewig
939aa7c8ae 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277675 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 14:34:47 +00:00
Stefan Bodewig
97e550ce79 choose your digest wisely
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277674 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 14:34:02 +00:00
Matthew Jason Benson
c9028f9f98 Tighten security by sending storepass and keypass to signjar
via the input stream of the forked process.

Also, create signjar's helper ExecTask instance directly rather than by
typedef discovery mechanisms.
PR: 33433


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277629 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 22:43:27 +00:00
Stefan Bodewig
cf850ea7b4 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277622 13f79535-47bb-0310-9956-ffa450edef68
2005-02-09 07:54:12 +00:00
Steve Loughran
ba2679a4a2 flip fork bit on Apt
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277620 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 18:52:38 +00:00
Steve Loughran
04a541221c This is actually a serious issue. if i have a login on a machine, I can get the keystore password by waiting for someone to sign a JAR on it. We can fix this, either by running jarsigner in VM, or by passing the input over stdio.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277617 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:51:01 +00:00
Steve Loughran
17b08e6f01 minor doc updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277615 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:42:21 +00:00
Stefan Bodewig
5ffacddada 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277589 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 08:02:59 +00:00
Matthew Jason Benson
1225a5a849 Added level attribute to zip & subclasses.
PR: 25513


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277577 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 23:55:51 +00:00
Matthew Jason Benson
f5b5a8b53c Add nested header element to the mail task.
PR: 24713


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277575 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 20:08:57 +00:00
Stefan Bodewig
c2c8aa446b 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277547 13f79535-47bb-0310-9956-ffa450edef68
2005-01-28 16:11:40 +00:00
Matthew Jason Benson
5947ffd64f Added else attribute to condition task.
PR: 33074


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277520 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 21:01:05 +00:00
Jesse N. Glick
88c3b313e0 Permit <java fork="true"> to accept standard input from console.
PR: 24918


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277513 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 16:36:11 +00:00
Matthew Jason Benson
3ece4e00cf Lost the stylesheet.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277498 13f79535-47bb-0310-9956-ffa450edef68
2005-01-26 23:16:52 +00:00
Matthew Jason Benson
427e62a48d Make dest optional; some reformatting.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277465 13f79535-47bb-0310-9956-ffa450edef68
2005-01-25 22:13:47 +00:00
Steve Loughran
f119bd971b Xor. Not strictly necessary, but the logical equivalent is a dog to type.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277431 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 22:01:15 +00:00
Steve Loughran
f3a1a77fc5 missing documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277430 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 20:08:55 +00:00
Matthew Jason Benson
29f389f7bc Nitpicking.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277420 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 15:12:54 +00:00
Steve Loughran
7e5302e625 renaming as per Peter's suggestion. Made one of the attributes visible, too.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277409 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 13:15:34 +00:00
Stefan Bodewig
42e242e090 2005
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277406 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 07:12:52 +00:00
Steve Loughran
38c1ea2a88 First updates to library
-default dest, repository
-override properties
-changes to tests to keep working
-enhancements to tests so they work behind a firewall if ~/.ant/proxy.properties contains the settings


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277397 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 15:59:52 +00:00