nickdavis
0b9d888845
changed "NamedValues" property to ACSDtdDefinedAttributes
to allow for custom editor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268921 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
nickdavis
e468511964
Added "DtdAttributes" class and fixed DtdElement's getters and setters.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268920 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
405db5ebc6
Add property attribute to <p4counter>
Submitted by: Kirk Wylie <kirk@radik.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268919 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
metasim
44a9c085a3
Fixed coding system problem (dos-2-unix translation error).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268916 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c22df87cd8
Add a <metainf> element to <jar>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268915 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
87def42d88
New task <recorder>
Submitted by: Jay Glanville <dickon@nortelnetworks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268914 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
1386f41a4a
New task <p4counter>
Submitted by: Kirk Wylie <kirk@radik.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268910 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
54b25780fe
- Removed javadoc explaining attributes of task. This info is already in the
vsshistory.html file. I didn't want to duplicate the work.
- Renamed task attribute "outputfilename" to "output" to unify the task
attribute namespace (i.e., other tasks use "output", why not this one?).
Also made sure that the output filename is relative to the project's
basedir.
- Added task attribute "dateFormat" to allow the format of dates in "toDate"
and "fromDate" to be specified. This was necessary for the "numDays"
functionality to work properly with my date format.
- Added "default" choice to "style" attribute. If an unknown style attribute
is provided, a BuildException is thrown.
- Fixed examples in the documentation which not included vsspath
- Only pass -R once to ss.exe and only if recursive is really specified
Submitted by: Twiggs, Glenn <Glenn_Twiggs@bmc.com>
Minor changes by me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268909 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Peter Donald
950bfd5cf0
Added Ear task
Submitted By: Les Hughes [mailto:leslie.hughes@rubus.com]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268908 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8854bf7868
Don't parse the XSLT stylesheet unless we know a file is going to be
transformed. This should improve performance in cases where the
generated files are up to date significantly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268907 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b8de4702c9
Add "REM" to the comment identifiers fro <sql> - even if it's non-standard
Submitted by: Michael McCallum <michael@spinsoftware.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268906 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6231c77d24
<fixcrlf> will only overwrite files if their content is different from
the original.
Submitted by: Attila Szegedi <szegedi@scriptum.hu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268905 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bf4ff9c363
make sure ZipFileSet works if the current working directory doesn't exist.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268902 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3ccfe4645f
Add pattern for CVS backup files to default excludes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268901 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7c3493aaa3
Make <fail> support nested text.
Submitted by: Tim Dawson <tdawson@wamnet.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268900 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b16a773dea
Add a value attribute to <uptodate>
Submitted by: Tim Dawson <tdawson@wamnet.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268899 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2276ae89a2
sanity checks for <touch>
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268898 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e6e450dc16
Make <touch> work on <fileset>s
Submitted by: Michael J. Sikorsky <mj@servidium.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268897 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
9996345251
Applied Nick Davis' patch to support generic elements based on an Ant DTD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268895 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
113069f80d
Bug #1138
# does not work as a comment-sign in Windows Batch-files and results in errors - changed to rem.
Reported by: craig.malone@altavista.net (Craig Malone)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268894 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
c5b5b59b70
Bug #1011
If debug is set to false pass -g:none to javac if JDK 1.2 or JDK 1.3 to get really no debug information at all.
Submitted by Peter Janes <pjanes@liberate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268893 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
99c537ba36
Borland nested element for <ejbjar> to generate EJBs for the Borland
Application Server
Submitted by: Beno�t MOUSSAUD <benoit.moussaud@criltelecom.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268891 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b162d01b93
Omit the basedir itself (which would be added as /) from zipfile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268890 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
06e57b190f
chop .class at the end, not somewhere in the middle.
PR: 1124
Submitted by: mstover1@apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268888 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
1d080174ed
Added support for the VSS History-command.
Originally submitted by Fejes Balazs <fbsubscriber@freemail.hu> with many modifications, documentation and enhancements by me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268886 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
f9775c2211
Fix for Bug #975 - sometimes (for example with a default installation of cygwin) there are environment-variables containing a new-line. We ignore anything after the first line and log the ignored lines with warning-level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268885 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Nico Seessle
839c93f9e0
Added attribute serverPath which lets the user specify the path to the srcsafe.ini.
Submitted by Barranger Ridler <barranger.ridler@screamingsolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268884 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
f80406c2b8
Missing throw in VAJImport
Reported by: David Rees
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268872 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d10d01a97a
add description attribute to <p4change>
Submitted by: Bob Cheek <RCheek@Verbind.com>
patch looks a lot bigger than it is - I removed a ton of tabs from
this file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268865 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c434eba788
Centralize method for setting last modification time of a file in Project.
Submitted by: Steve Loughran <steve_l@iseran.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268864 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
Stefan Bodewig
8237734548
destdir in <style> is no longer required if in/out have been specified.
Suggested by: Will Holcomb <will@odin.himinbi.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268861 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ff38a6188b
Add support for Weblogic's rmic.
PR: 959
Submitted by: Takashi Okamoto <toraneko@kun.ne.jp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268860 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
6ef87655dc
Fails on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268857 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
bc27fce2a4
Fix for NPE when getClasspath is called before setRmic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268855 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
glennm
7fc63c89ac
Fixed bug when displaying default target with
a description.
Reported by: Hans Ulrich Neidermann
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268854 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
5cc29f61e6
Make <rmic> a factory task just like <javac> already is. Support
Kaffe's rmic.
Submitted by: Takashi Okamoto <toraneko@kun.ne.jp>
Catch arbitrary Exceptions thrown when trying to verify a class.
PR: 222
Support extdirs.
PR: 893
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268852 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
926fcdcbeb
pass through the exit value from Ant
PR: 314
Submitted by: sknippenberg@unwiredexpress.com (Sigurd Knippenberg)
Remove tabs.
Change /usr/local/bin/perl to /usr/bin/perl. All other Perl scripts on
my box assumed there was at least a symlink to Perl in /usr/bin - and
Perl recommends to put one there when you install it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268851 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d7b8f63f01
Make <style> search relative to the project's basedir first - if it
cannot be found, fall back to the task's basedir and print a
deprecation warning.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268850 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b31472d21f
Make the AntClassLoader load resources in the same order as it currently
loads classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268841 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b806dbf97e
Added "" - the basedir itself - to the list of included directories,
if it matches.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268832 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
76c6de74b0
Make <delete quite="true"> handle non-existing dirs in filesets gracefully.
Suggested by: Jon Stevens <jon@latchkey.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268831 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b0f1f9cab7
Defer sanity checks of dir attribute to the point where the fileset
will be used for the first time. This will enable things like
<project default="main">
<fileset dir="tmp" id="tmpfiles">
<target name="prep">
<mkdir dir="tmp" />
</target>
<target name="main" depends="prep">
<copy todir="foo">
<fileset refid="tmpfiles" />
</copy>
</target>
</project>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268830 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f7ef1e4b52
Make sure includeEmptyDirs attribute of <delete> does what it promises.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268828 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
74fcd3cad9
Make <chmod> work without a dir attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268827 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
f71b0b0295
Define DTDs for the generic cae and not just the weblogic case
I took Robert's patch and refactored it a little to avoid
duplicating the code in the weblogic deployment descriptor.
Submitted by: Robert Watkins [robert.watkins@qsipayments.com ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268824 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
8a21be4984
Support setting of the ejbc compiler class.
I also added some code to determine the compiler to use based on the publicID
of the DTD referenced in the descriptor.
Submitted by: Ted Kandell [tkandell@verticalnet.com ]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268823 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
7b485798bb
revert <style> to old behavior - make its style attribute interpreted
as relative to the basdir attribute. Make sure it works when handed an
absolute path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268820 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
571c177da2
Change Chmod task so that the usage
<chmod dir="${build.dir}" perm="ug+rwx"/>
works. This was being used in the Alexandria project and seems
reasonable usage but was not in fact supported.
Catching this usage is somewhat messy however.
I factored out the code for executing the command into a final method
runExecute so that I could invoke it from chmod. This means ExecTask has
runExec and runExecute which may be confusing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268815 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
8d904286f0
Updated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268814 13f79535-47bb-0310-9956-ffa450edef68
25 years ago