ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15929] New: - ant <fileset> under <apply executable> re-sorts files, destroying dependencies.
Date Thu, 09 Jan 2003 17:52:49 GMT
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=15929>.
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=15929

ant <fileset> under <apply executable> re-sorts files, destroying dependencies.

           Summary: ant <fileset> under <apply executable> re-sorts files,
                    destroying dependencies.
           Product: Ant
           Version: 1.5.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: richard@dftltd.demon.co.uk


We are using ant to build our Vitria application. One of the requirements is to run a utility

called "importidl". The files in a given directory need to be imported in a particular order.
We 
created a flat file with the files in the required order and used it in fileset statement
as shown in 
the extract below:

     <apply executable="${vitria_bin}/importidl"
           
dir="${idl_dir}">
        <arg value="-verbose -register"/>
        <fileset 
dir="${idl_dir}/${idl_modules}/connector/crm/"
         
includesfile="${idl_dir}/${idl_modules}/connector/crm/buildfiles"/>

For some 
reason, ant re-orders the files according to the last modified date, instead of taking the
files in 
the order in which they appear in the file "buildfiles" (i.e. order is same as if specifying

includes="*.idl"). The only workaround we have come up with is to <apply> each file

independently, which is a major pain (both for setup and maintenance). Is there a standard
way of 
establishing the dependencies?

Thanks.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message