Stefan Bodewig
c8e91147e3
properly set CodeSource when loading classes. PR 20174
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796702 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
26f846b838
allow access to parent. PR 35436
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796649 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8ebe808f72
override getResources in a new AntClassLoader subclass that will be used consistently when Ant is running on Java5+. PR 46752
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796647 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e04ff4d52c
make all classes use the same AntClassLoader constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796614 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c5a945fe3c
Allow users to specify a classpath when using a custom adapter in javac, rmic, javah or native2ascii. PR 11143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796188 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
964bac4fa4
Java 1.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796169 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ffe7ce3c54
log stuff when actually creating the archive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794639 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8df1ef0ecf
make update="true" and filesetmanifest="merge" work together. PR 30751
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794630 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d18b665886
extract method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794274 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a4c9863544
don't compare timestamps on directories but add missing dirs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794255 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
50558dd274
don't ignore directory resources when performing up-to-date checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794215 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
4b52f604ad
alphasort directories read from non-FileSet resource collections - DirectoryScanner already sorts them appropriately for FileSets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794214 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e24b8aa6a0
new zip logic bypassed overridden method in jar and broke manifest/index logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794212 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5c440d2481
preserve ZIP extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794204 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a6e42833f6
preserve timestamps for directories added to a zip archive (and potentially zip extra fields as well)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794198 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c341e8606d
refactor zip archive creation logic into smaller chunks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794177 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
393113dc69
record task doesn't work properly with subbuilds. PR 41368. Submitted by Greg Schueler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793792 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0768b9b643
filesetmanifest=mergewithoutmain didn't work for nested manifests. PR 29731.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793787 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
4de20278c2
Add an executable attribute to rmic. PR 42132
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793605 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
3499194926
try to unwrap ScriptException - unfortunately it doesn't seem to work - PR 47509
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793540 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ddf5cd73c9
check error on remaining PrintWriter instances
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d24621d411
potential NPEs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793516 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
104de0d7d2
double buffering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793510 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
38bbf18dc4
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793509 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f62d563414
PrintWriter hides exceptions, avoid it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793462 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
d4071f9eb6
Also allow redirect from http to https a subset of what was requested in pr 47433. Tests from https to http v.v. have also been executed I couldn't find a https space for public testcases though.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793048 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a9c576b742
make the executable attribute of apt inherited from javac work as expected. PR 46230
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792967 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5a534d1146
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792961 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7f24568899
add a new indexMetaInf attribute to <jar>. PR 47457.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792960 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7cb6f4d999
clear out buffer so the last block is always filled with EOF records. PR 47421
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789556 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
82ae2eb245
Issue a warning in case neither includeantruntime nor build.sysclasspath were set,
since the default gives scripts an implicit environmental dependency which is often unwanted.
See also: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=158958
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789479 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0ce2545f6c
add prefix and suffix attributes to apply's srcfile and targetfile elements. PR 45625
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789271 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c62e477a0b
prefix and suffix attributes for command line arguments, PR 47365, submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@788677 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
183de933a1
explicitly set encoding to iso-8859-1 since this is what Properties.load expects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786515 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ab8c8e14e9
loadproperties' encoding attribute is broken. PR 47382
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786506 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
38db83d1c8
Don't ignore missing resources in copy when failOnError is true. PR 47362
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786504 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
18141ca0aa
really add setbeans attribute to scriptmapper/filter/condition. PR 47336
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@783050 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
aaf629b7ab
pass on IOException from Runtime.exec as the old code did - and as promised by the javadocs. This fixes ant-contrib's tests in Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@782990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
76aa472311
replacetokens failed if stream ends in begintoken. PR 47306.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@781357 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
bbea1d834d
javadoc creation of Ant's own sources failed on JDK 1.4. PR 46731. Patch submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@775914 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7984fd2400
special handling of IllegalArgumentExceptions in attribute setters for better error messages. PR 47129
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772606 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
cba01025c0
honor failonerror on connection problems. PR 46829.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772543 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
de5ed88e5e
Remove pre java 1.3 construct.
Remove spawn from Execute (spawn from ExecTask is actually used, the one here was never used)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@768513 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0cda41d5b7
add a force option to signjar. Based on submission by Pavel Jisl. PR 46891
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@763661 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jan Materne
94232b62a9
Better documentation of getSubProjectExecutor()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@761528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
d7c3883e53
document SecureInputHandler and add to known input handler types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@759322 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
9922008d65
Improve bzip2 performance, submitted by Rodrigo Schmidt, PR 24798
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@759138 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a29bda0274
properly set the size of directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@755473 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
54166cfaf0
deal with file system roots being added - was leading to IndexOutOfBoundsExceptions in File-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@755231 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
c75a494bd8
Bug 46812 - <tarfileset> no longer takes a fileset ref (regression)
-changed the overrode the Datattype.getCheckedRef() logic in ArchiveFileSet, delegating to the overridden getRef in all such cases; the subclasses all do their fileset imports there. Added a test. Not changed WHATSNEW unless there's evidence that this test fails in Ant1.7.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@751695 13f79535-47bb-0310-9956-ffa450edef68
17 years ago