DO NOT REPLY [Bug 18091] New: - EJB tasks: 'websphere.home' is misspelled 'webpshere.home'

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18091.
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=18091

EJB tasks: 'websphere.home' is misspelled 'webpshere.home'

   Summary: EJB tasks: 'websphere.home' is misspelled
'webpshere.home'
   Product: Ant
   Version: 1.5.2
  Platform: All
   URL: http://http://ant.apache.org/manual/index.html
OS/Version: All
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The following line from the documentation on EJBJAR for websphere is wrong:
property name=webpshere.home value=${was4.home}/
It should be corrected to:
property name=websphere.home value=${was4.home}/

It results in the following error when running the task:
The 'websphere.home' property must be set when 'ejbdeploy=true'


DO NOT REPLY [Bug 18071] - Ant RPM task doesn't work on Redhat 8.0

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18071.
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=18071

Ant RPM task doesn't work on Redhat 8.0

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2003-03-18 09:37 ---


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


cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Zip.java

2003-03-18 Thread bodewig
bodewig 2003/03/18 05:15:48

  Modified:src/main/org/apache/tools/ant/taskdefs Zip.java
  Log:
  JDK 1.1
  
  Revision  ChangesPath
  1.102 +2 -2  ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- Zip.java  12 Mar 2003 11:23:27 -  1.101
  +++ Zip.java  18 Mar 2003 13:15:48 -  1.102
  @@ -844,11 +844,11 @@
   Vector resources = new Vector();
   String[] directories = rs.getIncludedDirectories();
   for (int j = 0; j  directories.length; j++) {
  -resources.add(rs.getResource(directories[j]));
  +resources.addElement(rs.getResource(directories[j]));
   }
   String[] files = rs.getIncludedFiles();
   for (int j = 0; j  files.length; j++) {
  -resources.add(rs.getResource(files[j]));
  +resources.addElement(rs.getResource(files[j]));
   }
   
   result[i] = new Resource[resources.size()];
  
  
  


DO NOT REPLY [Bug 18105] New: - problem with TarEntry class and linux

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18105.
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=18105

problem with TarEntry class and linux

   Summary: problem with TarEntry class and linux
   Product: Ant
   Version: 1.5.2
  Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
  Severity: Normal
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


there's a problem in the TarEntry class :
...
public TarEntry(File file) {

this();



this.file = file;



String name = file.getPath();

String osname = System.getProperty(os.name);



if (osname != null) {



// Strip off drive letters!

// REVIEW Would a better check be (File.separator == '\')?

String win32Prefix = Windows;

String prefix = osname.substring(0, win32Prefix.length());
...
when using linux, osname = Linux and its length is  win32Prefix.length()
So, when invoking 'osname.substring(0, win32Prefix.length());' an exception is
returned :

Exception in thread main java.lang.StringIndexOutOfBoundsException: String
index out of range: 7
at java.lang.String.substring(String.java:1477)
at org.apache.tools.tar.TarEntry.init(TarEntry.java:210)
...

In fact, with such a bug linux is incompatible with ant and Tar* classes...


DO NOT REPLY [Bug 18110] New: - java.io.IOException: CreateProcess

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18110.
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=18110

java.io.IOException: CreateProcess

   Summary: java.io.IOException: CreateProcess
   Product: Ant
   Version: 1.5.1
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Blocker
  Priority: Other
 Component: Build Process
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


java.io.IOException: CreateProcess: ${jwsdp.home}\bin\xrpcc.bat while compiling 
the rpc server stub in a simple JAX-RPC web application.


Re: New related project

2003-03-18 Thread Stefan Bodewig
On Mon, 17 Mar 2003, Jan Materne [EMAIL PROTECTED] wrote:

 I see a new project with it´s Ant tasks: www.AndroMDA.org .

we usually don't go and search for projects to add, but wait for them
to ask us 8-)

Anyway, thanks for the pointer, I've added it - will appear on the
site when cron kicks in.

Stefan


cvs commit: ant/xdocs external.xml projects.xml

2003-03-18 Thread bodewig
bodewig 2003/03/18 08:11:37

  Modified:docs external.html projects.html
   xdocsexternal.xml projects.xml
  Log:
  Pointers Submitted by:Jan.Materne Jan dot Materne at rzf dot fin 
dash nrw dot de
  Markus Gebhard markus at jave dot de
  Steve Neal S dot Neal at Smartkey dot co dot uk
  
  Revision  ChangesPath
  1.96  +105 -1ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- external.html 14 Mar 2003 12:03:51 -  1.95
  +++ external.html 18 Mar 2003 16:11:36 -  1.96
  @@ -1102,7 +1102,7 @@
 /font
   /td/tr
 /table
  -pThere are three different sets of tasks to help 
build a href=http://java.sun.com/j2me/;Java 2 Platform, Micro
  +pThere are four different sets of tasks to help 
build a href=http://java.sun.com/j2me/;Java 2 Platform, Micro
   Edition/a (J2ME) applications./p
   pThis set supports CLDC and the K Virtual 
Machine (KVM):/p
 table class=ForrestTable 
cellspacing=1 cellpadding=4
  @@ -1239,6 +1239,56 @@
 /td
 /tr
   /table
  +pAntic is a freely available task for 
packaging J2ME
  + applications. It produces both the Jar and Jad files in a
  + single step. This allows *all* entries to be correclty set in
  + the jad file, including the size of the jar file that is
  + produced. This task has been used and tested extensively with
  + Sun's Wireless Toolkit and also the Nokia SDK and
  + emulators./p
  +  table class=ForrestTable 
cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Ant 1.5
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a 
href=http://www.smartkey.co.uk/antic.html;www.smartkey.co.uk/a
  +
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=mailto:[EMAIL PROTECTED]smartkey.co.uk/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  License:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  GNU General Public License
  +  /td
  +  /tr
  +/table
   br/
 a name=Jacson/a
 table border=0 cellspacing=0 cellpadding=2 width=100%
  @@ -1422,6 +1472,60 @@
 td colspan=1 rowspan=1
 valign=top align=left
 BSD-like License
  +  /td
  +  /tr
  +/table
  +br/
  +  a name=Java2Html/a
  +  table border=0 cellspacing=0 cellpadding=2 width=100%
  +trtd bgcolor=#4C6C8F
  +  font color=#ff face=arial,helvetica,sanserif
  +strongJava2Html/strong
  +  /font
  +/td/tr
  +  /table
  +pUses the Java2Html library for converting java 
source files
  +or snipplets to syntax highlighted html, rtf, tex and
  +others./p
  +  table class=ForrestTable 
cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Ant 1.5 and later
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=http://www.java2html.de;http://www.java2html.de/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=mailto:[EMAIL PROTECTED][EMAIL 

Re: New J2ME Ant task

2003-03-18 Thread Stefan Bodewig
On Mon, 17 Mar 2003, Steve Neal [EMAIL PROTECTED] wrote:

 I've implemented this task recently to help with J2ME development

Just out of curiosity, what has been wrong with one of the three
existing sets of tasks?

I've added the pointer, it should appear on the site within the next
few hours.

Stefan


cvs commit: ant/xdocs external.xml

2003-03-18 Thread bodewig
bodewig 2003/03/18 08:15:38

  Modified:docs external.html
   xdocsexternal.xml
  Log:
  untabify
  
  Revision  ChangesPath
  1.97  +8 -8  ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- external.html 18 Mar 2003 16:11:36 -  1.96
  +++ external.html 18 Mar 2003 16:15:37 -  1.97
  @@ -1240,12 +1240,12 @@
 /tr
   /table
   pAntic is a freely available task for 
packaging J2ME
  - applications. It produces both the Jar and Jad files in a
  - single step. This allows *all* entries to be correclty set in
  - the jad file, including the size of the jar file that is
  - produced. This task has been used and tested extensively with
  - Sun's Wireless Toolkit and also the Nokia SDK and
  - emulators./p
  +applications. It produces both the Jar and Jad files in a
  +single step. This allows *all* entries to be correclty set in
  +the jad file, including the size of the jar file that is
  +produced. This task has been used and tested extensively with
  +Sun's Wireless Toolkit and also the Nokia SDK and
  +emulators./p
 table class=ForrestTable 
cellspacing=1 cellpadding=4
 tr
 th colspan=1 rowspan=1
  @@ -1299,8 +1299,8 @@
   /td/tr
 /table
   pJacson is a configurable and plugable tool (much 
like Ant
  - itself) to create filters for text (line based) files without
  - programming./p
  +itself) to create filters for text (line based) files without
  +programming./p
 table class=ForrestTable 
cellspacing=1 cellpadding=4
 tr
 th colspan=1 rowspan=1
  
  
  
  1.74  +12 -12ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- external.xml  18 Mar 2003 16:11:37 -  1.73
  +++ external.xml  18 Mar 2003 16:15:38 -  1.74
  @@ -525,15 +525,15 @@
 /tr
   /table
   
  - pAntic is a freely available task for packaging J2ME
  - applications. It produces both the Jar and Jad files in a
  - single step. This allows *all* entries to be correclty set in
  - the jad file, including the size of the jar file that is
  - produced. This task has been used and tested extensively with
  - Sun's Wireless Toolkit and also the Nokia SDK and
  - emulators./p
  +pAntic is a freely available task for packaging J2ME
  +applications. It produces both the Jar and Jad files in a
  +single step. This allows *all* entries to be correclty set in
  +the jad file, including the size of the jar file that is
  +produced. This task has been used and tested extensively with
  +Sun's Wireless Toolkit and also the Nokia SDK and
  +emulators./p
   
  - table
  +table
 tr
   thCompatibility:/th
   tdAnt 1.5/td
  @@ -551,15 +551,15 @@
   thLicense:/th
   tdGNU General Public License/td
 /tr
  - /table
  +/table
   
 /subsection
   
 subsection name=Jacson
   
  - pJacson is a configurable and plugable tool (much like Ant
  - itself) to create filters for text (line based) files without
  - programming./p
  +pJacson is a configurable and plugable tool (much like Ant
  +itself) to create filters for text (line based) files without
  +programming./p
   
   table
 tr
  
  
  


cvs commit: ant/xdocs external.xml

2003-03-18 Thread bodewig
bodewig 2003/03/18 08:34:55

  Modified:docs external.html
   xdocsexternal.xml
  Log:
  Greebo has moved
  
  Revision  ChangesPath
  1.98  +2 -2  ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- external.html 18 Mar 2003 16:15:37 -  1.97
  +++ external.html 18 Mar 2003 16:34:55 -  1.98
  @@ -909,7 +909,7 @@
 /th
 td colspan=1 rowspan=1
 valign=top align=left
  -  a 
href=http://www.discore.com/oz/new/index.htm;http://www.discore.com/oz/new/index.htm/a
  +  a 
href=http://greebo.sourceforge.net/;http://greebo.sourceforge.net//a
 /td
 /tr
 tr
  @@ -919,7 +919,7 @@
 /th
 td colspan=1 rowspan=1
 valign=top align=left
  -  a href=mailto:[EMAIL PROTECTED]Ozben Evren/a
  +  a href=http://sourceforge.net/mail/?group_id=73733;project 
mailing lists/a
 /td
 /tr
 tr
  
  
  
  1.75  +2 -2  ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- external.xml  18 Mar 2003 16:15:38 -  1.74
  +++ external.xml  18 Mar 2003 16:34:55 -  1.75
  @@ -362,11 +362,11 @@
 /tr
 tr
   thURL:/th
  -tda 
href=http://www.discore.com/oz/new/index.htm;http://www.discore.com/oz/new/index.htm/a/td
  +tda 
href=http://greebo.sourceforge.net/;http://greebo.sourceforge.net//a/td
 /tr
 tr
   thContact:/th
  -tda href=mailto:[EMAIL PROTECTED]Ozben Evren/a/td
  +tda 
href=http://sourceforge.net/mail/?group_id=73733;project mailing 
lists/a/td
 /tr
 tr
   thLicense:/th
  
  
  


Re: New J2ME Ant task

2003-03-18 Thread Steve Neal
Hi Stefan,
You can do the same thing with Antenna but it requires a little trickery to 
make sure that the jar-size attribute gets set properly in the jad-file.

With Antenna, the package task will create the jar file but requires that 
the jad file already exists before it is run. You must therefore:

create the jad file
create the jar file
update the jad file to include the size of the jar file info
Antic, creates both files simultaneously and will create all the correct 
entries as they are created. As both files are created by the same task, 
the build file is simpler to read.

Antenna does include functionality beyond this such as obfuscation and 
library optimization which is very nice - so I still use it for this. 
However, most of the other tasks in the existing J2ME task sets do quite 
mundane stuff that can be simply performed with existing Ant tasks, so I 
saw no need to implement anything else in my own tasks.

Another feature in Antic deals with the fact that some of the Nokia 
emulators have non-standard entries required in the jad file. Antic creates 
these by default to ensure that these emulators will work. This is an 
undocumented feature currently, as it looks like the new generation 
emulators from Nokia are better implemented and don't require these 
non-standard entries - I'll probably remove this a bit further down the line.

Regards - Steve.

At 16:12 18/03/2003, you wrote:
On Mon, 17 Mar 2003, Steve Neal [EMAIL PROTECTED] wrote:
 I've implemented this task recently to help with J2ME development
Just out of curiosity, what has been wrong with one of the three
existing sets of tasks?
I've added the pointer, it should appear on the site within the next
few hours.
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CLAs for all committers

2003-03-18 Thread Stefan Bodewig
Dear co-committers,

as you probably (hopefully) know, all of us need to sign the
Contributor License Agreement that can be found here
http://www.apache.org/foundation/ASF_Contributor_License_1_form.pdf.

Now there is a very simple and quick check to see whether you have
done so (or just think you have):  visit this page
http://www.apache.org/~jim/committers.html.  If your name is in
italics, the secretary of the ASF has received the CLA.

If it isn't, well, there is something waiting for you to get printed
out and sent (by snail-mail to keep Jim's FAX from exploding 8-) to
the address given in the CLA.

Please do so

Stefan


Re: java 1.1 on linux

2003-03-18 Thread Steve Loughran
Stefan Bodewig wrote:
On Tue, 18 Mar 2003, peter reilly [EMAIL PROTECTED] wrote:


1.5.1 and 1.5: java.lang.ClassFormatError: Bad major version number

I thought Magesh had carefully compiled everything with target=1.1 and
so on.
If this turns out to not work with JDK 1.1, it is another case for
those of us proposing to leave JDK 1.1 support behind.  This meant our
binaries don't work with JDK 1.1 and nobody has complained so far 8-)
It's a very good metric. Like how the memory settings for java are 
broken on the MS JVM (which doesnt understand the -Xm  command); its 
been that way for ages but nobody cares.



DO NOT REPLY [Bug 14974] - Missing cross-links wrong titles for extension/extensionset

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14974.
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=14974

Missing cross-links  wrong titles for extension/extensionset





--- Additional Comments From [EMAIL PROTECTED]  2003-03-18 17:22 ---
docs/manual/conceptstypeslist.html could still stand to list extension and
extensionset (see my original patch).


DO NOT REPLY [Bug 13510] - CvsChangeLog should accept a branch as an optional parameter

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13510.
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=13510

CvsChangeLog should accept a branch as an optional parameter





--- Additional Comments From [EMAIL PROTECTED]  2003-03-18 22:08 ---
I attempted to implement this RFE a few weeks ago (it should be simple), but 
couldn't make the underlying CVS client actually give me the logs I wanted.  If 
I do a cvs log -rSOME_BRANCH it mostly works, except that it provides logs 
for files that are not *on* that branch.   I suspect I've got a conceptual 
mismatch, but maybe my flounderings will be useful to someone else :)

Example:
In a directory, there is a file A in HEAD with revision 1.5.  A branch 
TEST_BRANCH is made at this point, and further changes are made to A on that 
branch (revision 1.5.2.1).  Meanwhile, on HEAD other changes are made to A 
(revision 1.6) and a new file B is added (revision 1.1). 

If I do a cvs log -rTEST_BRANCH in that directory, I see change A:1.5.2.1 
(correct!) and change B:1.1 (not wanted!).

*shrug*


Re: java 1.1 on linux

2003-03-18 Thread Conor MacNeill
On Wed, 19 Mar 2003 05:17 am, Costin Manolache wrote:

 Ok - last week we had a proposal, discussions on ant-user and ant-dev, and
 apparently an almost general consensus.

 What's next ? Should we wait a bit more before making it official by a
 [VOTE], or just forget the whole thing ?


I will propose a vote tonight. I think we are clear that a move to a 1.2 based 
codebase is desirable. Moving to 1.3 or 1.4 is not yet needed as the features 
we would make use of are in 1.2

What is less clear to me is whether 1.5 branch should be the last 1.1 codebase 
or whether it should be 1.6. My preference would be to make it 1.5 since 
somethings we need to do (i.e. lcp.bat replacement) are best done with a 
URLClassLoader. 1.6 is still a ways off and if we designate it the last 1.1 
release nothing will change for quite a while.

I'd like to settle this last aspect before we release 1.5.3 which I think we 
need to release real soon now.

Conor


-- 
Conor MacNeill
Blog: http://codefeed.com/blog/



Re: ssh exec task...

2003-03-18 Thread Dale Anson
How do I post changes to the optional/ssh files to cvs?
Dale
Stefan Bodewig wrote:
On Thu, 13 Mar 2003, Dale Anson [EMAIL PROTECTED] wrote:
 

I had output from the one I wrote going to the log, would you mind
sending me your code and maybe I can see how to get it to output to
the log? Or is it in cvs somewhere?
   

In Ant's CVS
http://cvs.apache.org/viewcvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




DO NOT REPLY [Bug 18128] New: - Dependset srcfileset does not handle absolute path

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18128.
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

Dependset srcfileset does not handle absolute path

   Summary: Dependset srcfileset does not handle absolute path
   Product: Ant
   Version: 1.5.2
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I am trying to use the srcfileset within a dependset where the includes contain 
absolute paths to the actual files.  This doesn't work with srcfileset.  Here 
is an excerpt from the build.xml file:

dependset
srcfileset dir=/ includes=D:/config/env/build.properties /
targetfileset dir=${build.ejb} includes=${messageTempFile} /
/dependset

The build never recognizes changes to the build.properties file so it never 
rebuilds the target.  The following will work:

dependset
srcfileset dir=/ includes=config/env/build.properties /
targetfileset dir=${build.ejb} includes=${messageTempFile} /
/dependset

As well as using srcfilelist instead.  Here the absolute path works:

dependset
srcfilelist dir=/ files=D:/config/env/build.properties /
targetfileset dir=${build.ejb} includes=${messageTempFile} /
/dependset

This causes a problem for me because I was really trying to reuse a patternset, 
as follows:
srcfileset dir=/
patternset refid=tokenFilterFiles /
/srcfileset

where the patternset contained absolute paths.

I tested it out on 1.5.2 as well as the latest 1.6alpha from 3-18-2003, and the 
problem exists in both.


DO NOT REPLY [Bug 18128] - Dependset srcfileset does not handle absolute path

2003-03-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18128.
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

Dependset srcfileset does not handle absolute path





--- Additional Comments From [EMAIL PROTECTED]  2003-03-18 23:46 ---
It looks like the same behavior can be found in fileset.


Re: ssh exec task...

2003-03-18 Thread Steve Loughran

- Original Message -
From: Dale Anson [EMAIL PROTECTED]
To: Ant Developers List [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 14:57
Subject: Re: ssh exec task...


 How do I post changes to the optional/ssh files to cvs?

 Dale


run cvs diff -u against the files to create .diff files that you post as
patches, then keep reminding people till it gets taken up. Committers take
the files, patch them and commit the changes.

On this subject, who knows where I can get a copy of patch.exe that does not
fail on a two-cpu winXP box, the way the wincvs version does. I am having to
ftp files back to a unix server to patch right now. one extra caveat: I dont
want to have to install cygwin. I just need a URL of an up to date
port/build of the core Gnu unix command toolchain.

-steve



Re: java 1.1 on linux

2003-03-18 Thread Costin Manolache
Conor MacNeill wrote:

 On Wed, 19 Mar 2003 05:17 am, Costin Manolache wrote:

 Ok - last week we had a proposal, discussions on ant-user and ant-dev,
 and apparently an almost general consensus.

 What's next ? Should we wait a bit more before making it official by a
 [VOTE], or just forget the whole thing ?

 
 I will propose a vote tonight. I think we are clear that a move to a 1.2
 based codebase is desirable. Moving to 1.3 or 1.4 is not yet needed as the
 features we would make use of are in 1.2
 
 What is less clear to me is whether 1.5 branch should be the last 1.1
 codebase or whether it should be 1.6. My preference would be to make it
 1.5 since somethings we need to do (i.e. lcp.bat replacement) are best
 done with a URLClassLoader. 1.6 is still a ways off and if we designate it
 the last 1.1 release nothing will change for quite a while.

It seems a pretty strong majority would preffer 1.5 as the last 1.1.

I haven't seen any good argument on why 1.6 should support 1.1 - if 
people don't need the 1.2 features and are coding for 1.1, then they
can very well use ant1.5 as well :-) 

Yes, URLClassLoader is the 1.2 feature that matters the most. 


Costin