Skip Headers

# Examples

Previous

Next

Example: An ignoreerrorset Element shows a typical `ignoreerrorset` element. This element instructs a `mappings.export` task to ignore all of TopLink Workbench error codes 0402 and 0570. Note that the `mappings.export` task also uses an explicitly `ignoreerror` element: this means that the `mappings.export` task will ignore all of error codes 0402, 0570, and 0545.

An ignoreerrorset Element

    <toplink:ignoreerrorset id = "ignoreErrors">    <toplink:ignoreerror code = "0402" />    <toplink:ignoreerror code = "0570" /></toplink:ignoreerrorset>...<toplink:mappings.export     projectfile = "${toplink.mwp.dir}/myProject.mwp"    deploymentfile = "${toplink.sessions.dir}/sessions.xml"    classpathref = "toplink.classpath">    <toplink:classpath refid = "mw.classpath" />    <toplink:classpath refid = "mwplatforms.classpath" />    <toplink:ignoreerrorset refid = "ignoreErrors"/>    <toplink:ignoreerror code = "0545" /></toplink:mappings.export>