DO NOT REPLY [Bug 41090] - jsch-0.1.30 causes SCP task to hang

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41090





--- Additional Comments From [EMAIL PROTECTED]  2006-12-20 23:45 ---
Created an attachment (id=19296)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19296&action=view)
a patch for ant 1.7.0

jsch 0.1.30 has improved the stream handling internally and it must be flushed
explicitly.


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41090] - jsch-0.1.30 causes SCP task to hang

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41090





--- Additional Comments From [EMAIL PROTECTED]  2006-12-20 14:41 ---
Hi, I'm an author of jsch and I'm interested in reproducing this problem.
Is it reproducible on Ant 1.7.0?  Can you estimate how much of bytes
should be transferred to reproduce it, a few Kbytes, Mbytes, Gbytes?

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39189] - should permit selection of alternate executable

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39189





--- Additional Comments From [EMAIL PROTECTED]  2006-12-20 12:49 ---
There is a new 1.5 release out, 1.5.10, which may be vista aware. I will try and
check this on my vista vm.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AntUnit (was Re: [ANN] Ant 1.7.0 Released)

2006-12-20 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Wed, 20 Dec 2006, Steve Loughran
> <[EMAIL PROTECTED]> wrote:
> 
> > Does this also means we can go to 1.0 with
> ?
> 
> Do we want to?
> 
> I haven't seen anybody complain about missing
> features in beta2, is
> AntUnit ready for a 1.0 release?

I was thinking of adding beforetests/aftertests, but
that can wait for 1.0.1 IMHO.

-Matt

> 
> Stefan
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AntUnit (was Re: [ANN] Ant 1.7.0 Released)

2006-12-20 Thread Stefan Bodewig
On Wed, 20 Dec 2006, Steve Loughran <[EMAIL PROTECTED]> wrote:

> Does this also means we can go to 1.0 with ?

Do we want to?

I haven't seen anybody complain about missing features in beta2, is
AntUnit ready for a 1.0 release?

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Steve Loughran

Antoine Levy-Lambert wrote:

Hi Steve,

actually, the org.apache.ant artifacts seem not to be available yet in the 
maven repository.


I knew that :)



I have just posted something to repository@ to find out whether it is just a 
delay, or whether I did something which does not follow the expectations of the 
repo infrastructure.


oh, it just takes a few hours to sync. There is no staging/auditing 
process yet for you to get blocked by


-steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r489122 - /ant/core/trunk/src/tests/antunit/types/resources/test.xml

2006-12-20 Thread jhm
Author: jhm
Date: Wed Dec 20 07:52:11 2006
New Revision: 489122

URL: http://svn.apache.org/viewvc?view=rev&rev=489122
Log:
Check if we are online for the online tests (maybe the property is not passed 
to the test).

Modified:
ant/core/trunk/src/tests/antunit/types/resources/test.xml

Modified: ant/core/trunk/src/tests/antunit/types/resources/test.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/test.xml?view=diff&rev=489122&r1=489121&r2=489122
==
--- ant/core/trunk/src/tests/antunit/types/resources/test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/resources/test.xml Wed Dec 20 
07:52:11 2006
@@ -6,6 +6,15 @@
   
   
   
+
+  
+
+  
+http://www.apache.org"/>
+http://www.google.com"/>
+  
+
+  
 
   
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Antoine Levy-Lambert
Hi Steve,

actually, the org.apache.ant artifacts seem not to be available yet in the 
maven repository.

I have just posted something to repository@ to find out whether it is just a 
delay, or whether I did something which does not follow the expectations of the 
repo infrastructure.

Regards,

Antoine


 Original-Nachricht 
Datum: Wed, 20 Dec 2006 15:01:24 +
Von: Steve Loughran <[EMAIL PROTECTED]>
An: Ant Developers List 
Betreff: Re: [ANN] Ant 1.7.0 Released

> Antoine Levy-Lambert wrote:
> > Hello Steve,
> > 
> > the libs should already be in the maven repository.
> > 
> > But pay attention : groupId is now org.apache.ant, not ant any more.
> 
> That's ok, I'm only moving our project to Ivy this week; we have no hard 
> coded commitments to the old paths.
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Steve Loughran

Antoine Levy-Lambert wrote:

Hello Steve,

the libs should already be in the maven repository.

But pay attention : groupId is now org.apache.ant, not ant any more.


That's ok, I'm only moving our project to Ivy this week; we have no hard 
coded commitments to the old paths.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Antoine Levy-Lambert
Hello Steve,

the libs should already be in the maven repository.

But pay attention : groupId is now org.apache.ant, not ant any more.

Regards,

Antoine
 Original-Nachricht 
Datum: Wed, 20 Dec 2006 13:27:01 +
Von: Steve Loughran <[EMAIL PROTECTED]>
An: Ant Developers List 
Betreff: Re: [ANN] Ant 1.7.0 Released

> Antoine Levy-Lambert wrote:
> > Hi,
> > 
> > We have the pleasure to announce the release of Apache Ant 1.7.0.
> 
> Oh, we need to put the libs up on the maven repository, along with 
> Ant-testutil.jar.
> 
> Does this also means we can go to 1.0 with ?
> 
> -steve
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r489097 - in /ant/core/trunk/src/tests: antunit/taskdefs/jar-spi-test.xml antunit/types/conditions/matches-test.xml antunit/types/resources/selectors/test.xml junit/org/apache/tools/ant/ta

2006-12-20 Thread jhm
Author: jhm
Date: Wed Dec 20 06:21:25 2006
New Revision: 489097

URL: http://svn.apache.org/viewvc?view=rev&rev=489097
Log:
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 
without ORO).

Modified:
ant/core/trunk/src/tests/antunit/taskdefs/jar-spi-test.xml
ant/core/trunk/src/tests/antunit/types/conditions/matches-test.xml
ant/core/trunk/src/tests/antunit/types/resources/selectors/test.xml

ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java

Modified: ant/core/trunk/src/tests/antunit/taskdefs/jar-spi-test.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/jar-spi-test.xml?view=diff&rev=489097&r1=489096&r2=489097
==
--- ant/core/trunk/src/tests/antunit/taskdefs/jar-spi-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/jar-spi-test.xml Wed Dec 20 
06:21:25 2006
@@ -3,6 +3,15 @@
   
   
   
+
+
+  
+
+  
+  
+  
+
+  
 
   
 
@@ -12,7 +21,7 @@
 
   
 
-  
+  
 
 
   
@@ -32,7 +41,7 @@
 
   
 
-  
+  
 
 
   
@@ -54,7 +63,7 @@
 
   
 
-  
+  
 
 
   

Modified: ant/core/trunk/src/tests/antunit/types/conditions/matches-test.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/conditions/matches-test.xml?view=diff&rev=489097&r1=489096&r2=489097
==
--- ant/core/trunk/src/tests/antunit/types/conditions/matches-test.xml 
(original)
+++ ant/core/trunk/src/tests/antunit/types/conditions/matches-test.xml Wed Dec 
20 06:21:25 2006
@@ -3,7 +3,16 @@
   
   
 
-  
+
+  
+
+  
+  
+  
+
+  
+
+  
 
   
 
@@ -11,19 +20,19 @@
 
   
 
-  
+  
 
   
 
   
 
-  
+  
 
   
 
   
 
-  
+  
 
   
 
@@ -34,7 +43,7 @@
 
   
 
-  
+  
 
   
 
@@ -55,13 +64,13 @@
 
   
 
-  
+  
 
   
 
   
 
-  
+  
 
   
   
 
-  
+  
 
   

Modified: ant/core/trunk/src/tests/antunit/types/resources/selectors/test.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/selectors/test.xml?view=diff&rev=489097&r1=489096&r2=489097
==
--- ant/core/trunk/src/tests/antunit/types/resources/selectors/test.xml 
(original)
+++ ant/core/trunk/src/tests/antunit/types/resources/selectors/test.xml Wed Dec 
20 06:21:25 2006
@@ -2,6 +2,15 @@
  xmlns:rsel="antlib:org.apache.tools.ant.types.resources.selectors"
  xmlns:rcmp="antlib:org.apache.tools.ant.types.resources.comparators">
 
+
+  
+
+  
+  
+  
+
+  
+
   
 
   
@@ -343,7 +352,7 @@
 
   
 
-  
+  
 
   
 

Modified: 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java?view=diff&rev=489097&r1=489096&r2=489097
==
--- 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java
 (original)
+++ 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java
 Wed Dec 20 06:21:25 2006
@@ -19,6 +19,7 @@
 package org.apache.tools.ant.taskdefs.optional;
 
 import org.apache.tools.ant.BuildFileTest;
+import org.apache.tools.ant.util.regexp.RegexpMatcherFactory;
 
 import java.io.IOException;
 import java.io.File;
@@ -172,6 +173,10 @@
 }
 
 public void testWithRegex() throws Exception {
+if (!RegexpMatcherFactory.regexpMatcherPresent(project)) {
+System.out.println("Test 'testWithRegex' skipped because no regexp 
matcher is present.");
+return;
+}
 executeTarget("testWithRegex");
 assertDebuglogContaining("ant.home=");
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r489091 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

2006-12-20 Thread jhm
Author: jhm
Date: Wed Dec 20 05:53:58 2006
New Revision: 489091

URL: http://svn.apache.org/viewvc?view=rev&rev=489091
Log:
organize imports

Modified:

ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

Modified: 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java?view=diff&rev=489091&r1=489090&r2=489091
==
--- 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
 (original)
+++ 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
 Wed Dec 20 05:53:58 2006
@@ -18,11 +18,9 @@
 package org.apache.tools.ant.taskdefs;
 
 
-import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.BuildFileTest;
 import org.apache.tools.ant.taskdefs.condition.Os;
 import org.apache.tools.ant.util.JavaEnvUtils;
-import org.apache.tools.ant.util.regexp.RegexpMatcher;
 import org.apache.tools.ant.util.regexp.RegexpMatcherFactory;
 
 /**



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r489089 - in /ant/core/trunk/src: main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

2006-12-20 Thread jhm
Author: jhm
Date: Wed Dec 20 05:52:08 2006
New Revision: 489089

URL: http://svn.apache.org/viewvc?view=rev&rev=489089
Log:
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 
without ORO).

Modified:

ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java

ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java?view=diff&rev=489089&r1=489088&r2=489089
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java
 Wed Dec 20 05:52:08 2006
@@ -133,4 +133,20 @@
 throw new BuildException(t);
 }
 }
+
+/**
+ * Checks if a RegExp-Matcher is available.
+ * @param project  The project to check for (may be null)
+ * @return true if available otherwise false
+ */
+public static boolean regexpMatcherPresent(Project project) {
+try {
+// The factory throws a BuildException if no usable matcher 
+// cant be instantiated. We dont need the matcher itself here.
+(new RegexpMatcherFactory()).newRegexpMatcher(project);
+return true;
+} catch (Throwable ex) {
+return false;
+}
+}
 }

Modified: 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java?view=diff&rev=489089&r1=489088&r2=489089
==
--- 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
 (original)
+++ 
ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java
 Wed Dec 20 05:52:08 2006
@@ -18,9 +18,12 @@
 package org.apache.tools.ant.taskdefs;
 
 
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.BuildFileTest;
 import org.apache.tools.ant.taskdefs.condition.Os;
 import org.apache.tools.ant.util.JavaEnvUtils;
-import org.apache.tools.ant.BuildFileTest;
+import org.apache.tools.ant.util.regexp.RegexpMatcher;
+import org.apache.tools.ant.util.regexp.RegexpMatcherFactory;
 
 /**
  * Tests .
@@ -97,8 +100,11 @@
 }
 
 public void testPseudoTahoeRefid() {
+if (!RegexpMatcherFactory.regexpMatcherPresent(project)) {
+System.out.println("Test 'testPseudoTahoeRefid' skipped because no 
regexp matcher is present.");
+return;
+}
 executeTarget("test-pseudo-tahoe-refid");
-
 assertPropertyEquals("jar.classpath", "classes/dsp-core/ " +
   "classes/dsp-pres/ " +
   "classes/dsp-void/ " +
@@ -108,8 +114,11 @@
 }
 
 public void testPseudoTahoeNested() {
+if (!RegexpMatcherFactory.regexpMatcherPresent(project)) {
+System.out.println("Test 'testPseudoTahoeNested' skipped because 
no regexp matcher is present.");
+return;
+}
 executeTarget("test-pseudo-tahoe-nested");
-
 assertPropertyEquals("jar.classpath", "classes/dsp-core/ " +
   "classes/dsp-pres/ " +
   "classes/dsp-void/ " +
@@ -134,8 +143,7 @@
   "../../resources/dsp-void/");
 }
 public void testInternationalGerman() {
-if (!JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_4))
-{
+if (!JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_4)) {
 System.out.println("Test with international characters skipped 
under pre 1.4 jvm.");
 return;
 }
@@ -144,7 +152,7 @@
 
 }
 public void testInternationalHebrew() {
-if (!JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_4)){
+if (!JavaEnvUtils.isAtLeastJavaVersion(JavaEnvUtils.JAVA_1_4)) {
 System.out.println("Test with international characters skipped 
under pre 1.4 jvm.");
 return;
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Pack200

2006-12-20 Thread Steve Loughran

Mark Claassen wrote:

Well, I don't think it will be too difficult, and there certainly are a lot
of core ant tasks I can pull information from.  So, if I get bored sometime,
maybe I will give it a whirl.  I could still use it, even if no one else
does. :)

Thanks for the advice.
Mark



Go for it!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Steve Loughran

Antoine Levy-Lambert wrote:

Hi,

We have the pleasure to announce the release of Apache Ant 1.7.0.


Oh, we need to put the libs up on the maven repository, along with 
Ant-testutil.jar.


Does this also means we can go to 1.0 with ?

-steve

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Steve Loughran

Antoine Levy-Lambert wrote:

Hi,

We have the pleasure to announce the release of Apache Ant 1.7.0.



Congratulations!

Thanks for being the release manager; take a rest now and let the rest 
of the team handle the support calls. I'm waiting for the first 'doesnt 
work on win98 with spaces in the path and weblogic in CLASSPATH' defect 
to arrive.


-steve


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project svn-antlib-test (in module ant-antlibs) failed

2006-12-20 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project svn-antlib-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 58 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- svn-antlib-test :  Task and Type Libraries for Apache Ant


Full details are available at:
http://vmgump.apache.org/gump/public/ant-antlibs/svn-antlib-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant-testutil exists, no need to add for property 
ant-testutil.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant-antlibs/svn-antlib-test/gump_work/build_ant-antlibs_svn-antlib-test.html
Work Name: build_ant-antlibs_svn-antlib-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 mins 22 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dant-testutil.jar=/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar
 test 
[Working Directory: /usr/local/gump/public/workspace/ant-antlibs/svn]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/ant-svn-20122006.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar
-
[junit] at junit.framework.TestSuite.run(TestSuite.java:227)
[junit] at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
[junit] 
[junit] Testcase: testDiffWithImplicitTrunk took 34.959 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] at junit.framework.Assert.assertTrue(Assert.java:20)
[junit] at junit.framework.Assert.assertTrue(Assert.java:27)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertModified(SvnTagDiffTest.java:110)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertDiffWithTrunk(SvnTagDiffTest.java:63)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.testDiffWithImplicitTrunk(SvnTagDiffTest.java:57)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:168)
[junit] at junit.framework.TestCase.runBare(TestCase.java:134)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:124)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:232)
[junit] at junit.framework.TestSuite.run(TestSuite.java:227)
[junit] at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at 
org.apach

Re: [ANN] Ant 1.7.0 Released

2006-12-20 Thread Antoine Levy-Lambert

Hello Kevin,

On Dec 19, 2006, at 10:31 PM, Kevin Jackson wrote:


Hi Antoine,


- as penance for my screwup last week,


No need for penance, this happens


I offer to do
the next release


Much appreciated.


(hopefully in a while!)


We will see ...



Kev



Antoine


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35657] - Add a "haltonerror" parameter to "xmlvalidate"

2006-12-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35657





--- Additional Comments From [EMAIL PROTECTED]  2006-12-20 01:10 ---
i just ran into this problem too:


i've got a slow workaround using 2 optional tasks, jing and ant-contrib:


it amounts to what steve loughran suggested in comment 3, but works with a 
fileset.

i've just tried this again with ant 1.7.0 (released today), and the problem
still exists. adding:
http://xml.org/sax/features/validation"; value="false" />

to xmlvalidate does not help. although most errors do not stop validation (with
lenient="true"), dtd lookups still do, eg:




dies with:
/nasty.xml:123: Could not validate document nasty.xml
Caused by: java.io.FileNotFoundException: nasty.dtd (No such file o
r directory)

resolveEntity: 'null': 'file:nasty.dtd'
No matching catalog entry found, parser will use: 'nasty.dtd'

is there a way to switch off dtd loading? why does it need it when validation is
set to false? the xmlvalidate documentation is misleading-- it leads one to
believe that lenient="true" will do well-formedness checking only. (from my
current understanding of well-formedness, this goes beyond that.)

- p


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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r488981 - /ant/core/trunk/docs/manual/CoreTasks/property.html

2006-12-20 Thread jhm
Author: jhm
Date: Wed Dec 20 00:54:39 2006
New Revision: 488981

URL: http://svn.apache.org/viewvc?view=rev&rev=488981
Log:
Show the list of supported platforms for 

Modified:
ant/core/trunk/docs/manual/CoreTasks/property.html

Modified: ant/core/trunk/docs/manual/CoreTasks/property.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/property.html?view=diff&rev=488981&r1=488980&r2=488981
==
--- ant/core/trunk/docs/manual/CoreTasks/property.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/property.html Wed Dec 20 00:54:39 2006
@@ -122,12 +122,11 @@
 "." it will not be doubled. ie environment="myenv." 
will still
 allow access of environment variables through "myenv.PATH" and
 "myenv.TERM". This functionality is currently only implemented
-on select platforms. Feel free to send patches to increase the number of 
platforms
-this functionality is supported on ;).
+on select platforms. Feel free to send patches to 
increase the
+number of platforms this functionality is supported on ;).
 Note also that properties are case sensitive, even if the
 environment variables on your operating system are not, e.g. it
 will be ${env.Path} not ${env.PATH} on Windows 2000.
-
   
   
 classpath
@@ -210,7 +209,57 @@
 
 
 
+
+Notes about environment variables
+
+  Ant runs on Java 1.2 therefore it cant use Java5 features for accessing 
environment
+  variables. So it starts a command in a new process which prints the 
environment variables,
+  analyzes the output and creates the properties. 
+  There are commands for the following operating systems implemented in
+  http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Execute.java?view=markup";>
+  Execute.java (method getProcEnvCommand()):
+  
+
+  OS
+  command
+
+
+   os/2 
+   cmd /c set 
+
+
+   windows 
+
+
+   * win9x 
+   command.com /c set 
+
+
+   * other 
+   cmd /c set 
+
+
+   z/os 
+   /bin/env OR /usr/bin/env OR env   (depending on 
read rights) 
+
+
+   unix 
+   /bin/env OR /usr/bin/env OR env   (depending on 
read rights) 
+
+
+   netware 
+   env 
+
+
+   os/400 
+   env 
+
+
+   openvms 
+   show logical 
+
+  
+
 
 
-
-
+
\ No newline at end of file



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]