Stefan Bodewig
b5fcf10604
add resource collection support to tar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@326643 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
6b537c31e7
Control building all optional jars the same way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@295068 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jan Materne
5607c4fa72
Prepare for Gump integration (Gumpy needs ALL optional jars). Next step: configure Gump for overwriting the property "optional.jars.whenmanifestonly".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@295060 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
01967f4543
Updated the Jar task to have an whenmanifestonly attribute,
creating the possibility to skip jar files that would
otherwise only contain a jar file. Also started to use this
for the optional tasks in the build.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@293157 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
7527ef1962
Antlib changes. One I like, one I am still not sure I have right
1. you can go <typedef uri="antlib:something" /> and the resource is worked out automatically from the URI.
2. if you use antlib://org/ex/resource.xml we load in the resource by its full path, so you dont need multiple packages to have multiple antlib files.
I'm not sure about #2 ; I think it is convenient once you have antlib-only distros (i.e. inline declaration and script; nothing else), but am not sure about the syntax. Maybe
antlib://org.ex/antlib.xml would be better, and more in keeping with WWW URLs; if /antlib.xml is omitted, we would add it by default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278535 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
584f19cde5
Suppress CVS ChangeLogParser test unless tests and Ant share classloader.
Not sure why, but apparently needed even after a clean and rebuild.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278505 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
d96ebf2d5c
mkdir -p doesnt fail if the dir already exists, so we do not need to ignore the errors.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278477 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
e99b743779
no, I need the parent dirs too
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278475 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Steve Loughran
641bb2b769
Enhanced upload process.
1. you can override the machine and dest dirs
2. we create the dest dirs, if not found (ignoring errors if they exist)
3. the init-upload target prints out what is about to happen, to help prepare for a private redistribution
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278474 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
1ee135912c
Oops, must build in the contents of src/resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278340 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
0a9fc364a4
Complement includeTests with excludeTests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278313 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
dfa0ee5e42
Add information concerning the new java-repository
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278300 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
38e6ffb467
new target upload merged from Ant 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278298 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
8d5a90a829
Exclude AbstractScriptComponent.java as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278280 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Antoine Levy-Lambert
f2eef391c2
build the distribution with subdirectories source and binaries like
the directories on the Apache web site
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278274 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
588caddadb
Add SHA1 checksums, prepare stuff for http://www.apache.org/dist/java-repository/
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278242 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
53bcbf1d66
Unit Test for PR 32973
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278056 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
27ec2ca9c6
Heard no objections; add includetests property to narrow the batchtest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278053 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
abf8e1ecce
-tests for old and new signjar features written; working
-signjar test patched for offline testing
-fixed SignJar to pass the tests
-doc updates to match tested code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278049 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
80593698b1
Moving isreachable to reflect on the new method. On java <=1.4; if the hostname can be resolved then we are reachable.
All tests run against localhost. This *should* work everywhere, but no doubt someone with a confused /etc/hosts or no IPv4 stack will have different opinions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277887 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
dae6ce9ace
Apt testing. We can say this works now :)
I do worry that the example Java1.5 code looks just like STL C++.
We also need to compare factorypath with classpath behaviour. But we can demo that you can add new factories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277860 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
fc326bfdc8
ClasspathUtilsTest fails for junit.fork=true as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277849 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
9b1699347c
Move DirectoryScanner.getScannedDirs() to package-private access;
add DirectoryScannerTest to tests.and.ant.share.classloader tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277814 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
a9ce12032f
Excluding XSD tests on systems without an adequate parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8a1a7f9530
fix logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277723 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
000c62389f
Kaffe suddenly supports java.lang.Readable, but not InetAddress.isReachable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277722 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
e655ab99bd
Some people expect an INSTALL file, PR 33273
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277692 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0562cd0400
clear the cached directory scanner when cloning an abstractfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277681 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
558c849718
Disable clone test until we know why it fails on Linux.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277677 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a799f17a4e
Turn <deleteFromTarget> into <preserveInTarget> in <sync>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277591 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ab0d0f78f4
Use refelection to completely decouple Native2Ascii from Sun's implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277566 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
bd2954ad1e
Support Kaffe in native2ascii, make it a full facade task later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277561 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
aae6a87238
The new interface can't compile on Kaffe yet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277557 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
33459289c5
Fixing the exclusion path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277375 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
5fa7f18c21
Adding scripting support to selectors. No personal need for this right now, just rounding off what you can now do with mappers via filterchains
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277368 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d16eabe443
regexp mapper test requires a regexp engine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277347 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
763ad7ae9b
Propagate build.compiler to tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277247 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8f464f7f90
SplashScreenTest can't be compiled without SplashTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277220 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
57195a2186
Temporarily skip test that fail in Gump because of a Gump bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277185 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
71333195c9
Trying to make unit tests independent of CWD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
72b5c7aa3b
ChangeLogWriterTest uses package private class ChangeLogWriter - doesn't work unless both come from the same classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277020 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
cffb3d09d1
remove httpclient selector. Leave the test in for future use.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276990 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7651d02856
1. Updated repository work; now has the following from Russel Gold's contrib
-uses <get> to get
-sets a classpath after
2. some changes to Get to make this work. They also lay the way to adding progress indicators to guis, if that is felt useful in IDEs (it may be, once downloads become more common)
3. starting on security. This will need to work with <checksum> to get done. Currently the md5 can be fetched if asked for, and if so it must exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276989 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
060243e8bf
Use org.apache.log4j.Logger instead of org.apache.log4j.Category
PR: 31951
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276979 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f993e95b32
Make handling of javac -source easier. Simply make JDK 1.4.1's
interface upwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276977 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
94776206e4
More Mono trouble on Brutus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276973 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66ca57654d
Replace all is dangerous
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276959 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d2ceff2d4e
Move GetLibrariesTest to make tests compile without httpclient
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276958 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
276a003a91
disable .NET tests until Mono on Brutus works as it should
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276948 13f79535-47bb-0310-9956-ffa450edef68
21 years ago