DO NOT REPLY [Bug 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-06 08:41 ---
It's possible to concatenate a lot of XMLs with an XSL processor, but what I
need is something that can process FILESETS. I want to use something like
"**/*.comp.xml".

To put things in context, what I have are a bunch of small XML files each
describing a JavaServerFaces component. Then I have XSL files which uses these
to create the Tag class and the Component class, and I have two other XSL files
which take the concatenation of all these XML files to produce the TLD file and
the faces-config.xml file. The component files are quite small, as is the
resulting file (a few Kb). A similar technique produces EJB3 pojo's from lists
of properties.

-- 
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: fisheye

2005-10-05 Thread Conor MacNeill
We can try it any time, I think but I need to co-ordinate with
infrastructure to ensure they are cool with it.

Conor


Matt Benson wrote:
> Conor: Any word on when the fisheye.cenqua.com
> instance will point to Ant SVN instead of CVS?
> 
> Thanks,
> Matt
> 
> 
>   
> __ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> -
> 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]



Re: svn commit: r295060 - /ant/core/trunk/build.xml

2005-10-05 Thread Stefan Bodewig
On Wed, 05 Oct 2005, Martijn Kruithof <[EMAIL PROTECTED]> wrote:

> I prepared an update on gump metadata/project/ant.xml

looks good.

> but I seem to miss the build.xml on which to run the gen target,
> would above changes be safe?

Yes, your changes should be save.

Which gen target?

Stefan

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



Re: AW: svn commit: r293157 - in /ant/core/trunk: build.xml docs/manual/CoreTasks/jar.html src/main/org/apache/tools/ant/taskdefs/Jar.java

2005-10-05 Thread Martijn Kruithof

[EMAIL PROTECTED] wrote:


I suggest using a property for the whenmanifestonly attribute which can be 
overwritten by Gump.
 

would optional.jars.whenmanifestonly be a proper attribute name?  
(analogous to optional.jars.prefix)




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



svn commit: r306521 - in /ant/core/trunk: docs/manual/CoreTasks/ src/etc/testcases/taskdefs/ src/main/org/apache/tools/ant/taskdefs/ src/testcases/org/apache/tools/ant/taskdefs/

2005-10-05 Thread bodewig
Author: bodewig
Date: Wed Oct  5 20:51:48 2005
New Revision: 306521

URL: http://svn.apache.org/viewcvs?rev=306521&view=rev
Log:
 and  can now work on non-filesystem resources as well

Modified:
ant/core/trunk/docs/manual/CoreTasks/copy.html
ant/core/trunk/docs/manual/CoreTasks/sync.html
ant/core/trunk/src/etc/testcases/taskdefs/copy.xml
ant/core/trunk/src/etc/testcases/taskdefs/sync.xml
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Sync.java
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/CopyTest.java
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SyncTest.java

Modified: ant/core/trunk/docs/manual/CoreTasks/copy.html
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/copy.html?rev=306521&r1=306520&r2=306521&view=diff
==
--- ant/core/trunk/docs/manual/CoreTasks/copy.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/copy.html Wed Oct  5 20:51:48 2005
@@ -16,12 +16,8 @@
 overwrite files with the overwrite attribute.
 
 Resource
-Collections are used to select a group of files to copy.  Only
-file system based resource collections are supported, this includes filesets, filelist and path.  To use a resource collection, the
-todir attribute must be set.
+Collections are used to select a group of files to copy.  To use a
+resource collection, the todir attribute must be set.
 
 
 Note: If you employ filters in your copy operation, you 
should 
@@ -144,7 +140,7 @@
 
 Parameters specified as nested elements
 
-fileset or any other filesystem based resource collection
+fileset or any other resource collection
 Resource
 Collections are used to select groups of files to copy.  To use a
 resource collection, the todir attribute must be set.

Modified: ant/core/trunk/docs/manual/CoreTasks/sync.html
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/sync.html?rev=306521&r1=306520&r2=306521&view=diff
==
--- ant/core/trunk/docs/manual/CoreTasks/sync.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/sync.html Wed Oct  5 20:51:48 2005
@@ -13,10 +13,10 @@
 Description
 
 Synchronize a target directory from the files defined in one or
-more filesystem based Resource Collections.
+more Resource 
Collections.
 
 Any file in the target directory that has not been matched by at
-least one of the nested resource collection gets removed.  I.e. if you exclude 
a
+least one of the nested resource collections gets removed.  I.e. if you 
exclude a
 file in your sources and a file of that name is present in the target
 dir, it will get removed from the target.
 
@@ -72,7 +72,7 @@
 
 Parameters specified as nested elements
 
-fileset or any other filesystem based resource collection
+fileset or any other resource collection
 Resource
 Collections are used to select groups of files to copy.  To use a
 resource collection, the todir attribute must be set.

Modified: ant/core/trunk/src/etc/testcases/taskdefs/copy.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/copy.xml?rev=306521&r1=306520&r2=306521&view=diff
==
--- ant/core/trunk/src/etc/testcases/taskdefs/copy.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/copy.xml Wed Oct  5 20:51:48 2005
@@ -197,7 +197,14 @@
  
   
 
-
+  
+
+  
+
+
+  
+
+  
   

 

Modified: ant/core/trunk/src/etc/testcases/taskdefs/sync.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/sync.xml?rev=306521&r1=306520&r2=306521&view=diff
==
--- ant/core/trunk/src/etc/testcases/taskdefs/sync.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/sync.xml Wed Oct  5 20:51:48 2005
@@ -48,6 +48,19 @@
 
   
 
+  
+
+
+
+
+
+  
+
+
+  
+
+  
+
   
 
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java?rev=306521&r1=306520&r2=306521&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Copy.java Wed Oct  5 
20:51:48 2005
@@ -39,10 +39,12 @@
 import org.apache.tools.ant.types.FilterSetCollection;
 import org.apache.tools.ant.types.Resource;
 import org.apache.tools.ant.types.ResourceCollection;
+import org.apache.tools.ant.types.ResourceFactory;
 import org.apache.tools.ant.types.resources.FileResource;
 import org.apache.tools.ant.util.FileUtils;
 import org.apach

svn commit: r306520 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java

2005-10-05 Thread bodewig
Author: bodewig
Date: Wed Oct  5 20:50:30 2005
New Revision: 306520

URL: http://svn.apache.org/viewcvs?rev=306520&view=rev
Log:
empty collection != no collection

Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java?rev=306520&r1=306519&r2=306520&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java 
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java Wed 
Oct  5 20:50:30 2005
@@ -57,7 +57,7 @@
 
 protected Vector filesets = new Vector(); // contains AbstractFileSet
   // (both DirSet and FileSet)
-private Union resources = new Union();
+private Union resources = null;
 private boolean relative = false;
 private boolean parallel = false;
 private boolean forwardSlash = false;
@@ -112,6 +112,9 @@
  * @since Ant 1.7
  */
 public void add(ResourceCollection rc) {
+if (resources == null) {
+resources = new Union();
+}
 resources.add(rc);
 }
 
@@ -294,7 +297,7 @@
 log("!! execon is deprecated. Use apply instead. !!");
 }
 super.checkConfiguration();
-if (filesets.size() == 0 && resources.size() == 0) {
+if (filesets.size() == 0 && resources == null) {
 throw new BuildException("no resources specified",
  getLocation());
 }
@@ -414,6 +417,7 @@
 }
 }
 
+if (resources != null) {
 Iterator iter = resources.iterator();
 while (iter.hasNext()) {
 Resource res = (Resource) iter.next();
@@ -481,6 +485,7 @@
 + totalDirs + " director"
 + (totalDirs != 1 ? "ies" : "y") + ".",
 verbose ? Project.MSG_INFO : Project.MSG_VERBOSE);
+}
 }
 } catch (IOException e) {
 throw new BuildException("Execute failed: " + e, e, getLocation());



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



svn commit: r306519 - in /ant/core/trunk: docs/manual/CoreTasks/ src/etc/testcases/taskdefs/ src/testcases/org/apache/tools/ant/taskdefs/

2005-10-05 Thread bodewig
Author: bodewig
Date: Wed Oct  5 20:49:34 2005
New Revision: 306519

URL: http://svn.apache.org/viewcvs?rev=306519&view=rev
Log:
docs and tests for unzip/tar and resource collections

Modified:
ant/core/trunk/docs/manual/CoreTasks/unzip.html
ant/core/trunk/src/etc/testcases/taskdefs/untar.xml
ant/core/trunk/src/etc/testcases/taskdefs/unzip.xml
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UntarTest.java
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UnzipTest.java

Modified: ant/core/trunk/docs/manual/CoreTasks/unzip.html
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/docs/manual/CoreTasks/unzip.html?rev=306519&r1=306518&r2=306519&view=diff
==
--- ant/core/trunk/docs/manual/CoreTasks/unzip.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/unzip.html Wed Oct  5 20:49:34 2005
@@ -14,9 +14,17 @@
 PatternSets are used to select 
files to extract
 from the archive.  If no patternset is used, all files are extracted.
 
-FileSets may be used to select 
archived files
-to perform unarchival upon.
-
+
+Resource
+Collections may be used to select archived files to perform
+unarchival upon.  Only file system based resource collections are
+supported by Unjar/Unwar/Unzip, this includes filesets, filelist and path.  Untar supports arbitrary resource
+collections.  Prior to Ant 1.7 only fileset has been supported as a
+nested element.
+
 You can define filename transformations by using a nested mapper element.  The default mapper is the
 identity mapper.
 

Modified: ant/core/trunk/src/etc/testcases/taskdefs/untar.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/untar.xml?rev=306519&r1=306518&r2=306519&view=diff
==
--- ant/core/trunk/src/etc/testcases/taskdefs/untar.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/untar.xml Wed Oct  5 20:49:34 2005
@@ -4,6 +4,7 @@
 
   
 
+
   
 
   
@@ -43,5 +44,19 @@
 
   
 
+  
+
+  
+
+
+  
+
+  
+
+
+  
+
+  
+
   
 

Modified: ant/core/trunk/src/etc/testcases/taskdefs/unzip.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/etc/testcases/taskdefs/unzip.xml?rev=306519&r1=306518&r2=306519&view=diff
==
--- ant/core/trunk/src/etc/testcases/taskdefs/unzip.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/unzip.xml Wed Oct  5 20:49:34 2005
@@ -122,4 +122,16 @@
 
 
   
+
+  
+
+  
+
+  
+  
+
+
+  
+
+  
 

Modified: 
ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UntarTest.java
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UntarTest.java?rev=306519&r1=306518&r2=306519&view=diff
==
--- ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UntarTest.java 
(original)
+++ ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/UntarTest.java 
Wed Oct  5 20:49:34 2005
@@ -39,39 +39,27 @@
 }
 
 public void testRealTest() throws java.io.IOException {
-executeTarget("realTest");
-
assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
-   
project.resolveFile("asf-logo.gif")));
+testLogoExtraction("realTest");
 }
 
 public void testRealGzipTest() throws java.io.IOException {
-executeTarget("realGzipTest");
-
assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
-   
project.resolveFile("asf-logo.gif")));
+testLogoExtraction("realGzipTest");
 }
 
 public void testRealBzip2Test() throws java.io.IOException {
-executeTarget("realBzip2Test");
-
assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
-   
project.resolveFile("asf-logo.gif")));
+testLogoExtraction("realBzip2Test");
 }
 
 public void testTestTarTask() throws java.io.IOException {
-executeTarget("testTarTask");
-
assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
-   
project.resolveFile("asf-logo.gif")));
+testLogoExtraction("testTarTask");
 }
 
 public void testTestGzipTarTask() throws java.io.IOException {
-executeTarget("testGzipTarTask");
-
assertTrue(FILE_UTILS.contentEquals(project.resolveFile("../asf-logo.gif"),
-   
project.resolveFile("asf-logo.gif")));
+testLogoExtraction("testGzipTarTask");
 }
 
 public void testTestBzip2TarTask() throws java.io.IOException {
-   

DO NOT REPLY [Bug 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 20:52 ---
Nevermind, and apologies Jose. Sounds like STX's the ticket for a general 
purpose solution to this problem. In the mean time, I'd still go with regular 
XSL, especially in the XML files to concat aren't that big. --DD

-- 
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: svn commit: r295060 - /ant/core/trunk/build.xml

2005-10-05 Thread Martijn Kruithof

[EMAIL PROTECTED] wrote:


Author: jhm
Date: Wed Oct  5 11:07:20 2005
New Revision: 295060

URL: http://svn.apache.org/viewcvs?rev=295060&view=rev
Log:
Prepare for Gump integration (Gumpy needs ALL optional jars). Next step: configure Gump 
for overwriting the property "optional.jars.whenmanifestonly".
 


I prepared an update on gump metadata/project/ant.xml

   
 
 
   

   
 
 
   

but I seem to miss the build.xml on which to run the gen target, would 
above changes be safe?

(Or Jan have you applied those changes already)

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



DO NOT REPLY [Bug 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 20:31 ---
Sorry Jose, but your comment doesn't make sense to me. XSL also is built on 
SAX. The issue is whether or not the XSL engine needs to and does in fact 
buffer the XML document before processing it. In some instances it must. In 
many it doesn't need to, but it does anyway because it's really difficult to 
find out when compiling the stylesheet whether true streaming is possible.

Or I completely misunderstood you. (Quite possible!)

It would not be difficult to write a little SAX program that does the same job 
a concatenation XSL would do, but that involves writing code. Would be the most 
robust solution, almost as fast as straight concat, but with XML correctness 
ensured. --DD

-- 
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: r295068 - /ant/core/trunk/build.xml

2005-10-05 Thread jkf
Author: jkf
Date: Wed Oct  5 11:30:36 2005
New Revision: 295068

URL: http://svn.apache.org/viewcvs?rev=295068&view=rev
Log:
Control building all optional jars the same way.

Modified:
ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/build.xml?rev=295068&r1=295067&r2=295068&view=diff
==
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Oct  5 11:30:36 2005
@@ -854,7 +854,7 @@
 
+  whenmanifestonly="${optional.jars.whenmanifestonly}">
   
 
 
@@ -935,7 +935,7 @@
 
+  whenmanifestonly="${optional.jars.whenmanifestonly}">
   
 
 



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



DO NOT REPLY [Bug 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 20:21 ---
(In reply to comment #8)
> It is perhaps not the fastest or memory efficient mean for very large XML 
> files, although one could argue that in theory a good optimizing XSL 
processor 
> doesn't need buffer/load whole document to do a concatenation when compiling 
> the stylesheet.
> It is however the 'right' way to manipulate XML files, even for 
concatenation. 
> Works all the time, whether a DTD or entities are used in the part, or when 
> encoding differs, whereas straight concatenation with head/tail filters is 
much 
> less robust.
> BTW, concatenating large XML files is in all cases a bad idea (something 
Ant's 
> own JUnit does, BTW). --DD

Well, although I agree that XML transformation may be the right tool, XSL 
transformations is really the wrong thing to use. STX is a much better 
technology in this case as the language is designed to execute using the SAX 
model (i.e., streaming the documents as you go). 

Joost (STX for Java) supports the transformer API, it should not be too 
dificult to allow the style task to use it.


-- 
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: r295063 - in /ant/core/trunk/xdocs/stylesheets: project.xml templates.vm

2005-10-05 Thread jhm
Author: jhm
Date: Wed Oct  5 11:19:24 2005
New Revision: 295063

URL: http://svn.apache.org/viewcvs?rev=295063&view=rev
Log:
Change image from ApacheCon EU to ApacheCon US. Without generated files - had 
problem while commiting: Commit failed: **\*.html has incosistent newlines

Modified:
ant/core/trunk/xdocs/stylesheets/project.xml
ant/core/trunk/xdocs/stylesheets/templates.vm

Modified: ant/core/trunk/xdocs/stylesheets/project.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/xdocs/stylesheets/project.xml?rev=295063&r1=295062&r2=295063&view=diff
==
--- ant/core/trunk/xdocs/stylesheets/project.xml (original)
+++ ant/core/trunk/xdocs/stylesheets/project.xml Wed Oct  5 11:19:24 2005
@@ -77,4 +77,4 @@
 
 
 
-
+
\ No newline at end of file

Modified: ant/core/trunk/xdocs/stylesheets/templates.vm
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/xdocs/stylesheets/templates.vm?rev=295063&r1=295062&r2=295063&view=diff
==
--- ant/core/trunk/xdocs/stylesheets/templates.vm (original)
+++ ant/core/trunk/xdocs/stylesheets/templates.vm Wed Oct  5 11:19:24 2005
@@ -194,9 +194,9 @@
 
   
 
-  http://ApacheCon.Com/";>http://ApacheCon.Com/";>http://apache.org/images/ac2005eu_135x50.gif";
+ src="http://www.apache.org/images/ac2005us_150x50.gif";
  alt="ApacheCon!" title="Come to ApacheCon!"/>
 
 



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



DO NOT REPLY [Bug 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 20:08 ---
It is perhaps not the fastest or memory efficient mean for very large XML 
files, although one could argue that in theory a good optimizing XSL processor 
doesn't need buffer/load whole document to do a concatenation when compiling 
the stylesheet.

It is however the 'right' way to manipulate XML files, even for concatenation. 
Works all the time, whether a DTD or entities are used in the part, or when 
encoding differs, whereas straight concatenation with head/tail filters is much 
less robust.

BTW, concatenating large XML files is in all cases a bad idea (something Ant's 
own JUnit does, BTW). --DD

-- 
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: r295060 - /ant/core/trunk/build.xml

2005-10-05 Thread jhm
Author: jhm
Date: Wed Oct  5 11:07:20 2005
New Revision: 295060

URL: http://svn.apache.org/viewcvs?rev=295060&view=rev
Log:
Prepare for Gump integration (Gumpy needs ALL optional jars). Next step: 
configure Gump for overwriting the property "optional.jars.whenmanifestonly".

Modified:
ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/build.xml?rev=295060&r1=295059&r2=295060&view=diff
==
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Oct  5 11:07:20 2005
@@ -41,6 +41,7 @@
   
 
   
+  
 
   
   
@@ -899,8 +900,8 @@
   
 
+  manifest="${manifest.tmp}"
+  whenmanifestonly="${optional.jars.whenmanifestonly}">
   
 
   
@@ -1262,7 +1263,7 @@
 
   
 
-
+
 
 
   
@@ -1608,7 +1609,7 @@
 value="${tests-classpath.value}"/>
   
   
-  
   
 
@@ -1807,4 +1808,4 @@
 description="--> creates a minimum distribution in ./dist"
 depends="dist-lite"/>
 
-
+
\ No newline at end of file



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



DO NOT REPLY [Bug 36939] - javac having issues compiling few classes

2005-10-05 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=36939





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 20:02 ---
It works correctly when I generate the build using JAVA_HOME pointing to Java 
1.4.2_03 and _08. 



-- 
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 36939] New: - javac having issues compiling few classes

2005-10-05 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=36939

   Summary: javac having issues compiling few classes
   Product: Ant
   Version: 1.6.2
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


I am trying to compile my code, which works fine on JAVA 1.4 with ANT 1.6.2, 
but using JAVA 1.5, I get an error, which I dont understand.

This is urgent and would appreciate some help.

[javac] /usr/local/ant/Bears/tempcodeMiletus/webApi/src/de/mud/telnet/ScriptHand
ler.java:30: warning: unmappable character for encoding UTF8
[javac] * @author Matthias L. Jugel, Marcus Mei�ner
[javac] ^
[javac] /usr/local/ant/Bears/tempcodeMiletus/webApi/src/de/mud/telnet/TelnetProt
ocolHandler.java:29: warning: unmappable character for encoding UTF8
[javac] * Maintainer: Marcus Mei�ner
[javac] ^
[javac] /usr/local/ant/Bears/tempcodeMiletus/webApi/src/de/mud/telnet/TelnetProt
ocolHandler.java:32: warning: unmappable character for encoding UTF8
[javac] * @author Matthias L. Jugel, Marcus Mei�ner
[javac] ^
[javac] /usr/local/ant/Bears/tempcodeMiletus/webApi/src/de/mud/telnet/TelnetWrap
per.java:53: warning: unmappable character for encoding UTF8
[javac] * @author Matthias L. Jugel, Marcus Mei�ner
[javac] ^
[javac] error: error 
reading /usr/local/ant/Bears/tempcode/webApi/src/com/dnsalias/java/timer/Advance
dTimer.java; java.util.zip.ZipException: error in opening zip file
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint eprecation for details.
[javac] 1 error
[javac] 4 warnings

-- 
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 36890] - concat task: add support for XML files

2005-10-05 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=36890





--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 19:49 ---
In my experience, concatenation of big XML documents is orders of magnitude
faster than performing such concatenation by means of XSL transformations.
However the  concat task can already filter out certain lines by using a
LineContains filter with the negate option (as of ant 1.7)

-- 
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 36890] - concat task: add support for XML files

2005-10-05 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=36890


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-10-05 19:08 ---
Just write a small XML document that list the files to be concatenated, and 
write an XSL transform to process this file to generate the concatenated 
version by using the document() XSL function. That's the way to go. --DD

-- 
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 25655] - [PATCH] Dependencies with regular expressions

2005-10-05 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=25655


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




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



fisheye

2005-10-05 Thread Matt Benson
Conor: Any word on when the fisheye.cenqua.com
instance will point to Ant SVN instead of CVS?

Thanks,
Matt



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



[Ant Wiki] Update of "EclipseAnt" by MikeOliverAZ

2005-10-05 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change 
notification.

The following page has been changed by MikeOliverAZ:
http://wiki.apache.org/ant/EclipseAnt

The comment on the change is:
google only returns what you know to ask for, it did NOT return the needed info.

--
  
  A-1. Just the first hit of a 
[http://www.google.com/search?q=eclipse%20ant%20classpath%20task search] gave 
[http://www.joeygibson.com/blog/tech/java/Ant/EclipseClasspathTask.html Free 
Eclipse Classpath Ant Task]. And the 
[http://ant.apache.org/external.html#ant4eclipse external task task page] lists 
also some. And it is listed as a Eclipse 
[http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=700 Plug-In].
  
+ A-1a. True all that, EXCEPT if you note the dates they are all over a year 
ago, and with Eclipse 3.1 they are obsolete!  Why?  Because Eclipse 3.1 has 
File->Export->Ant Buildfiles menu option that generates the build.xml and a 
user modifiable entity document called build-user.xml where you can put your 
own properties, tasks and targets.  Which is why this info needs to be here and 
if there was an Eclipse wiki of equal value to this one, it should go there too.
+ 

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



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

2005-10-05 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 dist-ant has an issue affecting its community integration.
This issue affects 13 projects,
 and has been outstanding for 7 runs.
The current state of this project is 'Failed', with reason 'Missing Build 
Outputs'.
For reference only, the following projects are affected by this:
- JacORB :  The free Java implementation of the OMG's CORBA standard.
- JacORB-idllib :  The free Java implementation of the OMG's CORBA standard.
- ant-xdocs-proposal :  Java based build tool
- dist-ant :  Java based build tool
- dist-xalan2 :  Release 2.x of the Xalan-Java XSLT processor
- dist-xerces1 :  Java XML Parser
- slide-webdavclient :  Content Management System based on WebDAV technology
- test-ant :  Java based build tool
- test-ant-no-xerces :  Java based build tool
- xml-batik :  Scalable Vector Graphics
- xml-batik-rasterizer :  Scalable Vector Graphics
- xml-fop :  XSL-FO (Formatting Objects) processor
- xml-fop-maintenance :  XSL-FO (Formatting Objects) processor (Maintenance 
branch)


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

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -WARNING- Bad *Optional* Dependency. Project: jai unknown to *this* workspace
 -INFO- Failed with reason missing build outputs
 -ERROR- Missing Output: 
/usr/local/gump/public/workspace/ant/build/lib/ant-jai.jar
 -ERROR- See Directory Listing Work for Missing Outputs
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/ant/dist-ant/gump_work/build_ant_dist-ant.html
Work Name: build_ant_dist-ant (Type: Build)
Work ended in a state of : Success
Elapsed: 2 mins 59 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only -Dchmod.fail=false distribution 
[Working Directory: /usr/local/gump/public/workspace/ant]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/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/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/packages/antlr-2.7.3/antlr.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-05102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-05102005.jar:/usr/local/gump/public/workspace/jakarta-commons/net/dist/commons-net-05102005.jar:/usr/local/gump/packages/jaf-1.0.1/activation.jar:/usr/local/gump/public/workspace/jakarta-bcel/bin/bcel.jar:/usr/local/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-05102005.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-05102005.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-05102005.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-0.1.18/dist/lib/jsch-gump.jar:/usr/local/gump/public/workspace/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar
-
  [javadoc] Generating 
/x1/gump/public/workspace/ant/build/javadocs/org/apache/tools/ant/taskdefs/repository/Library.html...
  [javadoc] "get the filename from the rule of archive+version+'.'+suffix."
  [javadoc] This sentence is different from what would be generated using 
-breakiterator: 
  [javadoc] "get the filename from the rule of archive+version+'.'"
  [javadoc] 
/x1/gump/public/workspace/ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java:54:
 warning - Tag @link: can't find enabled in 
org.apache.tools.ant.taskdefs.repository.Library
  [javadoc] 
/x1/gump/public/workspace/ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java:250:
 warning - Tag @link:

DO NOT REPLY [Bug 35929] - replace property values each time is executed

2005-10-05 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=35929


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID




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



[Ant Wiki] Update of "EclipseAnt" by JanMatèrne

2005-10-05 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change 
notification.

The following page has been changed by JanMatèrne:
http://wiki.apache.org/ant/EclipseAnt

The comment on the change is:
Got the answer by googling

--
  
  What would you like to see here?
  
- 1. Eclipse project classpath tools to let the eclipse classpath for a project 
be used with the  ant task without having to manually modify the 
build.xml.
+ Q-1. Eclipse project classpath tools to let the eclipse classpath for a 
project be used with the  ant task without having to manually modify the 
build.xml.
  
+ A-1. Just the first hit of a 
[http://www.google.com/search?q=eclipse%20ant%20classpath%20task search] gave 
[http://www.joeygibson.com/blog/tech/java/Ant/EclipseClasspathTask.html Free 
Eclipse Classpath Ant Task]. And the 
[http://ant.apache.org/external.html#ant4eclipse external task task page] lists 
also some. And it is listed as a Eclipse 
[http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=700 Plug-In].
+ 

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