Stefan Bodewig
56d0c2f91a
<tar>'s up-to-date check didn't work for nested filesets.
PR: 14995
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273898 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
3c2bbbcda3
Real tired of seeing email address being abused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273610 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
98f3237b31
Add drimode attribute for the permissions od directories to <tarfileset>.
PR: 12289
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273555 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ccef0f8982
Implement and document a compression attribute for the tar and untar tasks.
Submitted by: Curt Arnold <carnold@houston.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272562 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
80080d456c
Reduce a small number of long lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
03d0b81deb
Order of modifiers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c4266e9250
Coding Standard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272441 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
c6c232893c
Various coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
7efc06af49
Make sure <tar> resets its state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272405 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8fa296bb51
New attributes to tarfileset to allow equivalent of tar -P option
PR: 5874
Submitted by: Stefan Heimann (mail@stefanheimann.net )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
786e2e2e1c
Prefix attirubte for tar task
PR: 6054
Submitted by: mail@stefanheimann.net (Stefan Heimann)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271134 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
d65cafdcec
adding destFile naming scheme to tar, for consistency with the zip family and other tasks. I know Costin thinks we do this deliberately, just to break his builds, so even though I have updated the manual and the test cases, I have commented out the deprecated message which users should get when they use the tarfile attribute. Which means old builds still work, but the old params are no longer documented for new users.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271035 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9f2aca50e3
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270629 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e503ebd4c7
setFoo(String) replaced with setFoo(ExtendedEnumeratedAttribute) for certain attributes of these tasks:
Available.java
Tar.java
Tstamp.java
setFoo(String) has been deprecated for the affected attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270071 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
314bc565b8
Make tarfilesets work.
PR: 1543
Submitted by: Steve.Langley@ebay.sun.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269007 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4b56e099f2
Make sure, we don't add "" to the archive - zip has gotten the same
special treatment a few weeks ago.
PR: 1607
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269004 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d6e5c9e816
Make <tar> handle empty directories.
PR: 552
Submitted by: William Webber <william@live.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268862 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
068f734884
Merge after 1.3 release
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268748 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
2479bd9a12
Merge back Tar changes so they can be tested with Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268655 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
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
25 years ago
Sam Ruby
867ec77b0d
Add a warn on longfile mode
----------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268627 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
3c6126f29b
Add nested filesets to tar through which file permissions can be set.
This is done through an octal mode attribute. The groupname and username
may also be set. See build.xml for an example usage.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268581 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6ff2c8367d
Add support for long filenames in tar task. The tar task now takes an
attribute "longfile" which can take either the value "truncate" or the
value "gnu". If the attribute is omitted, an exception is thrown (the
current behaviour). Truncation is currently silent but willbe fixed to
give a warning.
Restored building of tar files in the distribution target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268555 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
6b5745a21d
Used some elisp magic to remove those tabs and replace with spaces.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268237 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
585ca2b4d9
Added a MergingMapper where multiple source files map to a single
target file. Use it in tar, zip, uptodate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268193 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f0282fd8b1
Various checks for required attributes and better error messages added.
Submitted by: Nico Seessle <nico@seessle.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268002 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7f4859f077
Take more care with regard to open files/streams.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267750 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Conor MacNeill
9bd75d2c4e
Move to task level logging
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
0fce1960af
Fix for Tar-time
Submitted by: Stefan Bodewig <bodewig@bost.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267679 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
bf94e2fb09
added Tar task + implementation classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267597 13f79535-47bb-0310-9956-ffa450edef68
26 years ago