Conor MacNeill
1ecd522f7e
Actually may as well use ZipFile/ZipEntry since not using the JDK
manifest class - it cannot handle multiple Class-Path entries
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273886 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
eda5a816c8
Fix possible ClassCastExceptions due to use of ZipEntry rather than JarEntry
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273885 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
3d080db0c4
Handle whatever reason a platform specific class is in accessible
(some users get security exceptions)
PR: 15421
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273883 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
872b65ba6b
add src nested element, remove full listing of commands; get definition nested elt to work properly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273882 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
a506341591
Include jars from the manifest's classpath into the classloader
PR: 6921
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273881 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ade88beec3
Quick, before Stefan finds out ...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273877 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
bb9355b33d
Move ANT_OPTS to front of Java command line to supprot JDKs with position
sensitive command line options
PR: 16260
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273876 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
59ae8f7485
cvs up -dP --pedantic-copyrigt-check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273875 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
50ab376294
Add support for Package information to the ClassLoader
Rather than using reflection I have created a JDK 1.2+ specific
subclass of the AntClassLoader. This has necessitated replacing
direct construction of the classloader with a factory method in
Project. This factory method will attempt to create the new
class loader dynamically and then fall back to the current version if
the new loader is not available.
Existing users who construct the classloader directly will continue to
work as at Ant 1.5 - i.e. no package information is created. All Ant
code (except classloader) uses the new factory method
PR: 11196
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273874 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e0459e7ba7
handle some directory cases in ZipScanner
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273873 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
ed1ff2341b
JDK 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273872 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
cea7ed8306
Typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273865 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
40369167ad
Don't out-of-date sources more than once.
PR: 16371
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273864 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
83edbb7a85
handle errors in command line arguments by throwing exception, making
Jon Skeet happy and fixing
PR: 16123
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273863 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a30889de71
Java Runtime Libraries in JDK 1.4 is a bit more than just rt.jar.
PR: 16242
Submitted by: Ville Skytt� <ville dot skytta at iki dot fi>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273861 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f0d9fbab46
Some cosmetics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273860 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
10d0c2b6bb
Add some tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273858 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
99e9209146
forgot to run my script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273853 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b15a6630f0
Give proper credit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273851 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a9353331a9
Initial fix for the <jar> doesn't update bug, will need some
refinement (see extra mail to list).
PR: 10755
Submitted by: Antoine Levy-Lambert <levylambert at tiscali-dsl dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273848 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
d9939bab27
Add pointer to VPP.
Submitted by: didge <didge at foundrylogic dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273842 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
45a9b5ae58
Fix uptodate check when using attributes rather than filesets
PR: 16119
Submitted by: Larry Isaacs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273841 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
e910d5184a
Properly support containsKey in LazyHashtable.
Fix the wrong semantics of AntTaskTable#contains.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273834 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
50c532e1a1
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273830 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9b9894a107
added .DS_Store to default excludes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273829 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c2dba68725
Factor out XML Context into its own class
Clean up style conformance in ProjectHelper2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273828 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Loughran
9d74327d0a
refactoring of the <depends> Selector and a new subclass <different>, which has a more advanced definition of different from just timestamps.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
8ca6f54b9a
Fix some JDK 1.1 issues - only culprit remaining is Diagnostics with
its class locating code.
Learned by failing <xmlvalidate> tests that FileUtils.getFileURL
wouldn't append slashes where it should (because normalize strips
them).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273824 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
bf37341e1a
Take care of the original manifest when updating a jar.
PR: 12651
Based on code submitted by: Ben Jenkins <bjenkins at dynamicsoft dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273822 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a6dc398196
Add (disabled) tests for 12651
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273821 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
745031fad7
Add (disabled) tests for 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273820 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
21660b7678
Actually enable namespace support in ProjectHelper2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273819 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
7d38166d02
Fix up PVCS folder creation
PR: 3219
Submitted by: Shane Hartman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273818 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
448f5ee22c
Associate messages with the correct tasks in XML Logger.
Where an UnknownElement is involved, need to look a little harder
Commented out for now the code which associated a project level message
with the currently active element - better to have it go to the project
level
PR: 7926
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273817 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
52946af6fe
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273809 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
05aec1874f
Search for jarsigner in JAVA_HOME using standard JDK tool search
(JavaEnvUtils is cool)
PR: 11175
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273808 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
5034769eb7
Restore ability of signjar keystore to take a URL
PR: 10672
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273807 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4dd9da76b4
&x should better be &#x
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273804 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
0a60a74c8c
Initial tests for Import including a test to highlight issue importing
unnamed projects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273802 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7b8097afa8
Don't allow ]]> within CDATA sections.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273801 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
2ce3f17386
Oops... 2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273800 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
386d0634b9
Translate not ignoring comment lines
PR: 16042
Submitted by: morpheus@smi.stanford.edu (Mark Woon)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273798 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
6a65262ae7
Make build.sysclasspath handling more consistent.
PR: 15014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273795 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
feb447ccc1
Enable <get> compilation without Sun classes.
PR: 16006
Submitted by: Dalibor Topic <robilad at yahoo dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273785 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
c5fa091ce5
Don't fail if the file doesn't exist in <xmlproperty>
PR: 15674
Submitted by: Nicola Ken Barozzi <nicolaken at apache dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273784 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
d1019d39f4
Import updates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273783 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
66a9ab78b7
Make this compile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273782 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
3c329a6a4a
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273780 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
e26227929e
Don't execute the implict target if no default available.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273776 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a7cadc1c26
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273773 13f79535-47bb-0310-9956-ffa450edef68
23 years ago