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
metasim
2d4bfedfb6
Committed Nick Davis' patch to add action toggleability.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268813 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9783e6c8cc
Make Ant deal with non-String elements stored in system properties.
PR: 904
Submitted by: peter.holzwarth@io-software.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268810 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
dbebd7ff8b
Make delete quiet when trying to delete non-existent files. The message
is now logged with verbose mode.
Reported by: Jon Stevens <jon@latchkey.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268807 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2bc52047f2
Make <style> resolve the stylesheet file name the same way as all
other tasks do.
Try #2 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268806 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
dab0e37234
Make <antcall> and <ant> more Script-friendly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268805 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
2870e59a51
Backing out change...
----------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268799 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
a3db26c765
removed redundant condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268798 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
753b60552e
Make sure bootclasspath and extdirs attribute of <javac> get special
treatment if running JDK 1.1.
PR: 841
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268796 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
6c0b93ef1e
Make <style> resolve stylesheet filename as relative to the projects
base directory.
PR: 603
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268791 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
4053c68fd7
Make antstructure ommit tasks it cannot load properly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268786 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e65f093c8c
Make <antstructure> deal with EnumeratedAttribute attributes whose
values don't match the NMTOKEN production.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268785 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
3f45fc1d3e
Make the whenempty attribute of zip use an EnumeratedAttribute - alows
the DTD to be stricter.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268783 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
bb97500b49
Make sure javah's outputFile attribute will be resolved correctly.
Submitted by: Jesse Glick <Jesse.Glick@netbeans.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268782 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b0edc6575b
Fix bug in P4 tasks when port, user or client have not been specified.
Submitted by: Byrne Reese <breese@grandcentral.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268780 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
metasim
2136cff173
Added property missed in last patch.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268779 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
635c56e2db
Make testcases independent of current working directory - add one for <copy>.
Submitted by: David Rees <d.rees.l@usa.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268778 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
b30d297b23
Workaround for a bug in Kaffee.
Submitted by: Takashi Okamoto <toraneko@kun.ne.jp>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268777 13f79535-47bb-0310-9956-ffa450edef68
25 years ago