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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to