<font size=2 face="sans-serif">Hello Team</font>
<br>
<br><font size=2 face="sans-serif">I'm trying to learn WindUp 2.0 ( &nbsp;windup-distribution-2.1.0.A
) for custom rule creations and I tried writing it. but when I show the
report.</font>
<br>
<br><font size=2 face="sans-serif">Here is the snipprt which I created
for custom rule. Could you please help on this, where am I wrong ?</font>
<br>
<br><font size=2 face="sans-serif">This file is put under &lt;WINDUP_2.0&gt;/rules/new-ext-weblogic-config.windup.xml</font>
<br>
<br>
<br><font size=2 face="sans-serif">&lt;?xml version=&quot;1.0&quot;?&gt;</font>
<br><font size=2 face="sans-serif">&lt;ruleset xmlns=&quot;</font><a href=http://windup.jboss.org/v1/xml><font size=2 color=blue face="sans-serif">http://windup.jboss.org/v1/xml</font></a><font size=2 face="sans-serif">&quot;
id=&quot;XmlFileMappings11&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--
The phase in which to run the rules --&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;phase&gt;&lt;/phase&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; --&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &lt;rules&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;rule
id=&quot;weblogic_rule_1&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;when&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;javaclass references=&quot;weblogic.servlet.annotation.WLServlet&quot;
as=&quot;default&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;location&gt;ANNOTATION&lt;/location&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/javaclass&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/when&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;perform&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;hint message=&quot;Replace the proprietary
WebLogic @WLServlet annotation with the Java EE 6 standard @WebServlet
annotation.&quot; effort=&quot;2&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link
href=&quot;</font><a href=https://access.redhat.com/articles/1249423><font size=2 color=blue face="sans-serif">https://access.redhat.com/articles/1249423</font></a><font size=2 face="sans-serif">&quot;
description=&quot;Migrate WebLogic Proprietary Servlet Annotations&quot;
/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;lineitem
message=&quot;Proprietary WebLogic @WLServlet annotation found in file.&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/hint&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/perform&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/rule&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;rule id=&quot;weblogic_rule_2&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;when&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;javaclass references=&quot;weblogic.servlet.annotation.WLFilter&quot;
as=&quot;default&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;location&gt;ANNOTATION&lt;/location&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/javaclass&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/when&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;perform&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;hint message=&quot;Replace the proprietary
WebLogic @WLFilter annotation with the Java EE 6 standard @WebFilter annotation.&quot;
effort=&quot;2&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link
href=&quot;</font><a href=https://access.redhat.com/articles/1249423><font size=2 color=blue face="sans-serif">https://access.redhat.com/articles/1249423</font></a><font size=2 face="sans-serif">&quot;
description=&quot;Migrate WebLogic Proprietary Filter Annotations&quot;
/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;lineitem
message=&quot;Proprietary WebLogic @WLFilter annotation found in file.&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/hint&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/perform&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;/rule&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &lt;/rules&gt;</font>
<br><font size=2 face="sans-serif">&lt;/ruleset&gt;</font>
<br>
<br>
<br>
<table width=1347 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=135 bgcolor=#f9f9f9 style="border-style:solid;border-color:#000000;border-width:0px 1px 1px 0px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial"><b>Rule</b></font>
<td width=281 bgcolor=#f9f9f9 style="border-style:solid;border-color:#000000;border-width:0px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial"><b>Statistics</b></font>
<td width=310 bgcolor=#f9f9f9 style="border-style:solid;border-color:#000000;border-width:0px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial"><b>Executed?</b></font>
<td width=212 bgcolor=#f9f9f9 style="border-style:solid;border-color:#000000;border-width:0px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial"><b>Failed?</b></font>
<td width=393 bgcolor=#f9f9f9 style="border-style:solid;border-color:#000000;border-width:0px 0px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial"><b>Failure
Cause</b></font></table>
<br>
<br>
<table width=1227 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=419 style="border-style:solid;border-color:#000000;border-width:1px 1px 1px 0px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">addRule()
.when(And.all(JavaClass.references(weblogic.servlet.annotation.WLServlet)
.at([ANNOTATION]).as(default)) ) .perform(Iteration.over(?).perform(Hint
.withText(&quot;Replace the proprietary WebLogic @WLServlet annotation
with the Java E E 6 standard @WebServlet annotation.&quot;).withEffort(2).with([org.jboss.windup
.reporting.config.Link@150e590])) ) withId(&quot;GeneratedID_XmlFileMappings11_1&quot;)</font>
<td width=84 style="border-style:solid;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">Vertices
Created: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Edges Created: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Vertices Removed: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Edges Removed: 0</font>
<td width=226 style="border-style:solid;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">no</font>
<td width=212 style="border-style:solid;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">no</font>
<td width=272 style="border-style:solid;border-color:#000000;border-width:1px 0px 1px 1px;padding:1px 1px;">
<tr height=8>
<td width=419 bgcolor=#f9f9f9 valign=top style="border-style:solid;border-color:#000000;border-width:1px 1px 0px 0px;padding:1px 1px;"><a name=GeneratedID_XmlFileMappings11_2></a><font size=1 color=#2f2f2f face="Arial">addRule()
.when(And.all(JavaClass.references(weblogic.servlet.annotation.WLFilter)
.at([ANNOTATION]).as(default)) ) .perform(Iteration.over(?).perform(Hint
.withText(&quot;Replace the proprietary WebLogic @WLFilter annotation with
the Java EE 6 standard @WebFilter annotation.&quot;).withEffort(2).with([org.jboss.windup
.reporting.config.Link@f8f29])) ) withId(&quot;GeneratedID_XmlFileMappings11_2&quot;)</font>
<td width=84 bgcolor=#f9f9f9 valign=top style="border-style:solid;border-color:#000000;border-width:1px 1px 0px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">Vertices
Created: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Edges Created: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Vertices Removed: 0</font>
<br><font size=1 color=#2f2f2f face="Arial">Edges Removed: 0</font>
<td width=226 bgcolor=#f9f9f9 valign=top style="border-style:solid;border-color:#000000;border-width:1px 1px 0px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">no</font>
<td width=212 bgcolor=#f9f9f9 valign=top style="border-style:solid;border-color:#000000;border-width:1px 1px 0px 1px;padding:1px 1px;"><font size=1 color=#2f2f2f face="Arial">no</font>
<td width=272 style="border-style:solid;border-color:#000000;border-width:1px 0px 0px 1px;padding:1px 1px;"></table>
<br>
<br><font size=2 face="sans-serif"><br>
Thanks in advance!</font>
<br><font size=2 face="sans-serif"><br>
Thanks<br>
Akash Prajapati<br>
Mailto: akash.prajapati@tcs.com<br>
____________________________________________</font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>