[jboss-jira] [JBoss JIRA] Created: (JBAOP-669) Compiler report feature does not support paths pointing to directories

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Sun Oct 19 01:23:21 EDT 2008


Compiler report feature does not support paths pointing to directories
----------------------------------------------------------------------

                 Key: JBAOP-669
                 URL: https://jira.jboss.org/jira/browse/JBAOP-669
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.CR20
            Reporter: Flavia Rainone
            Assignee: Flavia Rainone
             Fix For: 2.0.0.GA


Currently, Compiler class, on report mode, does not check whether the file to be loaded is a directory, a class file, or something else. Instead, it assumes it to be a class file:

if (report)
      {
         for (int i = 0; i < files.size(); i++)
         {
            File f = files.get(i);
            loadFile(f);
         }
         FileOutputStream reportFile = new FileOutputStream("aop-report.xml");
         reportFile.write(XmlReport.toXml().getBytes());
         reportFile.close();
      }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list