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 24866] New: - java.io.FileNotFoundException
Date Thu, 20 Nov 2003 16:23:01 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=24866>.
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=24866

java.io.FileNotFoundException

           Summary: java.io.FileNotFoundException
           Product: Ant
           Version: 1.5.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: franc_ois78@yahoo.com


When I using <style> task to transform xml ant throws FileNotFoundException.
at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:497)
at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:267)
...
The problem is with path names, when basedir (of style task) contains subdirectories
It occurs if I don't use the includes attribute or use it with **/*. or **/*.*
but not if **/*.ext (fortunatelly)
It does not occur if basedir of task contains no directory.
An example 
If I have basedir/subdir/foo.xml it reports basedir/foo.xml not found
so subdir dissappears, as I find out from sources.
Hope it helps.


Franc,ois

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


Mime
View raw message