peterreilly 2004/11/18 01:49:25
Modified: . Tag: ANT_16_BRANCH WHATSNEW
src/main/org/apache/tools/ant/helper Tag: ANT_16_BRANCH
ProjectHelper2.java
Log:
sync
Revision Changes Path
No revision
No revision
1.503.2.144 +3 -0 ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/ant/WHATSNEW,v
retrieving revision 1.503.2.143
retrieving revision 1.503.2.144
diff -u -r1.503.2.143 -r1.503.2.144
--- WHATSNEW 28 Oct 2004 08:48:48 -0000 1.503.2.143
+++ WHATSNEW 18 Nov 2004 09:49:24 -0000 1.503.2.144
@@ -66,6 +66,9 @@
* Properties.propertyNames() should be used instead of .keys().
Bugzilla report 27261.
+* Target location is not set for default target.
+ Bugzilla report 32267.
+
Changes from Ant 1.6.1 to Ant 1.6.2
===================================
No revision
No revision
1.33.2.18 +3 -0
ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
Index: ProjectHelper2.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
retrieving revision 1.33.2.17
retrieving revision 1.33.2.18
diff -u -r1.33.2.17 -r1.33.2.18
--- ProjectHelper2.java 12 Nov 2004 11:08:00 -0000 1.33.2.17
+++ ProjectHelper2.java 18 Nov 2004 09:49:25 -0000 1.33.2.18
@@ -601,6 +601,9 @@
boolean nameAttributeSet = false;
Project project = context.getProject();
+ // Set the location of the implicit target associated with the
project tag
+ context.getImplicitTarget().setLocation(
+ new Location(context.getLocator()));
/** XXX I really don't like this - the XML processor is still
* too 'involved' in the processing. A better solution (IMO)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]