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 43635] New: - <xslt> task can't be used more than once with a file stylesheet
Date Tue, 16 Oct 2007 10:42:24 GMT
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: dev@ant.apache.org
        ReportedBy: stevel@apache.org


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message