DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43635

           Summary: <xslt> task can't be used more than once with a file
                    stylesheet
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


A sideeffect of moving to resource based stylesheets is that when xslt does its
work, it converts any xsltFile attribute into a resource, which it then stores
as an xsltResource. Unfortunately, that stops the task being used more than
once, as second time round, there is now an xsltResource attribute as well as an
xsltFile, and that is forbidden.

Error is surfacing in Ivy under Gump: 


  <target name="ivy-report" depends="ivy-resolve" if="ivy.found">
    <ivy:report todir="${ivy.reports.dir}"/>
    <echo> published Ivy report to
${ivy.reports.dir}
    </echo>
  </target>


ivy-report:
[ivy:report] Processing
/home/gump/.ivy2/cache/org.smartfrog-smartfrog-default.xml to
/srv/gump/public/workspace/smartfrog/smartfrog/buildextra/ivy/reports/org.smartfrog-smartfrog-default.html
[ivy:report] Loading stylesheet /home/gump/.ivy2/cache/ivy-report.xsl

BUILD FAILED
/srv/gump/public/workspace/smartfrog/smartfrog/build.xml:961: specify the
stylesheet either as a filename in style attribute or as a nested resource but
not as both

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to