RE: [SUBMIT] optional task

2003-09-05 Thread Shatzer, Larry
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2003 11:09 PM > To: [EMAIL PROTECTED] > Subject: RE: [SUBMIT] optional task > > > First thought on that topic is a kind of printf > > where > propertytakes the name of th

[PATCH] ManifestTask.java (fix typos)

2003-09-05 Thread Shatzer, Larry
It's section, not secti0on. Also, it's manifest, not maniofets. -- Larry Index: src/main/org/apache/tools/ant/taskdefs/ManifestTask.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/ManifestTask.java,v re

RE: [SUBMIT] optional task

2003-09-05 Thread Shatzer, Larry
I should have figured the .java file would be stripped. Here it is with .txt appended to get it through. -- Larry /* * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary for

RE: [SUBMIT] optional task

2003-09-05 Thread Shatzer, Larry
Attached is the java file and the doc file (with a .txt attached to the end to make sure it gets through.) -- Larry propertyformatter Task propertyformatter Description Formats a string to a paticular format. Parameters Attribute Description Required property

Re: BugZilla queries

2003-09-05 Thread Conor MacNeill
On Fri, 5 Sep 2003 09:42 pm, [EMAIL PROTECTED] wrote: > Does anyone know how to do a querie for bugs >sorted by descending votes ?? > This is what I do Run a query. Select "Change Columns" link Select Votes Re-run the query Click the votes link in the results heading Manually edit the result

Re: BugZilla queries

2003-09-05 Thread Stefan Bodewig
On Fri, 5 Sep 2003, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > I do not know either how to make a RFE for Bugzilla. Depending on whether this is a feature missing from Bugzilla in general or just from the Apache installation the answer is either

Re: BugZilla queries

2003-09-05 Thread Antoine Levy-Lambert
Hi Jan, no it is not offered by bugzilla. There is an option to choose the columns you want to appear on the list and make the votes appear, but number of votes does not seem be offered for sorting. I do not know either how to make a RFE for Bugzilla. Cheers, Antoine - Original Message - Fr

BugZilla queries

2003-09-05 Thread Jan . Materne
Does anyone know how to do a querie for bugs sorted by descending votes ?? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [SUBMIT] optional task

2003-09-05 Thread Jan . Materne
> > Thoughts? > > Is it really worth the trouble? If so, it may even be easier to write > a sprintf library from scratch and put it into jakarta commons. > > Stefan For the sprintf/scanf the common-lang would be good. I think in org.apache.commons.lang.StringUtils. Sometimes I needed a sprint

RE: (WAS: RE: [SUBMIT] optional task )

2003-09-05 Thread Jan . Materne
Ggrr - how to include simple small zips? Here as inline: --8-<-8-<--8-<-8-<--8-<-8-<--8-<-8-< package org.apache.tools.ant.taskdefs.optional; import org.apache.tools.ant.Task; import java.util.StringTokenizer; import java.util.Vector; import org.apache.tools.ant

Re: [SUBMIT] optional task

2003-09-05 Thread Stefan Bodewig
On Fri, 5 Sep 2003, Jan Materne <[EMAIL PROTECTED]> wrote: > "Free for non-commercial use." Is not acceptable for us, of course. Ant is free for any use. > "Developers: Printf for Java is distributed as fully functional, > non-expiring, nag-free, shareware." Same here. > So I introduced an in

(WAS: RE: [SUBMIT] optional task )

2003-09-05 Thread Jan . Materne
Title: (WAS: RE: [SUBMIT] optional task ) Hmm, attachement didn“t come through ... Once again: - sprintf.zip (7kB) containing buildfile and sources (impl and test) Jan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 05, 2003 12:3

RE: [SUBMIT] optional task

2003-09-05 Thread Jan . Materne
Title: RE: [SUBMIT] optional task Quick hack for (I saw that that is the usual name :-) That task depends on a library implementing the sprintf functionality. A little googling gave me three sources: - http://www.braju.com but "Free for non-commercial use." - http://sourceforge.net/projects/

Re: [Ant-contrib-developers] propertyregex: '\' within patterns

2003-09-05 Thread peter reilly
The reason is (fairly) simple. The cause is that \digit is used as a replacement token. So the code in org.apache.tools.ant.util.regex.(JakartaOro|Jdk14Regexp|JakartaRegexp)Regexp #substitute check if a \ appears in the string and if so if the next character is a digit, if so it then does the su

Re: antcall and build.xml being modified.

2003-09-05 Thread Stefan Bodewig
On Thu, 4 Sep 2003, Larry Shatzer <[EMAIL PROTECTED]> wrote: > Is Ant supposed to lock the build file at runtime on windows? No, and as I'm lucky to not use Windows (this may have to change soon, *shudder*) I didn't know for sure. I simply expected it would do - but Ant probably closes the file

RE: [SUBMIT] optional task

2003-09-05 Thread Jan . Materne
First thought on that topic is a kind of printf where propertytakes the name of the new created property refids takes a list of (:,;) separated names of properties format takes the format string like in printf That would be much more powerful than these predefined fo

RE: [SUBMIT] optional task

2003-09-05 Thread Shatzer, Larry
Apparently the patch.tar.gz was stripped off... I'll attach them tommrow somehow when I am back at work. -- Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[SUBMIT] optional task

2003-09-05 Thread Shatzer, Larry
Optional Task Proposal Bug#22889 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22889) got me thinking about this. At first I knocked up a quick change to allow uppercase and lowercase with a format attribute for . Then I was thinking, a better place for this is in it's own task. So I decided

Re: Why the latest build requires explicit for

2003-09-05 Thread Alexey N. Solofnenko
It is still a magic for me... The reason for this strange behaviour is that I had [correct!] ant.jar on my classpath. For some reasons ANT's classloader does not like that. After I added for testing ant-apache-bsf.jar on the classpath too, everything went fine. - Alexey. Ps. I hope you did not