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=25379>.
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=25379
Cvs Tasks doesn't handle wildcards, so why not add a fileset
------- Additional Comments From antoine@apache.org 2004-02-07 12:25 -------
the attached patch is not good enough, it will not handle the case where the
length of the command line exceeds what the operating system can handle. See
DefaultCompilerAdapter#executeExternalCompile to see how to do this properly (ie
command lines should not exceed a length of 4096.
The changelog task has already nested filesets, but it is broken, because like
your patch it does not check how big the command line gets.
I tried this :
<cvschangelog dir="c:/dev/asf/ant.head"
destfile="changelogant.xml" >
<fileset dir="c:/dev/asf/ant.head/src/main">
<include name="**/*.java"/>
</fileset>
</cvschangelog>
and it fails with a CreateProcesss IOException !!!
We need an xargs task.
I think the xargs task should extend ExecTask
Then for instance cvs with a fileset could be delegated to xargs, and a lot of
other similar stuff too.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|