Stefan Bodewig
3c2825538a
Explicitly compile the stuff that javac will pick up because of
dependencies anyway.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269481 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8bde1a4491
leave it to the imagination of the users what may happen if you
specify both, eol and cr.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269480 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bdf4456a77
New task dependset
Submitted by: Craeg K. Strong <cstrong@arielpartners.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269479 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
21426bf475
Move FileUtils into util package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269478 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
b36f7bfbdf
Forgot to regenerate after fixing typos
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269477 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1a11e90cdb
Add a page to describe steps taken to resolve issues and how to submit
useful bug reports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269476 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9df10c6eb9
remove stray CRs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269475 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f5f32f163a
Make log messages from System.out calls, remove some code in execute
that was redundant, remove some tabs, add testcase that checks that
files don't get overwritten if they'd be identical to the new version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269474 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
fa86f754a9
Roll back those changes - just seeing the difference between current ant
and site style sheets.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269473 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1a9be7f6fb
Add test for Bootstrap failures
Simplify the build by using inheritAll="false"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269472 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
e2cf23ba9c
Provide access to old behaviour for those tasks that rely on it, such
as Anakia
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269471 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5cf91961ce
Define backward compatability constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269470 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
446c76d833
Restore task logging and events
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269469 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
329021e4de
update documentation for <fixcrlf>
PR: 1053
Submitted by: Peter B. West <pbwest@powerup.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269468 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
00e45341a1
Add support for Symantec's javac.
Submitted by: Don Ferguson <don@bea.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269467 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
722f6306c7
Only print the final stack trace if in verbose or debug mode, otherwise
just print exception message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269466 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0bf139178a
WLJSPC task documentation
Submitted by: Avik.Sengupta@Dresdner-Bank.com <Avik.Sengupta@Dresdner-Bank.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269465 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
bdb8014ea4
Bring back FixCRLF usage in build
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269464 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
9091202b2a
Fix bootstrap problems. Two issues. Filtering was always been done
Antcall was broken since the ProjectComponent check is too agressive
Now only applies to data types. The Ant task is perhaps a little special
in that it returns a task for one of its nested elements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269463 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1f901a39e3
General cleanup of typos in <ejbjar> documentation and description
of which tools are now supported by the task
Submitted by: Greg Nelson <greg@netscape.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269462 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
3558d52586
Docs fro jBoss element of <ejbjar>
Submitted by: Paul Austin <paustin@viant.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269461 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
18c950a6f6
Updated Filter task to use the new FilterSet in the Project fro global
filters
PR: 1545
Submitted by: Michael McCallum <gholam@xtra.co.nz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269460 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
fa21d1fe0c
Initial implementation of FilterSets. I've done some major surgery on the
patch from PR1545. There is also more to come.
PR: 1545
Submitted by: Michael McCallum <gholam@xtra.co.nz>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269459 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
40a387aa61
Give data types some of the capabailities of Tasks, namely access
to the project object and the ability to log messages through that
project. The IntrospectionHelper cooperates to ensure DataTypes
created as nested elements are correctly setup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269458 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
057958d823
Fixed the stupid mistake I did when merging my last changes.
I mistakenly removed part of a previous patch. Shame on me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269457 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
55dcf2dee8
New task <condition>.
This is a first cut of the generalization of <available> and
<uptodate> that is on the list for Ant2. This task supports a single
condition and sets a property if it holds true - conditions can be
containers for other conditions in turn, giving it the opportunity to
support boolean logic.
Built in conditions as of now:
* <available> and <uptodate> (slightly modified the tasks to allow them to
be used as conditions)
* containers <and>, <or> and <not>
* New conditions <equals> (compares to Strings) and <os> which should
give easier access to os.name.
More extensive documentation to follow. Take a look at Ant's build
file, it uses the task to detect whether javamail is available now.
I had to perform some ugly tricks to make sure that project gets
passed to every object that will need it - this will be very different
in the future I hope.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269456 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
70b420621b
Pesky windows locking
Can't rename a file that is open or where the destination exists
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269455 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ac1664c3fd
Propagate errorproperty and failureproperty from BatchTest to all of
its elements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269454 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b162d6d5c4
Add fork attribute to <javac>.
PR: 383
Submitted by: Brian Deitte <bdeitte@macromedia.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269453 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
36f7c9bb7b
Some minor JDK 1.1 compatibility problems. MMetricsStreamHandler.java
still won't compile.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269452 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
1a93e607f2
Add a Log4j listener
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269451 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
6ff47bd2ae
Rollback previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269450 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a794b2b204
<fixcrlf> now deals with CR only line-ends and arbitrary tab lengths.
It should work independant of the size of the file as well.
Additionally it can treat tabs inside character constants in source
files differently.
Documentation will follow - also it will now update the timestamp of
files, even if the file doesn't change. This will be fixed before the
final release but shouldn't stop us from starting the beta cycle.
PR: 1053
Submitted by: Peter B. West <pbwest@powerup.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269449 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
af7fb0127a
Fixed a possible systemid problem reported by glennmaughan@optushome.com.au (Glenn Maughan)
Moved the timing garbage generated as well to a global timing instead...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269448 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
24 years ago
Stephane Bailliez
cc569b21fc
Mini testcase for the Java task....not fantastic but better than nothing..
It mainly test for the -jar option
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269446 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
458b181fc1
Added the support to the -jar option in the command line per suggestion of <aspyker@nc.rr.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269445 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
886b552945
Added the support to the -jar option in the command line per suggestion of <aspyker@nc.rr.com>
fixed a bug (?) in the size method that was not returning the correct size.
added some javadocs....still a lot of work :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269444 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Sam Ruby
198880a644
Avoid NPE's - seen when running JUnit on Win2K
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269443 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5f35fa88d3
Two steps forward, one step back - make it build under JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269442 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
8543e47b28
Add jvmVersion attribute so that maxmeory is formatted correctly for the
target JVM
PR: 2913
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269441 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0e37f4714c
Handle innser classes in the default package
PR: 2934
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269440 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
046a49448b
Actually set the exception on task level messages
PR: 2942
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269439 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6f0e2f06ac
BuildExceptions were not printing their own stack trace. They do this now
but it does make the output in the event of a failure a bit noisier
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269438 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f97f71d5d1
Make if and unless attributes of <target> dynamically evaluated
PR: 2955
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269437 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
6e33aa3d8c
Small fix in Zip.java.
In ant1.3 you can specify the prefix ( for war, zip, etc ), that doesn't seem
to work anymore ( since <fileset> will create a simple filest, without the
prefix attribute ).
If we create a ZipFileSet instead of FileSet everything works again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269436 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Costin Manolache
dce8636fe3
Small fix in manifest, added Class-Path attribute, now it should
work with java -jar ant.jar
Let me know if there's any problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269435 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f9a500cd6b
Support for kopi and gcc implementations of <javac>.
PR: 2476
Submitted by: Takashi Okamoto <tora@debian.org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269434 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
261ac57e67
Expand properties in <sql>.
PR: 1447
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269433 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
693d7c8906
Add nested <fileset> to <sql>
Submitted by: Tim Stephenson <tim.stephenson@sybase.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269432 13f79535-47bb-0310-9956-ffa450edef68
24 years ago