DO NOT REPLY [Bug 19967] - Skip input task if property already set

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=19967

Skip input task if property already set





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 20:51 ---
Hi Steve






${foo}




Gives output of:

Buildfile: ../../test.xml

test:
[input] skipping input as property foo has already been set.
[input] enter value for foo:
fred
 [echo] bar

BUILD SUCCESSFUL
Total time: 3 seconds

That's running with a vanilla binary download of ant 1.6beta1.

If you look at Input.java's execute method:

public void execute () throws BuildException {
if (addproperty != null
&& getProject().getProperty(addproperty) != null) {
log("skipping " + getTaskName() + " as property " + addproperty
+ " has already been set.");
}

InputRequest request = null;
:
:
}

There appears to be no other action than logging being taken.

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



[vote] Ant 1.6 : further release plan

2003-10-13 Thread Antoine Lévy-Lambert
There have been some bugs fixed since the first ant1.6beta.

Thanks Stefan particularly.

I am thinking about preparing a second beta on Thursday evening (October
16th).

I would also like to make the 1.6 release on October 30th.

Cheers,

Antoine







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



cvs commit: ant/src/etc/testcases/taskdefs/optional/net ftp.xml

2003-10-13 Thread antoine
antoine 2003/10/13 12:53:01

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java
   src/testcases/org/apache/tools/ant/taskdefs/optional/net
FTPTest.java
   src/etc/testcases/taskdefs/optional/net ftp.xml
  Log:
  Merge from ANT_16_BRANCH
  
  Revision  ChangesPath
  1.53  +28 -24
ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  
  Index: FTP.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- FTP.java  12 Sep 2003 20:32:29 -  1.52
  +++ FTP.java  13 Oct 2003 19:53:01 -  1.53
  @@ -1357,30 +1357,34 @@
   }
   bw = new BufferedWriter(new FileWriter(listing));
   }
  -
  -for (int i = 0; i < dsfiles.length; i++) {
  -switch (action) {
  -case SEND_FILES:
  -sendFile(ftp, dir, dsfiles[i]);
  -break;
  -case GET_FILES:
  -getFile(ftp, dir, dsfiles[i]);
  -break;
  -case DEL_FILES:
  -delFile(ftp, dsfiles[i]);
  -break;
  -case LIST_FILES:
  -listFile(ftp, bw, dsfiles[i]);
  -break;
  -case CHMOD:
  -doSiteCommand(ftp, "chmod " + chmod + " " + 
resolveFile(dsfiles[i]));
  -transferred++;
  -break;
  -case RM_DIR:
  -rmDir(ftp, dsfiles[i]);
  -break;
  -default:
  -throw new BuildException("unknown ftp action " + 
action);
  +if (action == RM_DIR) {
  +// to remove directories, start by the end of the list
  +// the trunk does not let itself be removed before the leaves
  +for (int i = dsfiles.length - 1; i >= 0; i--) {
  +rmDir(ftp, dsfiles[i]);
  +}
  +}   else {
  +for (int i = 0; i < dsfiles.length; i++) {
  +switch (action) {
  +case SEND_FILES:
  +sendFile(ftp, dir, dsfiles[i]);
  +break;
  +case GET_FILES:
  +getFile(ftp, dir, dsfiles[i]);
  +break;
  +case DEL_FILES:
  +delFile(ftp, dsfiles[i]);
  +break;
  +case LIST_FILES:
  +listFile(ftp, bw, dsfiles[i]);
  +break;
  +case CHMOD:
  +doSiteCommand(ftp, "chmod " + chmod + " " + 
resolveFile(dsfiles[i]));
  +transferred++;
  +break;
  +default:
  +throw new BuildException("unknown ftp action " + 
action);
  +}
   }
   }
   } finally {
  
  
  
  1.9   +6 -1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java
  
  Index: FTPTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- FTPTest.java  22 Aug 2003 10:48:08 -  1.8
  +++ FTPTest.java  13 Oct 2003 19:53:01 -  1.9
  @@ -570,7 +570,12 @@
new String[] {"alpha/beta", "alpha/beta/gamma", 
"delta"});
   
   }
  -
  +/**
  + *  this test is inspired by a user reporting that deletions of 
directories with the ftp task do not work
  + */
  +public void testFTPDelete() {
  +getProject().executeTarget("ftp-delete");
  +}
   private void compareFiles(DirectoryScanner ds, String[] expectedFiles,
 String[] expectedDirectories) {
   String includedFiles[] = ds.getIncludedFiles();
  
  
  
  1.6   +23 -0 ant/src/etc/testcases/taskdefs/optional/net/ftp.xml
  
  Index: ftp.xml
  ===
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/net/ftp.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ftp.xml   14 Aug 2003 17:23:22 -  1.5
  +++ ftp.xml   13 Oct 2003 19:53:01 -  1.6
  @@ -77,4 +77,27 @@
   
   
  +

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java

2003-10-13 Thread antoine
antoine 2003/10/13 12:48:42

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/net Tag:
ANT_16_BRANCH FTP.java
  Log:
  Fix a bug with the action RMDIR of the FTP task
  The RMDIR action was bound to fail if there was more than one level of 
directories to delete.
  The problem has been reported by Sairam Manda on the user list on October 
10th and 13th.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.52.2.1  +28 -24
ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  
  Index: FTP.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java,v
  retrieving revision 1.52
  retrieving revision 1.52.2.1
  diff -u -r1.52 -r1.52.2.1
  --- FTP.java  12 Sep 2003 20:32:29 -  1.52
  +++ FTP.java  13 Oct 2003 19:48:42 -  1.52.2.1
  @@ -1357,30 +1357,34 @@
   }
   bw = new BufferedWriter(new FileWriter(listing));
   }
  -
  -for (int i = 0; i < dsfiles.length; i++) {
  -switch (action) {
  -case SEND_FILES:
  -sendFile(ftp, dir, dsfiles[i]);
  -break;
  -case GET_FILES:
  -getFile(ftp, dir, dsfiles[i]);
  -break;
  -case DEL_FILES:
  -delFile(ftp, dsfiles[i]);
  -break;
  -case LIST_FILES:
  -listFile(ftp, bw, dsfiles[i]);
  -break;
  -case CHMOD:
  -doSiteCommand(ftp, "chmod " + chmod + " " + 
resolveFile(dsfiles[i]));
  -transferred++;
  -break;
  -case RM_DIR:
  -rmDir(ftp, dsfiles[i]);
  -break;
  -default:
  -throw new BuildException("unknown ftp action " + 
action);
  +if (action == RM_DIR) {
  +// to remove directories, start by the end of the list
  +// the trunk does not let itself be removed before the leaves
  +for (int i = dsfiles.length - 1; i >= 0; i--) {
  +rmDir(ftp, dsfiles[i]);
  +}
  +}   else {
  +for (int i = 0; i < dsfiles.length; i++) {
  +switch (action) {
  +case SEND_FILES:
  +sendFile(ftp, dir, dsfiles[i]);
  +break;
  +case GET_FILES:
  +getFile(ftp, dir, dsfiles[i]);
  +break;
  +case DEL_FILES:
  +delFile(ftp, dsfiles[i]);
  +break;
  +case LIST_FILES:
  +listFile(ftp, bw, dsfiles[i]);
  +break;
  +case CHMOD:
  +doSiteCommand(ftp, "chmod " + chmod + " " + 
resolveFile(dsfiles[i]));
  +transferred++;
  +break;
  +default:
  +throw new BuildException("unknown ftp action " + 
action);
  +}
   }
   }
   } finally {
  
  
  

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



cvs commit: ant/src/etc/testcases/taskdefs/optional/net ftp.xml

2003-10-13 Thread antoine
antoine 2003/10/13 12:37:02

  Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/net
Tag: ANT_16_BRANCH FTPTest.java
   src/etc/testcases/taskdefs/optional/net Tag: ANT_16_BRANCH
ftp.xml
  Log:
  Added a testcase for the ftp task concerning the deletion of directories
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.8.2.1   +6 -1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java
  
  Index: FTPTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java,v
  retrieving revision 1.8
  retrieving revision 1.8.2.1
  diff -u -r1.8 -r1.8.2.1
  --- FTPTest.java  22 Aug 2003 10:48:08 -  1.8
  +++ FTPTest.java  13 Oct 2003 19:37:01 -  1.8.2.1
  @@ -570,7 +570,12 @@
new String[] {"alpha/beta", "alpha/beta/gamma", 
"delta"});
   
   }
  -
  +/**
  + *  this test is inspired by a user reporting that deletions of 
directories with the ftp task do not work
  + */
  +public void testFTPDelete() {
  +getProject().executeTarget("ftp-delete");
  +}
   private void compareFiles(DirectoryScanner ds, String[] expectedFiles,
 String[] expectedDirectories) {
   String includedFiles[] = ds.getIncludedFiles();
  
  
  
  No   revision
  No   revision
  1.5.2.1   +23 -0 ant/src/etc/testcases/taskdefs/optional/net/ftp.xml
  
  Index: ftp.xml
  ===
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/net/ftp.xml,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- ftp.xml   14 Aug 2003 17:23:22 -  1.5
  +++ ftp.xml   13 Oct 2003 19:37:02 -  1.5.2.1
  @@ -77,4 +77,27 @@
   
   
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
   
  
  
  

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



Re: Ant script repository?

2003-10-13 Thread Nick Chalko
Bob Lee wrote:
Is there any sort of central repository for Ant scripts?
Krysalis Centipede is trying to do this using  downloadable ant scripts  
called antlibs
Come by  http://krysalis.org/centipede and help out.



smime.p7s
Description: S/MIME Cryptographic Signature


DO NOT REPLY [Bug 23760] - allow for regular expressions in FileSet include and exclude

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 18:50 ---
With


  
  

  

 

the entire  has no effect  :(

related Fileset Problems are in
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23791

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



DO NOT REPLY [Bug 23711] - VSS-Get Task Fails with Label

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23711

VSS-Get Task Fails with Label

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 18:31 ---
The bug is now fixed in CVS, for both the ant 1.6 branch and the head.
Cheers. Antoine.

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSS.java

2003-10-13 Thread antoine
antoine 2003/10/13 11:26:36

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/vss
MSVSS.java
  Log:
  Merge fix for PR 23711 from ANT_16_BRANCH
  PR: 23711
  
  Revision  ChangesPath
  1.35  +16 -10
ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
  
  Index: MSVSS.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- MSVSS.java25 Jul 2003 12:14:44 -  1.34
  +++ MSVSS.java13 Oct 2003 18:26:36 -  1.35
  @@ -377,18 +377,24 @@
*/
   protected String getLabel() {
   if (m_Label != null && m_Label.length() > 0) {
  -if (m_Label.length() > 31) {
  -String label = m_Label.substring(0, 30);
  -log("Label is longer than 31 characters, truncated to: " + 
label, Project.MSG_WARN);
  -return FLAG_LABEL + label;
  -} else {
  -return FLAG_LABEL + m_Label;
  -}
  +return FLAG_LABEL + getShortLabel();
   } else {
   return "";
   }
   }
  -
  +/**
  + * return at most the 30 first chars of the label, logging a warning 
message about the truncation
  + * @return at most the 30 first chars of the label
  + */
  +private String getShortLabel() {
  +if (m_Label !=  null && m_Label.length() > 31) {
  +String label = m_Label.substring(0, 30);
  +log("Label is longer than 31 characters, truncated to: " + 
label, Project.MSG_WARN);
  +return label;
  +} else {
  +return m_Label;
  +}
  +}
   /**
*  Gets the style string. "-Lbuild1"
*
  @@ -410,9 +416,9 @@
   } else if (m_Date != null) {
   return FLAG_VERSION_DATE + m_Date;
   } else {
  -// Use getLabel() so labels longer then 30 char are truncated
  +// Use getShortLabel() so labels longer then 30 char are 
truncated
   // and the user is warned
  -String label = getLabel();
  +String label = getShortLabel();
   if (!label.equals("") && label != null) {
   return FLAG_VERSION_LABEL + label;
   }
  
  
  

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSS.java

2003-10-13 Thread antoine
antoine 2003/10/13 11:23:33

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/vss Tag:
ANT_16_BRANCH MSVSS.java
  Log:
   was sending a wrong command line prefix for labels -VL-Lsome.label
  this change fixes it to -VLsome.label instead
  PR: 23711
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.34.2.1  +16 -10
ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java
  
  Index: MSVSS.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java,v
  retrieving revision 1.34
  retrieving revision 1.34.2.1
  diff -u -r1.34 -r1.34.2.1
  --- MSVSS.java25 Jul 2003 12:14:44 -  1.34
  +++ MSVSS.java13 Oct 2003 18:23:33 -  1.34.2.1
  @@ -377,18 +377,24 @@
*/
   protected String getLabel() {
   if (m_Label != null && m_Label.length() > 0) {
  -if (m_Label.length() > 31) {
  -String label = m_Label.substring(0, 30);
  -log("Label is longer than 31 characters, truncated to: " + 
label, Project.MSG_WARN);
  -return FLAG_LABEL + label;
  -} else {
  -return FLAG_LABEL + m_Label;
  -}
  +return FLAG_LABEL + getShortLabel();
   } else {
   return "";
   }
   }
  -
  +/**
  + * return at most the 30 first chars of the label, logging a warning 
message about the truncation
  + * @return at most the 30 first chars of the label
  + */
  +private String getShortLabel() {
  +if (m_Label !=  null && m_Label.length() > 31) {
  +String label = m_Label.substring(0, 30);
  +log("Label is longer than 31 characters, truncated to: " + 
label, Project.MSG_WARN);
  +return label;
  +} else {
  +return m_Label;
  +}
  +}
   /**
*  Gets the style string. "-Lbuild1"
*
  @@ -410,9 +416,9 @@
   } else if (m_Date != null) {
   return FLAG_VERSION_DATE + m_Date;
   } else {
  -// Use getLabel() so labels longer then 30 char are truncated
  +// Use getShortLabel() so labels longer then 30 char are 
truncated
   // and the user is warned
  -String label = getLabel();
  +String label = getShortLabel();
   if (!label.equals("") && label != null) {
   return FLAG_VERSION_LABEL + label;
   }
  
  
  

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



Antlib.xml

2003-10-13 Thread Dominique Devienne
Thinking about the prospect of having to maintain both
tasks/types.properties, and the new antlib.xml, I'd like to be able to
"include" my existing tasks/types properties files from the antlib.xml file,
and thus avoid the duplication.

I like keeping definitions is one place only. Avoids being out-of-sync. The
recent commit messages on Ant-Contrib already show this happening for a
project looked at by many pairs of eyes...

Should be trivial to add a 'resource' attribute, no? Thanks, --DD

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



DO NOT REPLY [Bug 23711] - VSS-Get Task Fails with Label

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23711

VSS-Get Task Fails with Label

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
   Target Milestone|--- |1.6

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



DO NOT REPLY [Bug 18956] - p4change task causes build to hang

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=18956

p4change task causes build to hang





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 17:48 ---
Hi

I had the same problem after upgrading from Ant 1.4.1 to 1.5.4.
After studing CVS change log it appears that the bug was introduced in 1.5.2,
downgrading to 1.5.1 resolves the problem.

I just tried the latest 1.6beta1 and I don't experience the problem.

I see that there were several solutions proposed and I would like to confirm
that 1.6beta1 works for me.

Thank you.

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



DO NOT REPLY [Bug 23791] New: - warn if Fileset exclude patterns contain absolute paths in delete task

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23791

warn if Fileset exclude patterns contain absolute paths in delete task

   Summary: warn if Fileset exclude patterns contain absolute paths
in delete task
   Product: Ant
   Version: 1.6Beta
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]





  




  


The contents of the dumpFieldRealDir were also deleted - this is not fail-safe!

see also: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23790

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



DO NOT REPLY [Bug 23790] New: - warn if multiple patterns in include name attribute that expects to hold only a single pattern (e.g. in delete)

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23790

warn if multiple patterns in include name attribute that expects to hold only a 
single pattern (e.g. in delete)

   Summary: warn if multiple patterns in include name attribute that
expects to hold only a single pattern (e.g. in delete)
   Product: Ant
   Version: 1.6Beta
  Platform: Other
   URL: http://ant.apache.org/manual/CoreTypes/patternset.html
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Not knowing http://ant.apache.org/manual/CoreTypes/patternset.html, I 
had the below


  


  


it seems that if there is a second element in the exclude statement, it is
simply ignored which is quite dangerous in this case here - also the 
**/transform/*.class files were deleted!

Suggestion: warn if there is a second element that is not expected to be there
and do not simply ignore it! In the case of the "delete" task, this is not
fail-safe at all.

See also: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23789

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



DO NOT REPLY [Bug 23789] New: - warn if

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23789

warn if http://ant.apache.org/manual/CoreTasks/delete.html
OS/Version: Other
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I had a simple delete task

and wanted to exclude something
  excludes="**/transform/**/*.* ${ASM_jar}"
Doing that I got the DEPRECATED error and added
  


  
resulting in

  


  


BUILD FAILED
file:build.xml:667: WEB-INF/classes not found.

The exclude statement came too late and all its contents were already gone!

Suggested resolution:
if a nested fileset is present, warn about deleting what is specified in "dir"

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



DO NOT REPLY [Bug 23788] New: - JSPC webinc does not generate an XML file

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23788

JSPC webinc does not generate an XML file

   Summary: JSPC webinc does not generate an XML file
   Product: Ant
   Version: 1.6Beta
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Optional Tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The JSP task does not generate an xml fragment file.  I ran the task and 
successfully generated .java, but did not generate the XML fragment that must 
be copied and pasted (or replaced using ant) into the web.xml file.

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



DO NOT REPLY [Bug 19967] - Skip input task if property already set

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=19967

Skip input task if property already set





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 16:44 ---
Are you sure? I am not seeing this as I use it in a CVS commit process.

Can you post your build file?

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



DO NOT REPLY [Bug 21421] - [Patch] to allow to run several targets without rerunning their dependencies

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=21421

[Patch] to allow to run several targets without rerunning their dependencies





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 16:37 ---
Can some body incorporate this into the main ant. it seems odd that the 
project share the same properties but not the depedency graph.

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



DO NOT REPLY [Bug 23785] - [patch] Having execute a nested if the target is out of date

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23785

[patch] Having  execute a nested  if the target is out of 
date





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 16:07 ---
Yes, Ant-Contrib has , and it works great for me. --DD

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



DO NOT REPLY [Bug 23785] - [patch] Having execute a nested if the target is out of date

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23785

[patch] Having  execute a nested  if the target is out of 
date





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 16:06 ---
Created an attachment (id=8558)
uptodate suggested patch

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



DO NOT REPLY [Bug 23785] New: - [patch] Having execute a nested if the target is out of date

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23785

[patch] Having  execute a nested  if the target is out of 
date

   Summary: [patch] Having  execute a nested 
if the target is out of date
   Product: Ant
   Version: 1.7Alpha (nightly)
  Platform: All
OS/Version: All
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Basically, I've added the capability for  to have a nested
 task that only gets executed if the targets are out of date.  At
present I have to create a whole other  to do the dependency check so
that the primary target and have an unless="blah.uptodate".

This would make my ant script have fewer 'unnecessary' targets & seems like a
good idea.  (To me, anyway).

Apprently ant-contrib has this already.

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



Ant script repository?

2003-10-13 Thread Bob Lee
Is there any sort of central repository for Ant scripts?
This could be a nice thing to have. For example, what if I'd like to 
find Ant scripts that work with WSAD's default perspectives?

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


DO NOT REPLY [Bug 23783] - Calling Multiple Targets doesn't resolve the dependency properly

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23783

Calling Multiple Targets doesn't resolve the dependency properly





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:52 ---
This is by design... Probably won't change behavior. Would need new notation to 
specify a set of targets which should share a dependency graph (as if all in 
the depends attribute of a virtual command line target;-)

You can turn around this somewhat by setting a property at the end of the 
target you do not want re-executed, and adding an 'unless' attribute on that 
property for the target. This works because the CLI targets share a common 
project (stores the properties) which is not reset, but do not share a 
dependency graph. Go figure ;-)

--DD

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



DO NOT REPLY [Bug 21421] - [Patch] to allow to run several targets without rerunning their dependencies

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=21421

[Patch] to allow to run several targets without rerunning their dependencies

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:49 ---
*** Bug 23783 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 23783] - Calling Multiple Targets doesn't resolve the dependency properly

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23783

Calling Multiple Targets doesn't resolve the dependency properly

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:49 ---
The behaviour is by (mis)design.
Alexey's patch would fix this in a backward compible way.

*** This bug has been marked as a duplicate of 21421 ***

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



DO NOT REPLY [Bug 23783] - Calling Multiple Targets doesn't resolve the dependency properly

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23783

Calling Multiple Targets doesn't resolve the dependency properly





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:45 ---
I submitted a patch for that in bug 21421 . Please  take a look.

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



DO NOT REPLY [Bug 23783] New: - Calling Multiple Targets doesn't resolve the dependency properly

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23783

Calling Multiple Targets doesn't resolve the dependency properly

   Summary: Calling Multiple Targets doesn't resolve the dependency
properly
   Product: Ant
   Version: 1.5.4
  Platform: Other
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Build Process
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When calling multiple targets using the command line on the same build file. 
The targets that the command line targets depend on are being executed twice 
for each target. 
I am not sure if this is a design issue or a bug.

We have a build file that combines multiple products, many of these products 
depends on getting the latest version from source safe for example. The 
getLatestVersion target executes once for each one of the targets specified on 
the command line.

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 08:29:52

  Modified:docs faq.html
   xdocsfaq.xml
  Log:
  Typo fix, submitted by Larry Shatzer
  
  Revision  ChangesPath
  1.84  +1 -1  ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- faq.html  13 Oct 2003 13:44:55 -  1.83
  +++ faq.html  13 Oct 2003 15:29:52 -  1.84
  @@ -993,7 +993,7 @@
   You may have seen these lower-case directory 
names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
   WinZIP encounters a filename that is all upper-case, it
  -assumes it has come from an old DOS box andchanges the case to
  +assumes it has come from an old DOS box and changes the case to
   all lower-case for you.
   If you extract (or just check) the archive with 
jar, you
   will see that the names have the correct case.
  
  
  
  1.43  +1 -1  ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- faq.xml   13 Oct 2003 13:44:56 -  1.42
  +++ faq.xml   13 Oct 2003 15:29:52 -  1.43
  @@ -700,7 +700,7 @@
   You may have seen these lower-case directory names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
   WinZIP encounters a filename that is all upper-case, it
  -assumes it has come from an old DOS box andchanges the case to
  +assumes it has come from an old DOS box and changes the case to
   all lower-case for you.
   
   If you extract (or just check) the archive with jar, you
  
  
  

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



Re: [PATCH] faq.xml

2003-10-13 Thread Stefan Bodewig
thanks

Stefan

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 08:28:36

  Modified:docs Tag: ANT_16_BRANCH faq.html
   xdocsTag: ANT_16_BRANCH faq.xml
  Log:
  Typo fix, submitted by Larry Shatzer
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.77.2.5  +1 -1  ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.77.2.4
  retrieving revision 1.77.2.5
  diff -u -r1.77.2.4 -r1.77.2.5
  --- faq.html  13 Oct 2003 13:45:47 -  1.77.2.4
  +++ faq.html  13 Oct 2003 15:28:36 -  1.77.2.5
  @@ -987,7 +987,7 @@
   You may have seen these lower-case directory 
names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
   WinZIP encounters a filename that is all upper-case, it
  -assumes it has come from an old DOS box andchanges the case to
  +assumes it has come from an old DOS box and changes the case to
   all lower-case for you.
   If you extract (or just check) the archive with 
jar, you
   will see that the names have the correct case.
  
  
  
  No   revision
  No   revision
  1.38.2.5  +1 -1  ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.38.2.4
  retrieving revision 1.38.2.5
  diff -u -r1.38.2.4 -r1.38.2.5
  --- faq.xml   13 Oct 2003 13:45:47 -  1.38.2.4
  +++ faq.xml   13 Oct 2003 15:28:36 -  1.38.2.5
  @@ -700,7 +700,7 @@
   You may have seen these lower-case directory names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
   WinZIP encounters a filename that is all upper-case, it
  -assumes it has come from an old DOS box andchanges the case to
  +assumes it has come from an old DOS box and changes the case to
   all lower-case for you.
   
   If you extract (or just check) the archive with jar, you
  
  
  

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



[PATCH] faq.xml

2003-10-13 Thread Shatzer, Larry
put a space between "andchanges" to make it "and changes"

-- Larry

Index: xdocs/faq.xml
===
RCS file: /home/cvspublic/ant/xdocs/faq.xml,v
retrieving revision 1.42
diff -u -r1.42 faq.xml
--- xdocs/faq.xml   13 Oct 2003 13:44:56 -  1.42
+++ xdocs/faq.xml   13 Oct 2003 15:21:16 -
@@ -700,7 +700,7 @@
 You may have seen these lower-case directory names in
 WinZIP, but WinZIP is trying to be helpful (and fails).  If
 WinZIP encounters a filename that is all upper-case, it
-assumes it has come from an old DOS box andchanges the case to
+assumes it has come from an old DOS box and changes the case to
 all lower-case for you.
 
 If you extract (or just check) the archive with jar, you

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

DO NOT REPLY [Bug 22834] - XSLT fails transforming file with doctype

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=22834

XSLT fails transforming file with doctype





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:16 ---
Hmm, how does you  definition look like and what does ant -debug say?

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



DO NOT REPLY [Bug 22834] - XSLT fails transforming file with doctype

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=22834

XSLT fails transforming file with doctype





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:07 ---
Please look at my answer on 2003-09-01

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



DO NOT REPLY [Bug 23541] - Enhance error messages of taskdef to say what really is not found...

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23541

Enhance error messages of taskdef to say what really is not found...

[EMAIL PROTECTED] changed:

   What|Removed |Added

OtherBugsDependingO||23741
  nThis||

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



DO NOT REPLY [Bug 23741] - mistaken conversion class name into unix-style path - taskdef A class needed by class myTask cannot be found

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23741

mistaken conversion class name into unix-style path - taskdef A class needed by 
class myTask cannot be found

[EMAIL PROTECTED] changed:

   What|Removed |Added

  BugsThisDependsOn||23541
 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:05 ---
is unlikely to happen again if 23541 is more explanatory!

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



DO NOT REPLY [Bug 23541] - Enhance error messages of taskdef to say what really is not found...

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23541

Enhance error messages of taskdef to say what really is not found...





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:03 ---
o.k. Thanks to Stefan, I figured that my class-path went too close to the real 
file.

Therefore, my suggestion alter the current error message as follows to prevent
"classpath-conventions-ignorants" like myself from endless trials:

Current:
<>

Suggestions:
1)<>

Suggestion: as per my
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=8534
>

Perhaps, it would also be useful to:
3) enhance http://ant.apache.org/manual/using.html#path with a reference to the
official java classpath conventions
4) or mention the important parts of the classpath convention there

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



DO NOT REPLY [Bug 23732] - Specification on attribute setter names should be updated in develop.html#writingowntask

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23732

Specification on attribute setter names should be updated in 
develop.html#writingowntask

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
  Component|Core tasks  |Documentation
 Resolution|INVALID |
Summary|ExecuteOn () and |Specification on attribute
   |ExecTask () are full  |setter names should be
   |of mixed-case attribute |updated in
   |setters!|develop.html#writingowntask



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 14:27 ---
Sure enough, guess they're okay.  I did ask whether I was out of my mind.  I 
apparently stuck an attribute in the wrong place and when it didn't work I, 
having the code handy from task development, noticed that setSkipEmptyFilesets, 
as well as many other methods, were in mixed-case.  According to the manual, 
under Developing With Ant > Writing Your Own Task, on attribute setter 
methods:  "The name of the method must begin with set, followed by the 
attribute name, with the first character of the name in uppercase, and the rest 
in lowercase."  So the bug report should have been a documentation bug...

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



DO NOT REPLY [Bug 23775] - allow for international characters in comments or provide better error messages: Invalid byte 2 of 2-byte UTF-8 sequence (was ant-RFE)

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23775

allow for international characters in comments or provide better error 
messages: Invalid byte 2 of 2-byte UTF-8 sequence (was ant-RFE)

[EMAIL PROTECTED] changed:

   What|Removed |Added

 AssignedTo|[EMAIL PROTECTED]  |xerces-j-dev@xml.apache.org
 Status|REOPENED|NEW

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



DO NOT REPLY [Bug 23775] - allow for international characters in comments or provide better error messages: Invalid byte 2 of 2-byte UTF-8 sequence (was ant-RFE)

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23775

allow for international characters in comments or provide better error 
messages: Invalid byte 2 of 2-byte UTF-8 sequence (was ant-RFE)

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
URL||http://ant.apache.org/faq.ht
   ||ml#encoding
 Status|RESOLVED|REOPENED
Product|Ant |Xerces-J
 Resolution|INVALID |
Summary|allow for international |allow for international
   |characters in comments or   |characters in comments or
   |provide better error|provide better error
   |messages: Invalid byte 2 of |messages: Invalid byte 2 of
   |2-byte UTF-8 sequence   |2-byte UTF-8 sequence (was
   ||ant-RFE)
Version|1.6Beta |1.2.3



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 14:19 ---
thx, found the FAQ entry and added it to the URL field.

o.k., as per the stacktrace in -debug, this seems to be xerxes
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

==> moved bug to there since no similar bug when querying product xerxes-j

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



DO NOT REPLY [Bug 22834] - XSLT fails transforming file with doctype

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=22834

XSLT fails transforming file with doctype





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 14:14 ---
It seems as if the case where location contains an URL wouldn't work for 
non-file
URLs.

If you download the DTD to your local filesystem, does it work?

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



DO NOT REPLY [Bug 23760] - allow for regular expressions in FileSet include and exclude

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:54 ---
 is a fileset and thus supports .

If I knew what you really wanted, I could help you.  What is where and where do
you want it to end up inside the war?

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



DO NOT REPLY [Bug 23775] - allow for international characters in comments or provide better error messages: Invalid byte 2 of 2-byte UTF-8 sequence

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23775

allow for international characters in comments or provide better error 
messages: Invalid byte 2 of 2-byte UTF-8 sequence

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

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



DO NOT REPLY [Bug 23775] - allow for international characters in comments or provide better error messages: Invalid byte 2 of 2-byte UTF-8 sequence

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23775

allow for international characters in comments or provide better error 
messages: Invalid byte 2 of 2-byte UTF-8 sequence





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:51 ---
unless you say something else, XML documents must be in UTF8 encoding.
Ant can't do anything here as it doesn't even see the document, the parser 
aborts
parsing before Ant gets hold of it.

For the "unless you say something else" part see Ant's FAQ.

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:45:47

  Modified:docs Tag: ANT_16_BRANCH faq.html
   xdocsTag: ANT_16_BRANCH faq.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.77.2.4  +3 -3  ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.77.2.3
  retrieving revision 1.77.2.4
  diff -u -r1.77.2.3 -r1.77.2.4
  --- faq.html  13 Oct 2003 13:42:53 -  1.77.2.3
  +++ faq.html  13 Oct 2003 13:45:47 -  1.77.2.4
  @@ -233,7 +233,7 @@
 How can I include national characters like German
   umlauts in my build file?
 
  -
  +
 How do I use jar's M switch?
 I don't want a MANIFEST.
 
  @@ -851,13 +851,13 @@
   
   
   
  -  
  +  
 How do I use jar's M switch?
 I don't want a MANIFEST.
   
 A JAR archive is a ZIP file, so if you don't want a
   MANIFEST you can simply use .
  -If your filenames contain national characters you 
should
  +If your file names contain national characters 
you should
   know that Sun's jar utility like Ant's
    uses UFT8 to encode their names while
    uses your platforms default encoding.
  
  
  
  No   revision
  No   revision
  1.38.2.4  +2 -2  ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.38.2.3
  retrieving revision 1.38.2.4
  diff -u -r1.38.2.3 -r1.38.2.4
  --- faq.xml   13 Oct 2003 13:42:54 -  1.38.2.3
  +++ faq.xml   13 Oct 2003 13:45:47 -  1.38.2.4
  @@ -524,7 +524,7 @@
 
   
   
  -
  +
 How do I use jar's M switch?
 I don't want a MANIFEST.
   
  @@ -532,7 +532,7 @@
   A JAR archive is a ZIP file, so if you don't want a
   MANIFEST you can simply use .
   
  -If your filenames contain national characters you should
  +If your file names contain national characters you should
   know that Sun's jar utility like Ant's
    uses UFT8 to encode their names while
    uses your platforms default encoding.
  
  
  

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:44:56

  Modified:docs faq.html
   xdocsfaq.xml
  Log:
  Typo
  
  Revision  ChangesPath
  1.83  +3 -3  ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- faq.html  13 Oct 2003 13:42:16 -  1.82
  +++ faq.html  13 Oct 2003 13:44:55 -  1.83
  @@ -239,7 +239,7 @@
 How can I include national characters like German
   umlauts in my build file?
 
  -
  +
 How do I use jar's M switch?
 I don't want a MANIFEST.
 
  @@ -857,13 +857,13 @@
   
   
   
  -  
  +  
 How do I use jar's M switch?
 I don't want a MANIFEST.
   
 A JAR archive is a ZIP file, so if you don't want a
   MANIFEST you can simply use .
  -If your filenames contain national characters you 
should
  +If your file names contain national characters 
you should
   know that Sun's jar utility like Ant's
    uses UFT8 to encode their names while
    uses your platforms default encoding.
  
  
  
  1.42  +2 -2  ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- faq.xml   13 Oct 2003 13:42:16 -  1.41
  +++ faq.xml   13 Oct 2003 13:44:56 -  1.42
  @@ -524,7 +524,7 @@
 
   
   
  -
  +
 How do I use jar's M switch?
 I don't want a MANIFEST.
   
  @@ -532,7 +532,7 @@
   A JAR archive is a ZIP file, so if you don't want a
   MANIFEST you can simply use .
   
  -If your filenames contain national characters you should
  +If your file names contain national characters you should
   know that Sun's jar utility like Ant's
    uses UFT8 to encode their names while
    uses your platforms default encoding.
  
  
  

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



DO NOT REPLY [Bug 23775] New: - allow for international characters in comments or provide better error messages: Invalid byte 2 of 2-byte UTF-8 sequence

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23775

allow for international characters in comments or provide better error 
messages: Invalid byte 2 of 2-byte UTF-8 sequence

   Summary: allow for international characters in comments or
provide better error messages: Invalid byte 2 of 2-byte
UTF-8 sequence
   Product: Ant
   Version: 1.6Beta
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I quoted somebody in a comment of my build file


and I got:
<>
Suggestions: 
1) print the offending line number
2) print the offending character or the entire line

P.S.: The German "SZ" was it!   ;)

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:42:54

  Modified:docs Tag: ANT_16_BRANCH faq.html
   xdocsTag: ANT_16_BRANCH faq.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.77.2.3  +17 -0 ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.77.2.2
  retrieving revision 1.77.2.3
  diff -u -r1.77.2.2 -r1.77.2.3
  --- faq.html  13 Oct 2003 13:20:01 -  1.77.2.2
  +++ faq.html  13 Oct 2003 13:42:53 -  1.77.2.3
  @@ -233,6 +233,10 @@
 How can I include national characters like German
   umlauts in my build file?
 
  +
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +  
   
   It doesn't work (as expected)
   
  @@ -846,6 +850,19 @@
   
   
   
  +
  +  
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +
  +  A JAR archive is a ZIP file, so if you don't want a
  +MANIFEST you can simply use .
  +If your filenames contain national characters you 
should
  +know that Sun's jar utility like Ant's
  + uses UFT8 to encode their names while
  + uses your platforms default encoding.
  +Use the encoding attribute of  if
  +necessary.
   
 
 Why does Ant always recompile all my Java files?
  
  
  
  No   revision
  No   revision
  1.38.2.3  +23 -6 ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.38.2.2
  retrieving revision 1.38.2.3
  diff -u -r1.38.2.2 -r1.38.2.3
  --- faq.xml   13 Oct 2003 13:20:01 -  1.38.2.2
  +++ faq.xml   13 Oct 2003 13:42:54 -  1.38.2.3
  @@ -199,7 +199,7 @@
   
 
   
  -  How do I add an external task that I've written to the
  +  How do I add an external task that I've written to the
 page "External Tools and Task"?
 
   
  @@ -215,7 +215,7 @@
 a URL: entry linking to the main page of the tool/task
 a Contact: entry containing the email address or the URL
 of a webpage for the person or list to contact for issues
  -  related to the tool/task.  Note that we'll add a
  +  related to the tool/task.  Note that we'll add a
 link on the page, so any email address added there is not
 obfuscated and can (and probably will) be abused by robots
 harvesting websites for addresses to spam.
  @@ -513,7 +513,7 @@
   declaration.  
   
   By default the parser assumes you are using the UTF-8
  -encoding instead of your platform's default.  For most Western
  +encoding instead of your platform's default.  For most Western
   European countries you should set the encoding to
   ISO-8859-1.  To do so, make the very first line
   of you build file read like
  @@ -523,6 +523,23 @@
   ]]>
 
   
  +
  +
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +
  +  
  +A JAR archive is a ZIP file, so if you don't want a
  +MANIFEST you can simply use .
  +
  +If your filenames contain national characters you should
  +know that Sun's jar utility like Ant's
  + uses UFT8 to encode their names while
  + uses your platforms default encoding.
  +Use the encoding attribute of  if
  +necessary.
  +  
  +
 
   
 
  @@ -662,12 +679,12 @@
 
   
   When ant loads properties from an external
  -file it dosn't touch the value of properties, trailing blanks
  +file it dosn't touch the value of properties, trailing blanks
   will not be trimmed for example.
   
   If the value represents a file path, like a jar needed to
   compile, the task which requires the value, javac for example
  -would fail to compile since it can't find the file due to
  +would fail to compile since it can't find the file due to
   trailing spaces.
 
   
  @@ -678,7 +695,7 @@
   meta-inf directory.
   
 
  -No it doesn't.
  +No it doesn't.
   
   You may have seen these lower-case directory names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
  
  
  

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:42:16

  Modified:docs faq.html
   xdocsfaq.xml
  Log:
  Answered that jar M question once too often
  
  Revision  ChangesPath
  1.82  +17 -0 ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -r1.81 -r1.82
  --- faq.html  13 Oct 2003 13:18:08 -  1.81
  +++ faq.html  13 Oct 2003 13:42:16 -  1.82
  @@ -239,6 +239,10 @@
 How can I include national characters like German
   umlauts in my build file?
 
  +
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +  
   
   It doesn't work (as expected)
   
  @@ -852,6 +856,19 @@
   
   
   
  +
  +  
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +
  +  A JAR archive is a ZIP file, so if you don't want a
  +MANIFEST you can simply use .
  +If your filenames contain national characters you 
should
  +know that Sun's jar utility like Ant's
  + uses UFT8 to encode their names while
  + uses your platforms default encoding.
  +Use the encoding attribute of  if
  +necessary.
   
 
 Why does Ant always recompile all my Java files?
  
  
  
  1.41  +23 -6 ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- faq.xml   13 Oct 2003 13:18:08 -  1.40
  +++ faq.xml   13 Oct 2003 13:42:16 -  1.41
  @@ -199,7 +199,7 @@
   
 
   
  -  How do I add an external task that I've written to the
  +  How do I add an external task that I've written to the
 page "External Tools and Task"?
 
   
  @@ -215,7 +215,7 @@
 a URL: entry linking to the main page of the tool/task
 a Contact: entry containing the email address or the URL
 of a webpage for the person or list to contact for issues
  -  related to the tool/task.  Note that we'll add a
  +  related to the tool/task.  Note that we'll add a
 link on the page, so any email address added there is not
 obfuscated and can (and probably will) be abused by robots
 harvesting websites for addresses to spam.
  @@ -513,7 +513,7 @@
   declaration.  
   
   By default the parser assumes you are using the UTF-8
  -encoding instead of your platform's default.  For most Western
  +encoding instead of your platform's default.  For most Western
   European countries you should set the encoding to
   ISO-8859-1.  To do so, make the very first line
   of you build file read like
  @@ -523,6 +523,23 @@
   ]]>
 
   
  +
  +
  +  How do I use jar's M switch?
  +  I don't want a MANIFEST.
  +
  +  
  +A JAR archive is a ZIP file, so if you don't want a
  +MANIFEST you can simply use .
  +
  +If your filenames contain national characters you should
  +know that Sun's jar utility like Ant's
  + uses UFT8 to encode their names while
  + uses your platforms default encoding.
  +Use the encoding attribute of  if
  +necessary.
  +  
  +
 
   
 
  @@ -662,12 +679,12 @@
 
   
   When ant loads properties from an external
  -file it dosn't touch the value of properties, trailing blanks
  +file it dosn't touch the value of properties, trailing blanks
   will not be trimmed for example.
   
   If the value represents a file path, like a jar needed to
   compile, the task which requires the value, javac for example
  -would fail to compile since it can't find the file due to
  +would fail to compile since it can't find the file due to
   trailing spaces.
 
   
  @@ -678,7 +695,7 @@
   meta-inf directory.
   
 
  -No it doesn't.
  +No it doesn't.
   
   You may have seen these lower-case directory names in
   WinZIP, but WinZIP is trying to be helpful (and fails).  If
  
  
  

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



DO NOT REPLY [Bug 23659] - Jar Task should support the M option

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23659

Jar Task should support the M option

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:35 ---
Use  (and set the encoding to UTF8 if necessary), that's all jar M would
do.

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



DO NOT REPLY [Bug 23760] - allow for regular expressions in FileSet include and exclude

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:35 ---
Somehow, I don't get it to work with your below suggestion that I interpreted as
follows:
a) abc.class remains in the "nested element 'classes'" as per
http://ant.apache.org/manual/CoreTasks/war.html
b) your  goes into a generic fileset?



   
  
  

  
   




now all *.class files are gone in all directories and in 
/usr/local/tomcat/work/MyService/localhost/myApp/WEB-INF/classes/com/*/one
directory/ not even abc.class is found...

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



DO NOT REPLY [Bug 18912] - Javadoc: nested element "tag" does not allow empty description attribute

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=18912

Javadoc: nested element "tag" does not allow empty description attribute

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:34 ---
*** Bug 23737 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 23737] - javadoc tag order

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23737

javadoc tag order

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:34 ---
fixed in 1.6beta1

*** This bug has been marked as a duplicate of 18912 ***

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



DO NOT REPLY [Bug 18128] - s don't support sets of absolute filenames

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=18128

s don't support sets of absolute filenames

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:32 ---
*** Bug 23758 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 23758] - Reqm'ts bug? Can't specify Fileset with only includesfile

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23758

Reqm'ts bug? Can't specify Fileset with only includesfile

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:32 ---


*** This bug has been marked as a duplicate of 18128 ***

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



cvs commit: ant/xdocs external.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:25:05

  Modified:docs external.html
   xdocsexternal.xml
  Log:
  Modify entry for Image, Submitted by Abey Mullassery 
  
  Revision  ChangesPath
  1.140 +9 -9  ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.139
  retrieving revision 1.140
  diff -u -r1.139 -r1.140
  --- external.html 12 Oct 2003 19:39:52 -  1.139
  +++ external.html 13 Oct 2003 13:25:05 -  1.140
  @@ -1147,18 +1147,18 @@
 
   
   
  -
  -Image Tasks
  +
  +Image
 
   Image task generates and transforms images. It 
exposes the
   imaging capability available in Java2D, Java Advanced Imaging,
   ImageIO, etc., as set of nested elements.
  -Image operations such as "resize" (scale),
  -"overlay" (one image on another), "border"
  -(add a border), "text" (text on image),
  -"crop" (a sub-image of a bigger image),
  +Image transformations such as "resize"
  +(scale),"overlay" (one image on another),
  +"border" (add a border), "text" (text on
  +image), "crop" (a sub-image of a bigger image),
   "rotate", "grayscale" (change a color
  -image to shades of gray)
  +image to shades of gray).
 
 
 
 
  -  Ant 1.3
  +  Ant 1.4
 
 
 
  @@ -1177,7 +1177,7 @@
 
 
  -  http://www.mullassery.com/software/ANT";>http://www.mullassery.com/software/ANT
  +  http://www.mullassery.com/software/ANT/";>http://www.mullassery.com/software/ANT/
 
 
 
  
  
  
  1.102 +9 -9  ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- external.xml  9 Oct 2003 13:52:37 -   1.101
  +++ external.xml  13 Oct 2003 13:25:05 -  1.102
  @@ -551,27 +551,27 @@
   
 
   
  -  
  -
  +  
   Image task generates and transforms images. It exposes the
   imaging capability available in Java2D, Java Advanced Imaging,
   ImageIO, etc., as set of nested elements.
   
  -Image operations such as "resize" (scale),
  -"overlay" (one image on another), "border"
  -(add a border), "text" (text on image),
  -"crop" (a sub-image of a bigger image),
  +Image transformations such as "resize"
  +(scale),"overlay" (one image on another),
  +"border" (add a border), "text" (text on
  +image), "crop" (a sub-image of a bigger image),
   "rotate", "grayscale" (change a color
  -image to shades of gray)
  +image to shades of gray).
   
   
 
   Compatibility:
  -Ant 1.3
  +Ant 1.4
 
 
   URL:
  -http://www.mullassery.com/software/ANT";>http://www.mullassery.com/software/ANT
  +http://www.mullassery.com/software/ANT/";>http://www.mullassery.com/software/ANT/
 
 
   Contact:
  
  
  

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



DO NOT REPLY [Bug 19967] - Skip input task if property already set

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=19967

Skip input task if property already set

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |
Version|1.5.3   |1.6Beta



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:27 ---
1.6Beta1 input task reports that it is skipping input if the property has
already been set - but then goes on to ask for it anyway.

I'm not sure whether that's by design, but the documentation implies that it
will just carry onto the next task if that's the situation.

Looking at the source of Input.java's execute() method, presumably a return or
else clause is all that would be required to make it happen.

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:20:01

  Modified:docs Tag: ANT_16_BRANCH faq.html
   xdocsTag: ANT_16_BRANCH faq.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.77.2.2  +22 -0 ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.77.2.1
  retrieving revision 1.77.2.2
  diff -u -r1.77.2.1 -r1.77.2.2
  --- faq.html  7 Oct 2003 14:29:30 -   1.77.2.1
  +++ faq.html  13 Oct 2003 13:20:01 -  1.77.2.2
  @@ -1103,6 +1103,28 @@
  
   ]>
   
  +Starting with Ant 1.6, there is a new
  + task that can (also) be used to
  +include build file fragments.  Unlike the snippets used with
  +entity includes, the referenced files have to be complete Ant
  +build files, though.
  +The example above would become:
  +
  +
  +
  +
  +  
  +...
  +  
  +
  +  
  +
  +  ...
  +
  +
  +
  +Unlike entity includes, 
 will
  +let you use Ant properties in the file name.
   
 
 How do I send an email with the result of my build
  
  
  
  No   revision
  No   revision
  1.38.2.2  +25 -0 ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.38.2.1
  retrieving revision 1.38.2.2
  diff -u -r1.38.2.1 -r1.38.2.2
  --- faq.xml   7 Oct 2003 14:29:30 -   1.38.2.1
  +++ faq.xml   13 Oct 2003 13:20:01 -  1.38.2.2
  @@ -845,6 +845,31 @@
  
   ]>
   ]]>
  +
  +Starting with Ant 1.6, there is a new
  + task that can (also) be used to
  +include build file fragments.  Unlike the snippets used with
  +entity includes, the referenced files have to be complete Ant
  +build files, though.
  +
  +The example above would become:
  +
  +
  +Unlike entity includes,  will
  +let you use Ant properties in the file name.
 
   
   
  
  
  

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



cvs commit: ant/xdocs faq.xml

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:18:08

  Modified:docs faq.html
   xdocsfaq.xml
  Log:
  Mention  in the FAQ
  
  Revision  ChangesPath
  1.81  +22 -0 ant/docs/faq.html
  
  Index: faq.html
  ===
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.80
  retrieving revision 1.81
  diff -u -r1.80 -r1.81
  --- faq.html  12 Oct 2003 19:39:52 -  1.80
  +++ faq.html  13 Oct 2003 13:18:08 -  1.81
  @@ -1109,6 +1109,28 @@
  
   ]>
   
  +Starting with Ant 1.6, there is a new
  + task that can (also) be used to
  +include build file fragments.  Unlike the snippets used with
  +entity includes, the referenced files have to be complete Ant
  +build files, though.
  +The example above would become:
  +
  +
  +
  +
  +  
  +...
  +  
  +
  +  
  +
  +  ...
  +
  +
  +
  +Unlike entity includes, 
 will
  +let you use Ant properties in the file name.
   
 
 How do I send an email with the result of my build
  
  
  
  1.40  +25 -0 ant/xdocs/faq.xml
  
  Index: faq.xml
  ===
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- faq.xml   7 Oct 2003 14:28:25 -   1.39
  +++ faq.xml   13 Oct 2003 13:18:08 -  1.40
  @@ -845,6 +845,31 @@
  
   ]>
   ]]>
  +
  +Starting with Ant 1.6, there is a new
  + task that can (also) be used to
  +include build file fragments.  Unlike the snippets used with
  +entity includes, the referenced files have to be complete Ant
  +build files, though.
  +
  +The example above would become:
  +
  +
  +Unlike entity includes,  will
  +let you use Ant properties in the file name.
 
   
   
  
  
  

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



cvs commit: ant/docs/manual/CoreTasks apply.html exec.html java.html

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:09:40

  Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH apply.html
exec.html java.html
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.23.2.2  +4 -0  ant/docs/manual/CoreTasks/apply.html
  
  Index: apply.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/apply.html,v
  retrieving revision 1.23.2.1
  retrieving revision 1.23.2.2
  diff -u -r1.23.2.1 -r1.23.2.2
  --- apply.html9 Oct 2003 21:01:07 -   1.23.2.1
  +++ apply.html13 Oct 2003 13:09:40 -  1.23.2.2
  @@ -27,6 +27,10 @@
   for in the given dest.
   At least one fileset or filelist is required, and you must not specify 
more than
   one mapper.
  +
  +Note that you cannot interact with the forked program, the only way
  +to send input to it is via the input and inputstring attributes.
  +
   Parameters
   
 
  
  
  
  1.34.2.3  +3 -0  ant/docs/manual/CoreTasks/exec.html
  
  Index: exec.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision 1.34.2.2
  retrieving revision 1.34.2.3
  diff -u -r1.34.2.2 -r1.34.2.3
  --- exec.html 9 Oct 2003 21:01:07 -   1.34.2.2
  +++ exec.html 13 Oct 2003 13:09:40 -  1.34.2.3
  @@ -14,6 +14,9 @@
   the command is only executed when Ant is run on one of the specified 
operating
   systems.
   
  +Note that you cannot interact with the forked program, the only way
  +to send input to it is via the input and inputstring attributes.
  +
   Cygwin Users
   In general the  task will not understand paths such as 
/bin/sh for 
   the executable parameter. This is because the Java VM in which Ant is 
running is a 
  
  
  
  1.24.2.2  +4 -0  ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.24.2.1
  retrieving revision 1.24.2.2
  diff -u -r1.24.2.1 -r1.24.2.2
  --- java.html 9 Oct 2003 21:01:07 -   1.24.2.1
  +++ java.html 13 Oct 2003 13:09:40 -  1.24.2.2
  @@ -15,6 +15,10 @@
   
   If odd things go wrong when you run this task, set fork="true" to use a new
   JVM.
  +
  +Note that you cannot interact with a forked VM, the only way to
  +send input to it is via the input and inputstring attributes.
  +
   Parameters
   
 
  
  
  

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



cvs commit: ant/docs/manual/CoreTasks apply.html exec.html java.html

2003-10-13 Thread bodewig
bodewig 2003/10/13 06:08:52

  Modified:docs/manual/CoreTasks apply.html exec.html java.html
  Log:
  You can't interact with forked processes - PR 23686
  
  Revision  ChangesPath
  1.24  +4 -0  ant/docs/manual/CoreTasks/apply.html
  
  Index: apply.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/apply.html,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- apply.html19 Sep 2003 08:44:22 -  1.23
  +++ apply.html13 Oct 2003 13:08:52 -  1.24
  @@ -26,6 +26,10 @@
   for in the given dest.
   At least one fileset or filelist is required, and you must not specify 
more than
   one mapper.
  +
  +Note that you cannot interact with the forked program, the only way
  +to send input to it is via the input and inputstring attributes.
  +
   Parameters
   
 
  
  
  
  1.36  +3 -0  ant/docs/manual/CoreTasks/exec.html
  
  Index: exec.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- exec.html 25 Sep 2003 12:36:19 -  1.35
  +++ exec.html 13 Oct 2003 13:08:52 -  1.36
  @@ -13,6 +13,9 @@
   the command is only executed when Ant is run on one of the specified 
operating
   systems.
   
  +Note that you cannot interact with the forked program, the only way
  +to send input to it is via the input and inputstring attributes.
  +
   Cygwin Users
   In general the  task will not understand paths such as 
/bin/sh for 
   the executable parameter. This is because the Java VM in which Ant is 
running is a 
  
  
  
  1.25  +4 -0  ant/docs/manual/CoreTasks/java.html
  
  Index: java.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- java.html 1 Sep 2003 12:45:06 -   1.24
  +++ java.html 13 Oct 2003 13:08:52 -  1.25
  @@ -14,6 +14,10 @@
   
   If odd things go wrong when you run this task, set fork="true" to use a new
   JVM.
  +
  +Note that you cannot interact with a forked VM, the only way to
  +send input to it is via the input and inputstring attributes.
  +
   Parameters
   
 
  
  
  

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



DO NOT REPLY [Bug 23686] - doesn't work well with interactive programs

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23686

 doesn't work well with interactive programs





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 13:06 ---
Hmm, good question, I was sure this would be documented in the  page.
I'll add this shortly.

It means we don't know how to properly fix it, some issues:

* Ant will not know whether a spawned prcess is going to ask for input - and
  how much.  Reading from System.in is a blocking operation.  Whan should
  Ant start to read it, when should it stop?

* The started process may try to read from the input immediately, this means Ant
  must start pumping input into ut even before it gets time to read something
  from the process.

* If multiple tasks are running simultaniously (), which one will get
  the input?

All those problems are not present for the input and inputstring support in Ant
1.6.

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



DO NOT REPLY [Bug 23741] - mistaken conversion class name into unix-style path - taskdef A class needed by class myTask cannot be found

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23741

mistaken conversion class name into unix-style path - taskdef A class needed by 
class myTask cannot be found





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 10:14 ---
What is the package name of your myTask class?

To me everything looks absolutely correct and the dots get turned into slashes
part only happens in your own debug code (as you are asking for the file name).

If your Java class myTask is in package fully.qualified.java.classname and can
be loaded via myTaskClasspath.path, then your taskdef is correct and I cannot
see what you think was wrong.

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



DO NOT REPLY [Bug 23760] - allow for regular expressions in FileSet include and exclude

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Normal  |Enhancement



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 09:37 ---
To answer your question first: yes.

Your examples


  
  

  


and the second one should already work with includes="**/abc.class".

Adding new selectors has become straight forward in Ant 1.6, what you need can
already be done using selector containers.  A matches attribute on 
or something similar might be a good idea, but certainly is an enhancement
request.

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



DO NOT REPLY [Bug 10888] - contain support for regular expression

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=10888

contain support for regular expression





--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 09:32 ---
As soon as Ant 1.6 has a final release.  It already is documented here
http://ant.apache.org/manual-1.6beta/CoreTypes/selectors.html

If you look at the cover page of the manual your URL refers to, it says that 
this
is the manual for Ant 1.5.4 which doesn't include the selector.

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



DO NOT REPLY [Bug 20329] - Does not remove the directory after deleteing the files.

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=20329

Does not remove the directory after deleteing the files.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 09:15 ---
I am changing this to "WORKSFORME" as no-one
can reproduce the problem.

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



cvs commit: ant/docs bindownload.html srcdownload.html

2003-10-13 Thread chrisw
chrisw  2003/10/13 01:36:45

  Modified:xdocsbindownload.xml srcdownload.xml
   docs bindownload.html srcdownload.html
  Log:
  Fix problem with distributions relation to the nav tree - -tag content 
has to match the name of the Nav entry.
  
  Revision  ChangesPath
  1.20  +1 -1  ant/xdocs/bindownload.xml
  
  Index: bindownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/bindownload.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- bindownload.xml   12 Oct 2003 19:39:53 -  1.19
  +++ bindownload.xml   13 Oct 2003 08:36:44 -  1.20
  @@ -2,7 +2,7 @@
   
   
 
  -Binary Distribution
  +Binary Distributions
   
 
   
  
  
  
  1.18  +1 -1  ant/xdocs/srcdownload.xml
  
  Index: srcdownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/srcdownload.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- srcdownload.xml   12 Oct 2003 19:39:53 -  1.17
  +++ srcdownload.xml   13 Oct 2003 08:36:44 -  1.18
  @@ -2,7 +2,7 @@
   
   
 
  -Source Distribution
  +Source Distributions
   
 
   
  
  
  
  1.40  +4 -4  ant/docs/bindownload.html
  
  Index: bindownload.html
  ===
  RCS file: /home/cvs/ant/docs/bindownload.html,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- bindownload.html  12 Oct 2003 19:39:52 -  1.39
  +++ bindownload.html  13 Oct 2003 08:36:45 -  1.40
  @@ -5,7 +5,7 @@
   
   
 
  -Apache Ant - Binary Distribution
  +Apache Ant - Binary Distributions
   
   
   
  @@ -119,8 +119,8 @@
 Download
 
   
  -http://ant.apache.org/bindownload.cgi";>Binary Distributions
  -
  +  Binary Distributions
  +  
   
   http://ant.apache.org/srcdownload.cgi";>Source Distributions
   
  @@ -169,7 +169,7 @@
  
 
 
  -Binary Distribution
  +Binary Distributions
   
 
 Downloading Ant
  
  
  
  1.39  +4 -4  ant/docs/srcdownload.html
  
  Index: srcdownload.html
  ===
  RCS file: /home/cvs/ant/docs/srcdownload.html,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- srcdownload.html  12 Oct 2003 19:39:52 -  1.38
  +++ srcdownload.html  13 Oct 2003 08:36:45 -  1.39
  @@ -5,7 +5,7 @@
   
   
 
  -Apache Ant - Source Distribution
  +Apache Ant - Source Distributions
   
   
   
  @@ -122,8 +122,8 @@
   http://ant.apache.org/bindownload.cgi";>Binary Distributions
   
   
  -http://ant.apache.org/srcdownload.cgi";>Source Distributions
  -
  +  Source Distributions
  +  
 
   
 Contributing
  @@ -169,7 +169,7 @@
  
 
 
  -Source Distribution
  +Source Distributions
   
 
 Downloading Ant
  
  
  

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



[Complete] Re: Preventing Parent Classloading

2003-10-13 Thread Upayavira
Dominique Devienne wrote:
-Original Message-
From: Upayavira [mailto:[EMAIL PROTECTED]
Dominique Devienne wrote:
   

Here's something that might work. The code you sketched below, which only
depends on Cocoon classes, could be make part of Cocoon itself in an
existing or new JAR from Cocoon/WEB-INF/lib, as a new main() entry point.
This way, you could then just use the Java task within your own task (do
this all the time in my own custom task), calling that entry point, and
setting the classpath explicitly. Play as well with the attributes to
include or not the system and Ant runtime.
 

The only problem I can forsee with this is that I'll already have the
configuration of the task read into a DOM object, which I'll want to
pass to the main() method. But I suspect the Java task will only pass
Strings. Am I correct here?
   

Well, yes. But you can always serialize your DOM tree to disk, and pass the
name of the temp file to the main as an arg. If Java cannot sort the
classloader stuff in non-forking mode, then you can still fork it, and this
time it should work. --DD
 

Dominique et al,
I think I now have something working. What I did was to get a  
snippet from Forrest, get that working using the normal  task, 
then to copy Java.java and ExecuteJava.java into my own project and 
gradually amend them until I had successfully merged them with my 
existing Task code.

I would like to thank you so much for your help with this project. Your 
two pointers (DynamicConfigurator and using the Java task as a base) 
have been what have got me to completion on this.

It is just a matter of tidying up and simplifying the code before I can 
commit it to the Cocoon codebase.

[I just hope I haven't overlooked something again. Two or three times I 
thought I'd got classloading working, only to find that the class was 
already in my path :-(  ]

With best wishes,
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 23568] - native2ascii task malfunction with property in encoding attribute

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23568

native2ascii task malfunction with property in encoding attribute

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 08:13 ---
I tried it again and I have to say, that problem was somewhere else. First -
accidently wrong name of property, second - my IDE. I was using ant for initial
compilation and then IDE for incremental ones, but it "compiled" (=copied) also
properties files, and that was the reason, why it started to work on one system
(no IDE usage) but confused me on the second.
I marked bug as invalid, I hope that it is for these kind of "bugs".
Sorry for your time... and thanks for ant itself ;-)

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



DO NOT REPLY [Bug 10888] - contain support for regular expression

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=10888

contain support for regular expression

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
URL||http://ant.apache.org/manual
   ||/CoreTypes/selectors.html#co
   ||ntainsselect



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 08:02 ---
when will this documented in the above URL?

see for a similar issue: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

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



DO NOT REPLY [Bug 23760] New: - allow for regular expressions in FileSet include and exclude

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23760

allow for regular expressions in FileSet include and exclude

   Summary: allow for regular expressions in FileSet include and
exclude
   Product: Ant
   Version: 1.6Beta
  Platform: Other
   URL: http://ant.apache.org/manual/dirtasks.html#patterns
OS/Version: Other
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


or http://ant.apache.org/manual/CoreTypes/fileset.html

Basically, in a war task, I want to include all *.class in the directory tree,
except in one directory, I only want the file abc.class, but none of the 100+
other files in there.

Or could http://ant.apache.org/manual/CoreTypes/selectors.html#filenameselect
and http://ant.apache.org/manual/CoreTypes/selectors.html#selectcontainers be
used to create a work-around?

P.S.: somewhat related to 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10888 ?

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



DO NOT REPLY [Bug 23732] - ExecuteOn () and ExecTask () are full of mixed-case attribute setters!

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23732

ExecuteOn () and ExecTask () are full of mixed-case attribute 
setters!

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 07:55 ---
Which methods are the problem?

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



DO NOT REPLY [Bug 22834] - XSLT fails transforming file with doctype

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=22834

XSLT fails transforming file with doctype

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 07:45 ---
The problem still exists with 1.6beta1. What's new in the log is the message
concerning the org/apache/xml/resolver/tools/CatalogResolver class:

 [xslt] Loading stylesheet
/home/marc/EWorkspace/junetz/web-app/WEB-INF/src/doc/tld.xslt
resolveEntity: '-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN':
'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'
Apache resolver library not found, internal resolver will be used
Failed to load Apache resolver: java.lang.NoClassDefFoundError:
org/apache/xml/resolver/tools/CatalogResolver
Matching catalog entry found for publicId: '-//Sun Microsystems, Inc.//DTD JSP
Tag Library 1.2//EN' location: 
'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'
fileName /dtd/web-jsptaglibrary_1_2.dtd
Couldn't load ResourceStream for 
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
catalog entry matched as a URL: 
'http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd'

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



DO NOT REPLY [Bug 23758] - Reqm'ts bug? Can't specify Fileset with only includesfile

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23758

Reqm'ts bug? Can't specify Fileset with only includesfile

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.5.2   |1.5.4



--- Additional Comments From [EMAIL PROTECTED]  2003-10-13 02:12 ---
See this bug with 1.5.4.

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



DO NOT REPLY [Bug 23758] New: - Reqm'ts bug? Can't specify Fileset with only includesfile

2003-10-13 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=23758

Reqm'ts bug? Can't specify Fileset with only includesfile

   Summary: Reqm'ts bug? Can't specify Fileset with only
includesfile
   Product: Ant
   Version: 1.5.2
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


This is a request to reconsider the way  works.  I would like to 
specify the files belonging to the set as only those contained in an include 
file.  There is no way to specify this.

The required syntax is as follows:





This only works if I know and can specify the directory of the files that are 
being deleted.  Otherwise the delete fails and Ant goes on to the next task.  
This doesn't allow me to specify the paths in the include file (which in my 
case is generated by an outside script).

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