DO NOT REPLY [Bug 28142] - No attribute for -X option with javac compiler

2006-01-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=28142.
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=28142





--- Additional Comments From [EMAIL PROTECTED]  2006-01-23 10:26 ---
(In reply to comment #3)
 (In reply to comment #2)
  the compilerarg element in a javac task has no effect. see below.
  I cannot run the command line because arg list is too long.
  Thanks.
 
 What exactly makes you say the arg list is too long?
 

if I run javac */*/*.java, it says arg list is too long, but this is a system
problem, not an ant problem. 
In fact, it hasn't no effect, but it sends the help stack (as if javac doesn't
understand the option) - see the next message - Thks

-- 
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 28142] - No attribute for -X option with javac compiler

2006-01-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=28142.
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=28142





--- Additional Comments From [EMAIL PROTECTED]  2006-01-23 10:36 ---
(In reply to comment #4)
 Should it be compilerarg line=-Xmaxerrs 1000/ ? value attribute is for a
 single argument, but you are passing two arguments together. Another 
 possibility
 is to put two compilerarg value=.../ elements, but it is important only if
 you have spaces in the arguments.

Yep, it seems to be a problem of blanks, because if I put the -Xswitchcheck it
runs well.So, I put the args on two lines now :
 compilerarg value=-Xmaxerrs/
 compilerarg value=1000/

And it works !!! (a bit strange however) - Thanks to all.
I let you guys change the status of the bug.



-- 
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 28142] - No attribute for -X option with javac compiler

2006-01-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=28142.
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=28142


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-01-23 10:56 ---
marking as invalid arg value params are single arguments. Ant does not build
up a command line string to send to the shell, it builds up an array of
arguments to hand off to exec. Even if there is spaces or quotes in a value, it
is still one argument. 

-- 
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]



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

2006-01-23 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 125 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 15 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.4/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-23012006.jar
-

[junit] The ' characters around the executable and arguments are
[junit] not part of the command.
[junit] ]
[junit] at 
org.apache.ant.svn.AbstractSvnTask.runCommand(AbstractSvnTask.java:276)
[junit] at 
org.apache.ant.svn.AbstractSvnTask.execute(AbstractSvnTask.java:333)
[junit] at 
org.apache.ant.svn.SvnRevisionDiff.execute(SvnRevisionDiff.java:128)
[junit] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[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:324)
[junit] at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
[junit] at org.apache.tools.ant.Task.perform(Task.java:365)
[junit] at org.apache.tools.ant.Target.execute(Target.java:356)
[junit] at org.apache.tools.ant.Target.performTasks(Target.java:384)
[junit] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1243)
[junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1212)
[junit] at 
org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:276)
[junit] at 
org.apache.ant.svn.SvnRevisionDiffTest.executeTargetAndReadLogFully(SvnRevisionDiffTest.java:61)
[junit] at 
org.apache.ant.svn.SvnRevisionDiffTest.testDiffUrl(SvnRevisionDiffTest.java:52)
[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:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at 

Java6-rc Ant bootstraps fine

2006-01-23 Thread Kev Jackson

Hi all,

Just thought I'd test Ant bootstrap of the current trunk on Java6-rc - 
everything is fine (which is nice).  Now the harder part is building a 
full dist on Java6 and then running the tests against it.


Kev

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



Re: Java6-rc Ant bootstraps fine

2006-01-23 Thread Steve Loughran

Kev Jackson wrote:

Hi all,

Just thought I'd test Ant bootstrap of the current trunk on Java6-rc - 
everything is fine (which is nice).  Now the harder part is building a 
full dist on Java6 and then running the tests against it.


wow, that's progress

-what XML/XSD/Xpath engines do they ship with?

-what does ant -diagnostics say?



We may need extra tests in java utils for the new platform.


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



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

2006-01-23 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 test-ant has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 10 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant :  Java based build tool


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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
Work Name: build_ant_test-ant (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 mins 45 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:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
-Dant.home=/usr/local/gump/public/workspace/ant/dist run-tests 
[Working Directory: /usr/local/gump/public/workspace/ant]
CLASSPATH: 

[EMAIL PROTECTED]: Project test-ant-no-xerces (in module ant) failed

2006-01-23 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 test-ant-no-xerces has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 125 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant-no-xerces :  Java based build tool


Full details are available at:
http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/gump_work/build_ant_test-ant-no-xerces.html
Work Name: build_ant_test-ant-no-xerces (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 mins 44 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dtest.haltonfailure=false -Dant.home=/usr/local/gump/public/workspace/ant/dist 
run-tests 
[Working Directory: /usr/local/gump/public/workspace/ant]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/build/testcases:/usr/local/gump/public/workspace/ant/src/testcases:/usr/local/gump/public/workspace/ant/src/etc/testcases:/usr/local/gump/public/workspace/ant/build/lib/ant-stylebook.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-javamail.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bcel.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-regexp.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-net.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jsch.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-log4j.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-antlr.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-commons-logging.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jdepend.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-bsf.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-apache-oro.jar:/usr/local/gump/public/workspace/ant/build/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-jai.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23012006.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-23012006.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-23012006.jar:/usr/local/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-23012006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-23012006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-23012006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/javamail-1.3.2/mail.jar:/usr/local/gump/packages/javamail-1.3.2/lib/mailapi.jar:/usr/local/gump/packages/jdepend-2.6/lib/jdepend.jar:/usr/local/gump/packages/jsch/jsch-0.1.23.jar:/usr/local/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/usr/local/gump/public/workspace/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/usr/local/gump/public/workspace/xml-commons/java/build/which.jar:/usr/local/gump/public/workspace/rhino/build/rhino_23012006/js.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-classpath-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-commands-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-util-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-bsf-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-core-23012006.jar:/usr/local/gump/public/workspace/beanshell/dist/bsh-reflect-23012006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-23012006.jar
-

svn commit: r371555 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/antlr/antlr.xml testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread mbenson
Author: mbenson
Date: Mon Jan 23 07:31:38 2006
New Revision: 371555

URL: http://svn.apache.org/viewcvs?rev=371555view=rev
Log:
fix ANTLRTest in Gump (extra output files created by version 2.7.6 invalidate
assertions made in JUnit.  Made assertions more explicit and moved into the
test buildfile.

Modified:
ant/core/trunk/src/etc/testcases/taskdefs/optional/antlr/antlr.xml

ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

Modified: ant/core/trunk/src/etc/testcases/taskdefs/optional/antlr/antlr.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/optional/antlr/antlr.xml?rev=371555r1=371554r2=371555view=diff
==
--- ant/core/trunk/src/etc/testcases/taskdefs/optional/antlr/antlr.xml 
(original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/optional/antlr/antlr.xml Mon Jan 
23 07:31:38 2006
@@ -19,6 +19,21 @@
 
   target name=test3 depends=setup
 antlr target=antlr.g outputdirectory=${tmp.dir}/
+fail
+  condition
+!-- to prove each of these files exists;
+ ANTLR = 2.7.6 leaves behind new (.smap) files as well. --
+resourcecount when=ne count=5
+  fileset dir=${tmp.dir}
+include name=CalcParserTokenTypes.txt /
+include name=CalcParserTokenTypes.java /
+include name=CalcLexer.java /
+include name=CalcParser.java /
+include name=CalcTreeWalker.java /
+  /fileset
+/resourcecount
+  /condition
+/fail
   /target
 
   target name=test4 depends=setup

Modified: 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java?rev=371555r1=371554r2=371555view=diff
==
--- 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
 (original)
+++ 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
 Mon Jan 23 07:31:38 2006
@@ -57,9 +57,6 @@
 
 public void test3() {
 executeTarget(test3);
-File outputDirectory = new File(System.getProperty(root), 
TASKDEFS_DIR + antlr.tmp);
-String[] calcFiles = outputDirectory.list(new CalcFileFilter());
-assertEquals(5, calcFiles.length);
 }
 
 public void test4() {



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



svn commit: r371559 - /ant/core/trunk/build.xml

2006-01-23 Thread mbenson
Author: mbenson
Date: Mon Jan 23 07:55:57 2006
New Revision: 371559

URL: http://svn.apache.org/viewcvs?rev=371559view=rev
Log:
try excluding IncludeTest when xerces not present

Modified:
ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/build.xml?rev=371559r1=371558r2=371559view=diff
==
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Mon Jan 23 07:55:57 2006
@@ -1662,6 +1662,7 @@
   exclude 
name=${ant.package}/types/selectors/ContainsRegexpTest.java
 unless=some.regexp.support/
   exclude 
name=${ant.package}/types/mappers/RegexpPatternMapperTest.java
+  !-- needs BSF to work --
 unless=some.regexp.support/
   exclude name=${optional.package}/Rhino*.java
 unless=bsf.present/
@@ -1703,12 +1704,14 @@
   exclude name=${taskdefs.package}/StyleTest.java
 unless=trax.impl.present/
 
-  !-- needs BSF to work --
+  !-- needs xerces to work --
   exclude name=${optional.package}/XalanLiaisonTest.java
 unless=bsf.present/
   exclude name=${optional.package}/XalanLiaisonTest.java
 unless=xerces1.present/
   exclude name=${optional.package}/XslpLiaisonTest.java
+unless=xerces1.present/
+  exclude name=${ant.package}/IncludeTest.java
 unless=xerces1.present/
 
   !-- needs resolver.jar to work --



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



svn commit: r371562 - /ant/core/trunk/build.xml

2006-01-23 Thread mbenson
Author: mbenson
Date: Mon Jan 23 08:01:09 2006
New Revision: 371562

URL: http://svn.apache.org/viewcvs?rev=371562view=rev
Log:
oops

Modified:
ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/build.xml?rev=371562r1=371561r2=371562view=diff
==
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Mon Jan 23 08:01:09 2006
@@ -1662,8 +1662,9 @@
   exclude 
name=${ant.package}/types/selectors/ContainsRegexpTest.java
 unless=some.regexp.support/
   exclude 
name=${ant.package}/types/mappers/RegexpPatternMapperTest.java
-  !-- needs BSF to work --
 unless=some.regexp.support/
+
+  !-- needs BSF to work --
   exclude name=${optional.package}/Rhino*.java
 unless=bsf.present/
   exclude name=${optional.package}/Rhino*.java



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



svn commit: r371563 - /ant/core/trunk/build.xml

2006-01-23 Thread mbenson
Author: mbenson
Date: Mon Jan 23 08:05:17 2006
New Revision: 371563

URL: http://svn.apache.org/viewcvs?rev=371563view=rev
Log:
try excluding ModifiedSelectorTest from crimson runs

Modified:
ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/build.xml?rev=371563r1=371562r2=371563view=diff
==
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Mon Jan 23 08:05:17 2006
@@ -1714,6 +1714,8 @@
 unless=xerces1.present/
   exclude name=${ant.package}/IncludeTest.java
 unless=xerces1.present/
+  exclude name=${type.package}/selectors/ModifiedSelectorTest.java
+unless=xerces1.present/
 
   !-- needs resolver.jar to work --
   exclude name=${optional.package}/XmlValidateCatalogTest.java



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



Re: Tar and resource collections

2006-01-23 Thread Matt Benson
--- Antoine Levy-Lambert [EMAIL PROTECTED] wrote:

 Matt Benson wrote:
 
 :P
 
   
 
 Hello, Matt,
 
 what does :P mean ?

haha, it was a face...
 
 now, I have  built and tested the current HEAD under
 Windows 2000,
 cygwin, JDK 1.5 and I get a lot of errors in the
 testcases.
 
 Do you also have these errors when you run the tests
 ?
 
 I get hit a lot by this one :
 
 throw new BuildException(only file
 resources are supported);
 ZipScanner.java, line 64
 
 I do not understand by which casting magic the
 srcfile of the ZipFileSet
 which seems to be stored as a FileResource has been
 degraded to a simple
 Resource in the processing ?
 
 This is running the ResourceCollectionsTest, in the
 testzipfileset test
 case.
 
 May be I missed the train on that ? Do you have
 ideas how we will fix this ?
 
 Cheers,
 
 Antoine
 

-
 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]



Re: Tar and resource collections

2006-01-23 Thread Matt Benson
Please disregard; this was probably already sent long
ago.  I was going through my draft folder and
accidentally hit send.  ;)

--- Matt Benson [EMAIL PROTECTED] wrote:

 --- Antoine Levy-Lambert [EMAIL PROTECTED] wrote:
 
  Matt Benson wrote:
  
  :P
  

  
  Hello, Matt,
  
  what does :P mean ?
 
 haha, it was a face...
  
  now, I have  built and tested the current HEAD
 under
  Windows 2000,
  cygwin, JDK 1.5 and I get a lot of errors in the
  testcases.
  
  Do you also have these errors when you run the
 tests
  ?
  
  I get hit a lot by this one :
  
  throw new BuildException(only file
  resources are supported);
  ZipScanner.java, line 64
  
  I do not understand by which casting magic the
  srcfile of the ZipFileSet
  which seems to be stored as a FileResource has
 been
  degraded to a simple
  Resource in the processing ?
  
  This is running the ResourceCollectionsTest, in
 the
  testzipfileset test
  case.
  
  May be I missed the train on that ? Do you have
  ideas how we will fix this ?
  
  Cheers,
  
  Antoine
  
 

-
  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]
 
 


__
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]



Re: svn commit: r371555 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/antlr/antlr.xml testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread Antoine Levy-Lambert
Hello Matt,

:-)   cool work. It is useful to fix the tests ..., so that Gump
remains meaningful...

Cheers,

Antoine

[EMAIL PROTECTED] wrote:

Author: mbenson
Date: Mon Jan 23 07:31:38 2006
New Revision: 371555

URL: http://svn.apache.org/viewcvs?rev=371555view=rev
Log:
fix ANTLRTest in Gump (extra output files created by version 2.7.6 invalidate
assertions made in JUnit.  Made assertions more explicit and moved into the
test buildfile.

  



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



Re: svn commit: r371555 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/antlr/antlr.xml testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread Matt Benson
I haven't been able to do nearly as much since I
changed jobs, but I'm trying to maintain some
presence.  :|  Thanks for the appreciation
assuming I didn't overlook something and will be made
a fool of by Gump here in a little while... !

--- Antoine Levy-Lambert [EMAIL PROTECTED] wrote:

 Hello Matt,
 
 :-)   cool work. It is useful to fix the tests
 ..., so that Gump
 remains meaningful...
 
 Cheers,
 
 Antoine
 
 [EMAIL PROTECTED] wrote:
 
 Author: mbenson
 Date: Mon Jan 23 07:31:38 2006
 New Revision: 371555
 
 URL:
 http://svn.apache.org/viewcvs?rev=371555view=rev
 Log:
 fix ANTLRTest in Gump (extra output files created
 by version 2.7.6 invalidate
 assertions made in JUnit.  Made assertions more
 explicit and moved into the
 test buildfile.
 
   
 
 
 

-
 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]



Arithmetic calculations with ant

2006-01-23 Thread Yuval Schwabe

Hi All,



I need your help,



What is the best way to do arithmetic calculations with ant tasks?



Thanks,





Yuval Schwabe







The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

Re: Arithmetic calculations with ant

2006-01-23 Thread Matt Benson
ant-contrib.

--- Yuval Schwabe [EMAIL PROTECTED] wrote:

 
 Hi All,
 
 
 
 I need your help,
 
 
 
 What is the best way to do arithmetic calculations
 with ant tasks?
 
 
 
 Thanks,
 
 
 
 
 
 Yuval Schwabe
 
 
 
 
 
 
 
 The information contained in this message is
 proprietary of Amdocs,
 protected from disclosure, and may be privileged.
 The information is intended to be conveyed only to
 the designated recipient(s)
 of the message. If the reader of this message is not
 the intended recipient,
 you are hereby notified that any dissemination, use,
 distribution or copying of
 this communication is strictly prohibited and may be
 unlawful.
 If you have received this communication in error,
 please notify us immediately
 by replying to the message and deleting it from your
 computer.
 Thank you.


__
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]



Re: Arithmetic calculations with ant

2006-01-23 Thread Matt Benson
also, this is really a question for
user@ant.apache.org, rather than the developer list.

-Matt

--- Yuval Schwabe [EMAIL PROTECTED] wrote:

 
 Hi All,
 
 
 
 I need your help,
 
 
 
 What is the best way to do arithmetic calculations
 with ant tasks?
 
 
 
 Thanks,
 
 
 
 
 
 Yuval Schwabe
 
 
 
 
 
 
 
 The information contained in this message is
 proprietary of Amdocs,
 protected from disclosure, and may be privileged.
 The information is intended to be conveyed only to
 the designated recipient(s)
 of the message. If the reader of this message is not
 the intended recipient,
 you are hereby notified that any dissemination, use,
 distribution or copying of
 this communication is strictly prohibited and may be
 unlawful.
 If you have received this communication in error,
 please notify us immediately
 by replying to the message and deleting it from your
 computer.
 Thank you.


__
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]



RE: Arithmetic calculations with ant

2006-01-23 Thread Yuval Schwabe

10xs

-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 9:07 PM
To: Ant Developers List
Subject: Re: Arithmetic calculations with ant

ant-contrib.

--- Yuval Schwabe [EMAIL PROTECTED] wrote:


 Hi All,



 I need your help,



 What is the best way to do arithmetic calculations
 with ant tasks?



 Thanks,





 Yuval Schwabe







 The information contained in this message is
 proprietary of Amdocs,
 protected from disclosure, and may be privileged.
 The information is intended to be conveyed only to
 the designated recipient(s)
 of the message. If the reader of this message is not
 the intended recipient,
 you are hereby notified that any dissemination, use,
 distribution or copying of
 this communication is strictly prohibited and may be
 unlawful.
 If you have received this communication in error,
 please notify us immediately
 by replying to the message and deleting it from your
 computer.
 Thank you.


__
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]


The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

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



svn commit: r371658 - /ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread bodewig
Author: bodewig
Date: Mon Jan 23 12:42:42 2006
New Revision: 371658

URL: http://svn.apache.org/viewcvs?rev=371658view=rev
Log:
2006

Modified:

ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

Modified: 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java?rev=371658r1=371657r2=371658view=diff
==
--- 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
 (original)
+++ 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java
 Mon Jan 23 12:42:42 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright  2000-2004 The Apache Software Foundation
+ * Copyright  2000-2004,2006 The Apache Software Foundation
  *
  *  Licensed under the Apache License, Version 2.0 (the License);
  *  you may not use this file except in compliance with the License.



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



Re: svn commit: r371555 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/antlr/antlr.xml testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread Matt Benson
Okay, looks like test-ant and test-ant-no-xerces both
pass now in Gump.  Hooray for me.  Now, since I'm
really not that XML-savvy at the end of the day, do
smarter heads than mine think it is possible to make
things like entity includes work under crimson or are
we best off as we are, tests disabled?

-Matt

--- Matt Benson [EMAIL PROTECTED] wrote:

 I haven't been able to do nearly as much since I
 changed jobs, but I'm trying to maintain some
 presence.  :|  Thanks for the appreciation
 assuming I didn't overlook something and will be
 made
 a fool of by Gump here in a little while... !
 
 --- Antoine Levy-Lambert [EMAIL PROTECTED] wrote:
 
  Hello Matt,
  
  :-)   cool work. It is useful to fix the tests
  ..., so that Gump
  remains meaningful...
  
  Cheers,
  
  Antoine
  
  [EMAIL PROTECTED] wrote:
  
  Author: mbenson
  Date: Mon Jan 23 07:31:38 2006
  New Revision: 371555
  
  URL:
  http://svn.apache.org/viewcvs?rev=371555view=rev
  Log:
  fix ANTLRTest in Gump (extra output files created
  by version 2.7.6 invalidate
  assertions made in JUnit.  Made assertions more
  explicit and moved into the
  test buildfile.
  

  
  
  
 

-
  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]
 
 


__
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]



Re: Java6-rc Ant bootstraps fine

2006-01-23 Thread Kev Jackson

Steve Loughran wrote:


Kev Jackson wrote:


Hi all,

Just thought I'd test Ant bootstrap of the current trunk on Java6-rc 
- everything is fine (which is nice).  Now the harder part is 
building a full dist on Java6 and then running the tests against it.


wow, that's progress

When I say fine, I mean we get a Build Successful :).  There were some 
warnings about deprectaed APIS - I want to track them down.  I will say 
that Eclipse on Java6 is not any faster (although there were some blogs 
yorkshireon t'internet/yorkshire about significant speedups in 
certain areas).



-what XML/XSD/Xpath engines do they ship with?

-what does ant -diagnostics say?



We may need extra tests in java utils for the new platform.


As requested Java6-rc ant -diagnostics

---

D:\java_projects\ant-core-trunk\bootstrap\binant -diagnostics
--- Ant diagnostics report ---
Apache Ant version 1.7alpha compiled on January 23 2006

---
Implementation Version
---
core tasks : 1.7
optional tasks : 1.7

---
ANT_HOME/lib jar listing
---
ant.home: D:\java_projects\ant-core-trunk\bootstrap\bin\..
ant-swing.jar (6745 bytes)
ant-jmf.jar (6609 bytes)
ant.jar (1156297 bytes)
ant-nodeps.jar (433670 bytes)
ant-junit.jar (78217 bytes)
ant-trax.jar (68841 bytes)
ant-launcher.jar (10036 bytes)
xml-apis.jar (108484 bytes)
xercesImpl.jar (1010675 bytes)

---
USER_HOME/.ant/lib jar listing
---
user.home: C:\Documents and Settings\it-kevin
No such directory.

---
Tasks availability
---
p4reopen : Not Available (the implementation class is not present)
image : Not Available (the implementation class is not present)
sshexec : Not Available (the implementation class is not present)
wlrun : Not Available (the implementation class is not present)
p4label : Not Available (the implementation class is not present)
p4revert : Not Available (the implementation class is not present)
icontract : Not Available (the implementation class is not present)
p4submit : Not Available (the implementation class is not present)
scp : Not Available (the implementation class is not present)
p4change : Not Available (the implementation class is not present)
p4delete : Not Available (the implementation class is not present)
p4integrate : Not Available (the implementation class is not present)
vajload : Not Available (the implementation class is not present)
rexec : Not Available (the implementation class is not present)
stlist : Not Available (the implementation class is not present)
telnet : Not Available (the implementation class is not present)
libraries : Not Available (the implementation class is not present)
p4sync : Not Available (the implementation class is not present)
p4edit : Not Available (the implementation class is not present)
maudit : Not Available (the implementation class is not present)
netrexxc : Not Available (the implementation class is not present)
antlr : Not Available (the implementation class is not present)
ftp : Not Available (the implementation class is not present)
p4resolve : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stylebook : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
p4have : Not Available (the implementation class is not present)
jdepend : Not Available (the implementation class is not present)
script : Not Available (the implementation class is not present)
stcheckin : Not Available (the implementation class is not present)
junit : Missing dependency junit.framework.Test
vajexport : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
p4labelsync : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
vajimport : Not Available (the implementation class is not present)
p4fstat : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
p4counter : Not Available (the implementation class is not present)
scriptdef : Not Available (the implementation class is not present)
p4add : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to 
use it


---
org.apache.env.Which diagnostics
---
Not available.
Download it at http://xml.apache.org/commons/

---
XML Parser information

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

2006-01-23 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 test-ant has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- test-ant :  Java based build tool


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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_test-ant.html
Work Name: build_ant_test-ant (Type: Build)
Work ended in a state of : Failed
Elapsed: 9 mins 40 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:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
-Dant.home=/usr/local/gump/public/workspace/ant/dist run-tests 
[Working Directory: /usr/local/gump/public/workspace/ant]
CLASSPATH: 

Re: svn commit: r371555 - in /ant/core/trunk/src: etc/testcases/taskdefs/optional/antlr/antlr.xml testcases/org/apache/tools/ant/taskdefs/optional/ANTLRTest.java

2006-01-23 Thread Stefan Bodewig
On Mon, 23 Jan 2006, Matt Benson [EMAIL PROTECTED] wrote:

 Okay, looks like test-ant and test-ant-no-xerces both
 pass now in Gump.

Matt++

 Now, since I'm really not that XML-savvy at the end of the day, do
 smarter heads than mine think it is possible to make things like
 entity includes work under crimson or are we best off as we are,
 tests disabled?

I'm not sure.  In general entity includes are supposed to work with
Crimson, but I don't see us working around glitches in Crimson and
Crimson itself is stalled and won't get fixed either.

Stefan

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



Re: Java6-rc Ant bootstraps fine

2006-01-23 Thread Kev Jackson

Steve Loughran wrote:


Kev Jackson wrote:


Hi all,

Just thought I'd test Ant bootstrap of the current trunk on Java6-rc 
- everything is fine (which is nice).  Now the harder part is 
building a full dist on Java6 and then running the tests against it.



wow, that's progress

-what XML/XSD/Xpath engines do they ship with?






Sorry for the big emails/attachments (I hope they come through)

I won't actually look into the code - IIRC the sun license is pretty 
nasty when it comes to looking into the source for Java (I doubt I'd 
ever want to write my own xml frameworks, but you never know :))


Kev

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



Re: Java6-rc Ant bootstraps fine

2006-01-23 Thread Kev Jackson

Kev Jackson wrote:


Steve Loughran wrote:


Kev Jackson wrote:


Hi all,

Just thought I'd test Ant bootstrap of the current trunk on Java6-rc 
- everything is fine (which is nice).  Now the harder part is 
building a full dist on Java6 and then running the tests against it.




wow, that's progress

-what XML/XSD/Xpath engines do they ship with?






Sorry for the big emails/attachments (I hope they come through)


well they didn't (damn)

It looks like sun ship a SAX parser, an XPath implementation, and an 
Apache group of tools (Xalan, Xerces) and interestingly regexp (shrug)


Kev

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