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=37604>.
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=37604

           Summary: <style> task doesn't support the <mapper> aliases
           Product: Ant
           Version: 1.6.5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hi,

the <style> task doesn't support the <mapper> aliases like <globmapper>, 
<identitymapper>, etc.

For instance:
<style basedir="${build.reports}/input" 
       destdir="${build.reports}/styled"
       style="${styles.dir}/style.xsl"
       force="true">
   <globmapper from="*.xml" to="*.styled.xml" />
</style>

this throws the following exception:
BUILD FAILED
C:\temp\build.xml:53: The <style> type doesn't support the nested "globmapper" 
element.

could this be fixed please?

A workaround is to use the 'type' attribute in the <mapper> element, but this 
doesn't work for the composite and chained mappers since they don't have 
a 'type' attribute.

regards,
Maarten

-- 
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