DO NOT REPLY [Bug 41647] ConditionBase and TaskContainer do not work together since ant 1.6.0

2008-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41647


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #3 from Stefan Bodewig [EMAIL PROTECTED]  2008-10-27 07:49:11 PST 
---
OK, I've combined my code from revision 707398 ( 
https://svn.apache.org/viewcvs.cgi?view=revrev=707398 ) with my second option 
of comment
#1.  Fixed in svn revision 708204 ( 
https://svn.apache.org/viewcvs.cgi?view=revrev=708204 ).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46088] Performance (speed) of large path(s) must be improved.

2008-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46088





--- Comment #1 from Matt Benson [EMAIL PROTECTED]  2008-10-27 07:53:57 PST ---
Some of the resource collections do have a 'cache' attribute.  Further, most
places that accept paths should accept other resource collections, so a simple
workaround for you would be to wrap your path in a union resource collection
(cache defaults to true).  Contrary to your assertion that paths, filesets,
etc. are considered to be immutable, pre-Resource Collection versions of Ant
worked by re-scanning for files (e.g. when getting the members of a fileset, of
which it was and is possible to compose paths).  When path was retrofitted as a
resource collection it actually did originally cache results, leading to bug
41151 (a regression).  As an additional measure we could propagate the 'cache'
attribute directly to path to be passed to its underlying union (the original
cut of path as a resource collection extended union and thus did support this
attribute, but this was never released).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


svn commit: r708217 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java

2008-10-27 Thread bodewig
Author: bodewig
Date: Mon Oct 27 08:16:14 2008
New Revision: 708217

URL: http://svn.apache.org/viewvc?rev=708217view=rev
Log:
Make mail work for SSL + authentication with javamail 1.4.1.  PR 46063.  
Submitted by Craig Richardson

Modified:
ant/core/trunk/WHATSNEW
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=708217r1=708216r2=708217view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Mon Oct 27 08:16:14 2008
@@ -274,6 +274,10 @@
work as TaskContainers at the same time.
Bugzilla Report 41647.
 
+ * combining SSL and authentication in mail and MailLogger failed in
+   some setups.
+   Bugzilla Report 46063.
+
 Other changes:
 --
 

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java?rev=708217r1=708216r2=708217view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java 
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java 
Mon Oct 27 08:16:14 2008
@@ -247,7 +247,10 @@
 }
 msg.setContent(attachments);
 try {
-Transport.send(msg);
+// Send the message using SMTP, or SMTPS if the host uses SSL
+Transport transport = sesh.getTransport(SSL ? smtps : 
smtp);
+transport.connect(host, user, password);
+transport.sendMessage(msg, msg.getAllRecipients());
 } catch (SendFailedException sfe) {
 if (!shouldIgnoreInvalidRecipients()) {
 throw new BuildException(GENERIC_ERROR, sfe);




DO NOT REPLY [Bug 46063] MailLogger does not work correctly with SSL

2008-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46063


Stefan Bodewig [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #4 from Stefan Bodewig [EMAIL PROTECTED]  2008-10-27 08:17:32 PST 
---
If you have an SLL environment without authentication at hand, I'd appreciate
if you could test it.  I've tested it an a simple SMTP-only environment and
received my test mails without authentication.

svn revision 708217 ( https://svn.apache.org/viewcvs.cgi?view=revrev=708217 ).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.


DO NOT REPLY [Bug 46088] Performance (speed) of large path(s) must be improved.

2008-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46088





--- Comment #2 from Aleksandar Susnjar [EMAIL PROTECTED]  2008-10-27 09:55:36 
PST ---
I *did* mention the problems you re-state (... it can contain mutable
pieces...). And paths are presented as immutable themselves as there is no way
to affect them from the script once they are created. 

I resolved my own problem by creating my own subclass which caches its own
results but also pre-wraps its component resource collection for added iterator
performance. I could share this source code, but this *would* cause problems if
someone expects file system changes to be reflected after caching (I don't have
such a problem).

I like the idea of adding cache attribute to Path (and other resource
collections).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46089] Build target specification on command line can be enhanced

2008-10-27 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46089





--- Comment #2 from Aleksandar Susnjar [EMAIL PROTECTED]  2008-10-27 09:59:39 
PST ---
Hmm... cool. Didn't know about that. However, there is still room for
improvement. This appears awkward and may cause ordering issue without
something like I mentioned in 46090. My current shell allows both modes to be
mixed, such as a+b c+d... 

Nevertheless, I will likely switch to your proposal.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


svn commit: r708318 - /ant/ivy/core/branches/2.0.0-rc2/version.properties

2008-10-27 Thread maartenc
Author: maartenc
Date: Mon Oct 27 14:12:35 2008
New Revision: 708318

URL: http://svn.apache.org/viewvc?rev=708318view=rev
Log:
Updated bundle version

Modified:
ant/ivy/core/branches/2.0.0-rc2/version.properties

Modified: ant/ivy/core/branches/2.0.0-rc2/version.properties
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/version.properties?rev=708318r1=708317r2=708318view=diff
==
--- ant/ivy/core/branches/2.0.0-rc2/version.properties (original)
+++ ant/ivy/core/branches/2.0.0-rc2/version.properties Mon Oct 27 14:12:35 2008
@@ -17,4 +17,4 @@
 #   * under the License.
 #   ***
 target.ivy.version=2.0.0-rc2
-target.ivy.bundle.version=2.0.0-cr2
+target.ivy.bundle.version=2.0.0.cr2




svn commit: r708330 - in /ant/ivy/updatesite/trunk/dist: ./ features/ plugins/

2008-10-27 Thread maartenc
Author: maartenc
Date: Mon Oct 27 14:35:16 2008
New Revision: 708330

URL: http://svn.apache.org/viewvc?rev=708330view=rev
Log:
preparing for Ivy 2.0.0.cr2 release

Added:
ant/ivy/updatesite/trunk/dist/digest.zip.md5
ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar 
  (with props)

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar.asc

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar.md5

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar.sha
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar   (with 
props)
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.asc
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.md5
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.pack.gz  
 (with props)

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.pack.gz.asc

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.pack.gz.md5

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.pack.gz.sha
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr2.jar.sha
Removed:
ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr1.jar

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr1.jar.asc

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr1.jar.md5

ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr1.jar.sha
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.asc
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.md5
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.pack.gz

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.pack.gz.asc

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.pack.gz.md5

ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.pack.gz.sha
ant/ivy/updatesite/trunk/dist/plugins/org.apache.ivy_2.0.0.cr1.jar.sha
Modified:
ant/ivy/updatesite/trunk/dist/digest.zip
ant/ivy/updatesite/trunk/dist/digest.zip.asc
ant/ivy/updatesite/trunk/dist/digest.zip.sha
ant/ivy/updatesite/trunk/dist/site.xml

Modified: ant/ivy/updatesite/trunk/dist/digest.zip
URL: 
http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/dist/digest.zip?rev=708330r1=708329r2=708330view=diff
==
Binary files - no diff available.

Modified: ant/ivy/updatesite/trunk/dist/digest.zip.asc
URL: 
http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/dist/digest.zip.asc?rev=708330r1=708329r2=708330view=diff
==
--- ant/ivy/updatesite/trunk/dist/digest.zip.asc (original)
+++ ant/ivy/updatesite/trunk/dist/digest.zip.asc Mon Oct 27 14:35:16 2008
@@ -1,7 +1,7 @@
 -BEGIN PGP SIGNATURE-
-Version: GnuPG v1.4.9 (MingW32)
+Version: BCPG v1.41
 
-iEYEABECAAYFAkjPZEEACgkQA/aMvd6IhKD6ywCgtyf+y+DrGzFuoH7qWVmkssEl
-ulQAn3SoKxwCf5E0fGq82Fgpo/BQh1og
-=u5Cy
+iEYEABECAAYFAkkGMwwACgkQW+C6jLgGAq471QCgu/xobM/wrF/noZXlgQksWYKq
+4Y0An0C5BGeuOHwiRT5iFdi2lf0CoVD4
+=OADa
 -END PGP SIGNATURE-

Added: ant/ivy/updatesite/trunk/dist/digest.zip.md5
URL: 
http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/dist/digest.zip.md5?rev=708330view=auto
==
--- ant/ivy/updatesite/trunk/dist/digest.zip.md5 (added)
+++ ant/ivy/updatesite/trunk/dist/digest.zip.md5 Mon Oct 27 14:35:16 2008
@@ -0,0 +1 @@
+494c7e17ec8ff22415a0b4fa28e328fa *digest.zip

Modified: ant/ivy/updatesite/trunk/dist/digest.zip.sha
URL: 
http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/dist/digest.zip.sha?rev=708330r1=708329r2=708330view=diff
==
--- ant/ivy/updatesite/trunk/dist/digest.zip.sha (original)
+++ ant/ivy/updatesite/trunk/dist/digest.zip.sha Mon Oct 27 14:35:16 2008
@@ -1 +1 @@
-a9f8674301436a42fa9ba355f79c8b3fa5519b71 *digest.zip
+6bcd8cb1dc9109968c739b8bdd653952f21d4100 *digest.zip

Added: 
ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar
URL: 
http://svn.apache.org/viewvc/ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar?rev=708330view=auto
==
Binary file - no diff available.

Propchange: 
ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar
--
svn:mime-type = application/octet-stream

Added: 
ant/ivy/updatesite/trunk/dist/features/org.apache.ivy.feature_2.0.0.cr2.jar.asc
URL: