3 Replies Latest reply on Dec 8, 2014 5:31 PM by Lincoln Baxter III

    Windup rule addition

    Emily Brand Newbie

      I'm trying to add a custom rule to Windup and its not showing up in my report. What am I doing wrong?

       

      <?xml version="1.0"?>

      <ruleset xmlns="http://windup.jboss.org/v1/xml"

        id="customruleprovider">

        <!-- This defaults to MIGRATION_RULES -->

        <phase>

          DISCOVERY

        </phase>

        <rules>

          <rule>

            <when>

              <javaclass references=“weblogic.servlet.*”>

                <location>IMPORT</location>

              </javaclass>

            </when>

            <perform>

              <hint>

            <message>Message from XML Rule</message>

                <link href="http://example.com" description="Description from XML Hint Link" />

              </hint>

              <log message="test log message"/>

            </perform>

            <otherwise>

              <!--  -->

            </otherwise>

          </rule>

        </rules>

      </ruleset>