Antoine Levy-Lambert
24f9da26b5
Issue a warning message indicating that selectors within filesets
are not supported in the ftp task when the fileset is remote
(all actions except put)
PR: 18280
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275037 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
53e10e20aa
Add pointer to Antmerge, submitted by Phillip Lord
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275036 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
63382d9cbf
Fix the ftp task, its documentation and testcases to maintain backward
compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275035 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
95cc5a59b5
use user.name as default for ftp.user
new target for testing scanning a file which is a symbolic link
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275034 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cb0bee9b4d
Add pointer to Jegustator, submitted by Pavel Vlasov
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275033 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5aa4257771
Remove trailing delimiter from addReferenceFileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275032 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
79433b5ab7
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275031 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1c3832c2f3
Added a testcase showing resolution of PR 14063
Ant ftp did not download file it is a symlink
PR: 14063
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275030 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
84d3b32703
removed output on System.out, sorry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275029 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e9d8b2247f
Make the FTP.FTPDirectoryScanner behave like the DirectoryScanner
in terms of following symbolic links which are directories.
This will make a change of behavior in comparison with ant 1.5.3
where the behavior of the ftp task was to never follow symbolic links.
Also select symbolic links which are files
PR: 14063
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275028 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
225b9fd6f9
fix a problem of protected access to FTP.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275027 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d98034a54c
Make the FTP.FTPDirectoryScanner class also register the root of a fileset
when the root matches include exclude patterns.
This is the behavior of the DirectoryScanner for normal filesets.
This change should only possibly impact the RMDIR modus of the ftp task
when the root directory is included.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275026 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8975a12087
Add a keepcompression attribute to control the compression of entries
that come from existing archives.
PR: 16084
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275025 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d707a31941
add <style/> change to WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275024 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5d847c583e
Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by: Peter Reilly & Jan Mat��rne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
07cf1f95cc
ant -Debug would cause a NullPointerException
PR: 22065
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275022 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9642cc73f8
Slowly approaching <csc> with Mono
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275021 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bd644923de
test case to show bug report 11418
PR: 11418
Obtained from: John-Mason P. Shackelford
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275019 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
18d754cafc
Add pointer to Zelix Klaasmaster, submitted by Svet Kovich
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275018 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c74c1765b1
Remove unneeded setting of properties in reinit()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1517fabb41
new test for the ftp task
requires ftp.properties in ant's root directory (with your password in it) and a local ftp server.
The test is disabled by default in build.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275016 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
0a21bb2257
new test for ftp, disabled by default.
requires ftp.properties with your password in it in ant's root directory
also requires a local ftp server
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275015 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d8a55cf35e
one more VAJ entry in WHATSNEW
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275014 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
f41c7c1934
scan the fileset after having called setupDirectoryScanner
PR: 22080
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275013 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2a2141bcb6
Restore System.in, PR: 22066
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275012 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d90b845be8
Revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275011 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d13027731c
Only calculate the CRC of STORED entries in <zip> if absolutely necessary.
PR: 21899
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
dacde0154f
Revert final on System classpath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275009 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e7ac20bf98
increase time allocated for shell script to complete,
following failure of the test on August 1st 2003 on cvs.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275008 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
10e9fad118
Add reference to "Ant pretty build", submitted by Charbel BITAR
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275007 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
39a371ce20
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275006 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e67a40fbb3
Revert part of the commit that made tasks use Execute#isFailure.
On OpenVMS the Java VM will exit with a return code of 0 on success,
even though this is going to signal a failure for the OS. All tasks
that spawn new VMs have now been reverted to explicitly check for
retCode != 0 instead of Execite.isFailure(retCode).
We could as well introduce Execute#isJavaFailure or something like
this in case future VM's on OpenVMS will start to do the right thing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275005 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
94a192bb79
Fix location when error occurs in running antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275004 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6c898aeb37
Upgrade to Xerces-J 2.5.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275003 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
2c905033e5
I always worry when I change something fundamental, and the amount of refactoring here to get assertions in 'cleanly' means the change here is larger than one would expect. The key problem is that the existing code created presized arrays, but sizing these arrays meant resolving every single option and counting the #of commands -effectively creating the command line twice. Once to size it, once to save the results. this was silly and unwieldy, though it made sense given how this command grew and grew.
Most of the diff is changing CommandLine and CommmandLineJava to append their info to a supplied ListIterator, so that we dont need to create string arrays and keep on appending them. All the old stuff is still there, but used less -certainly not used at all by CommandLineJava.
No assertion tests yet...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275002 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
0f2ab7fa91
bug #20735 "Resource" is not explained;
explained what a resource is, clarified what property files do, to field off recurrent bugreps and show property expansion.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275001 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
45cfe2ada1
add the ability to set the executable used in .net tasks. Why do this
(a) so you can refer to versions off the path (useful for multiple versions)
(b) so you can use other implementations than the windows one.
Specifically, Mono Csharp compiler, msc, apparently uses the same syntax as csc if desired. We will have to test this... I suppose we could test Rotor too, but I cant be bothered
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275000 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
e4e82cee37
I cant believe we never noticed this typo before
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274999 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
5f0938c6cf
want to catch failure to fork here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274998 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
eebb110dc8
fix a couple of IDE highighted jdoc typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274997 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
92f14c6a3d
Display properly in junitreport the root package
PR: 21915
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@274996 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
dace404953
Improve logging and exception behavior of Perforce tasks
PR: 18154
Submitted by: Matt Bishop (Matt at thebishops dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274995 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d74422c5bd
Fix invalid URL for property test with url.
PR: 21948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274994 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
00e6624c19
TestCase fixed, works now also on nagoya (Solaris).
The problem was that I did not allow enough time for java to start.
1 second is OK, 400 millis were not enough.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274993 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
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
22 years ago
Stefan Bodewig
39e82431e7
Keep permissions of directories as well when updating a zip archive.
PR: 21308
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274991 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
27b47d055f
roll-back wrong change concerning executable attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274990 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
aa82230244
added precisions regarding the executable attribute in the <exec/> task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274989 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
57823da95d
suppress unnecessary output from the test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274988 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
15cf412481
Allow several space separated arguments in Perforce globalopts
PR: 14395
Submitted by: Matt Bishop (matt at thebishops dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274987 13f79535-47bb-0310-9956-ffa450edef68
22 years ago