48 Commits

Author SHA1 Message Date
Stefan Bodewig
53cdbd10e6 some notes on running Ant as a background process. PR 34461.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@677899 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 13:09:30 +00:00
Matthew Jason Benson
b361fabe04 bugzilla 41345. s/true true/true/ from Darin Swanson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495253 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 15:22:53 +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
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
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
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
Jesse N. Glick
2a0bbc499f Removing some gratuitous XHTML-isms. They still break JavaHelp, alas, and the manual is anyway not even strictly
formatted plain HTML, much less XHTML.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 18:58:16 +00:00
Steve Loughran
08406b67b5 mark a task use as <code>, wrap some lines.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278160 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 20:26:00 +00:00
Jesse N. Glick
2bde11ddeb Backdating "since" notices for #24918 (console input for <java fork="true">): 1.7 -> 1.6.3.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277998 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 16:56:03 +00:00
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
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
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
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
Steve Loughran
cface5ce71 updating year before Stefan gets there.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277326 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 10:59:31 +00:00
Steve Loughran
ec1635e90b More on jar attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277325 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 10:55:23 +00:00
Stefan Bodewig
3935a662f5 consistent use of <code> - submitted by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277057 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:12 +00:00
Stefan Bodewig
a2c25511f2 Assertions require fork
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276443 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 11:46:49 +00:00
Stefan Bodewig
ffce0c7253 Various typo fixes by Jesse Glick, PR: 28480
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276352 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 12:48:43 +00:00
Stefan Bodewig
c92c5c3633 Document build.clonevm
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276282 13f79535-47bb-0310-9956-ffa450edef68
2004-04-06 14:09:25 +00:00
Matthew Jason Benson
b0507d4451 Add <redirector>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276257 13f79535-47bb-0310-9956-ffa450edef68
2004-03-27 21:22:59 +00:00
Antoine Levy-Lambert
ff348804c1 Copyright owner The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276069 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 21:50:10 +00:00
Stefan Bodewig
0f18fba949 Improve docs on assertions.
PR: 25654
Submitted by:	Jesse Glick <jglick at netbeans dot org>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275996 13f79535-47bb-0310-9956-ffa450edef68
2004-02-02 14:33:08 +00:00
Conor MacNeill
49dc6188ed Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275752 13f79535-47bb-0310-9956-ffa450edef68
2003-12-08 02:27:14 +00:00
Stefan Bodewig
d4759031a1 You can't interact with forked processes - PR 23686
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275448 13f79535-47bb-0310-9956-ffa450edef68
2003-10-13 13:08:52 +00:00
Antoine Levy-Lambert
543e74c784 Use again Permissions to catch non zero exit statuses when using the Java task
with FailOnError = "true"
PR: 22533


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275162 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 12:45:07 +00:00
Antoine Levy-Lambert
1df7fd17ca Rollback temporarily the setting of new permissions when failonerror="true"
and fork="false"


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275155 13f79535-47bb-0310-9956-ffa450edef68
2003-08-29 13:05:06 +00:00
Antoine Levy-Lambert
1de5995d90 Set default permissions appropriate to fail the builds when failonerror is
true (and fork false) and no other permissions were set.
Suggestion of Steve Loughran.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275153 13f79535-47bb-0310-9956-ffa450edef68
2003-08-28 13:46:33 +00:00
Antoine Levy-Lambert
8fab9564d5 PR: 22533
Submitted by: J.M. (Martijn) Kruithof (ant at kruithof dot xs4all dot nl)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275149 13f79535-47bb-0310-9956-ffa450edef68
2003-08-27 14:23:17 +00:00
Antoine Levy-Lambert
3b3a4cd29f Add spawn attribute to java task as well
PR: 5907


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274992 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 13:56:06 +00:00
Stefan Bodewig
b5bd5af059 Add a nested <bootclasspath> to <java>.
Submitted by:	W. Craig Trader <craig dot trader at lmco dot com>

Do the same for <junit>.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274621 13f79535-47bb-0310-9956-ffa450edef68
2003-05-27 08:49:42 +00:00
Stefan Bodewig
1b88e53674 Add documentation for propertyset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274564 13f79535-47bb-0310-9956-ffa450edef68
2003-05-12 15:19:18 +00:00
Antoine Levy-Lambert
295ea16dac allow to set a property with the exit code of java bugrep 19099 submitted by Donal Quinlan (donal at savvion dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274500 13f79535-47bb-0310-9956-ffa450edef68
2003-04-22 22:12:53 +00:00
Conor MacNeill
107a8994df Fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274026 13f79535-47bb-0310-9956-ffa450edef68
2003-02-09 22:10:57 +00:00
Conor MacNeill
b5de6e5a6a Document new input capabilities
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274024 13f79535-47bb-0310-9956-ffa450edef68
2003-02-09 12:17:16 +00:00
Stefan Bodewig
7f2af7960c <tag /> ---> <tag/>
remove some stray CRs
fix some typos

Submitted by:	Larry Shatzer <Larry.Shatzer@Spirent.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273291 13f79535-47bb-0310-9956-ffa450edef68
2002-09-04 11:05:19 +00:00
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
2002-06-01 12:26:43 +00:00
Stefan Bodewig
f5b6799863 Add documentation for <java>'s new timeout attribute.
PR: 5299


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272291 13f79535-47bb-0310-9956-ffa450edef68
2002-04-08 12:04:07 +00:00
Stefan Bodewig
6258074cd0 Add append attributes to <exec>, <java> and <sql>
PR: 3234, part of 5299


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272234 13f79535-47bb-0310-9956-ffa450edef68
2002-04-05 09:28:54 +00:00
Stephane Bailliez
e967d77e02 Fix HTML title to be more useful for indexing.
PR: 5020
Reported By: jesse.glick@netbeans.com (Jesse Glick)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271131 13f79535-47bb-0310-9956-ffa450edef68
2002-02-03 22:00:42 +00:00
Stefan Bodewig
17208490a1 make documentation match the code.
The sentence I've removed must be a left-over from the time before the
newenvironment attribute has been added.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271002 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:47:32 +00:00
Stefan Bodewig
1df308115f add environment variable support in <java> for forked VMs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271000 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:20:20 +00:00
Stefan Bodewig
b6a3e9df36 License police on documentation files:
(1) Make sure there is a Copyright notice on all visible files.

(2) Make sure all years in which the file has been modified are
listed.

(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.

When Stephane changed starteam.html it has been 2001 in France but
2002 in Australia - does that mean we add 2002 to the Copyright line
or not?  ;-)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270652 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 08:48:33 +00:00
Steve Loughran
8379ced1dc PR 5025 : no MSJVM support.
This is documented. Also clarified failonerror usage, added another example


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270034 13f79535-47bb-0310-9956-ffa450edef68
2001-11-27 20:17:02 +00:00
Steve Loughran
b904b3ac0b Pulled the stuff on system.exit, because that is caught, and left a 'fork if things go wierd' message to handle the other cases :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269968 13f79535-47bb-0310-9956-ffa450edef68
2001-11-20 06:53:06 +00:00
Stefan Bodewig
93ee07ad35 Show that Ant is an Apache project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
2001-10-30 10:05:39 +00:00
Stephane Bailliez
1228b336de doc update to reflect the addition of the -jar option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269447 13f79535-47bb-0310-9956-ffa450edef68
2001-08-02 22:07:47 +00:00
Conor MacNeill
5337488612 Merge of 1.3 branch changes into the main branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268652 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 12:32:01 +00:00