<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 ( 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 <WINDUP_2.0>/rules/new-ext-weblogic-config.windup.xml</font>
<br>
<br>
<br><font size=2 face="sans-serif"><?xml version="1.0"?></font>
<br><font size=2 face="sans-serif"><ruleset xmlns="</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">"
id="XmlFileMappings11"></font>
<br><font size=2 face="sans-serif"> <!--
The phase in which to run the rules --></font>
<br><font size=2 face="sans-serif"> <!--</font>
<br><font size=2 face="sans-serif"> <phase></phase></font>
<br><font size=2 face="sans-serif"> --></font>
<br><font size=2 face="sans-serif"> <rules></font>
<br><font size=2 face="sans-serif"> <rule
id="weblogic_rule_1"></font>
<br><font size=2 face="sans-serif">
<when></font>
<br><font size=2 face="sans-serif">
<javaclass references="weblogic.servlet.annotation.WLServlet"
as="default"></font>
<br><font size=2 face="sans-serif">
<location>ANNOTATION</location></font>
<br><font size=2 face="sans-serif">
</javaclass></font>
<br><font size=2 face="sans-serif">
</when></font>
<br><font size=2 face="sans-serif">
<perform></font>
<br><font size=2 face="sans-serif">
<hint message="Replace the proprietary
WebLogic @WLServlet annotation with the Java EE 6 standard @WebServlet
annotation." effort="2"></font>
<br><font size=2 face="sans-serif">
<link
href="</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">"
description="Migrate WebLogic Proprietary Servlet Annotations"
/></font>
<br><font size=2 face="sans-serif">
<lineitem
message="Proprietary WebLogic @WLServlet annotation found in file."/></font>
<br><font size=2 face="sans-serif">
</hint></font>
<br><font size=2 face="sans-serif">
</perform></font>
<br><font size=2 face="sans-serif">
</rule></font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif">
<rule id="weblogic_rule_2"></font>
<br><font size=2 face="sans-serif">
<when></font>
<br><font size=2 face="sans-serif">
<javaclass references="weblogic.servlet.annotation.WLFilter"
as="default"></font>
<br><font size=2 face="sans-serif">
<location>ANNOTATION</location></font>
<br><font size=2 face="sans-serif">
</javaclass></font>
<br><font size=2 face="sans-serif">
</when></font>
<br><font size=2 face="sans-serif">
<perform></font>
<br><font size=2 face="sans-serif">
<hint message="Replace the proprietary
WebLogic @WLFilter annotation with the Java EE 6 standard @WebFilter annotation."
effort="2"></font>
<br><font size=2 face="sans-serif">
<link
href="</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">"
description="Migrate WebLogic Proprietary Filter Annotations"
/></font>
<br><font size=2 face="sans-serif">
<lineitem
message="Proprietary WebLogic @WLFilter annotation found in file."/></font>
<br><font size=2 face="sans-serif">
</hint></font>
<br><font size=2 face="sans-serif">
</perform></font>
<br><font size=2 face="sans-serif">
</rule></font>
<br><font size=2 face="sans-serif">
</font>
<br><font size=2 face="sans-serif"> </rules></font>
<br><font size=2 face="sans-serif"></ruleset></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("Replace the proprietary WebLogic @WLServlet annotation
with the Java E E 6 standard @WebServlet annotation.").withEffort(2).with([org.jboss.windup
.reporting.config.Link@150e590])) ) withId("GeneratedID_XmlFileMappings11_1")</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("Replace the proprietary WebLogic @WLFilter annotation with
the Java EE 6 standard @WebFilter annotation.").withEffort(2).with([org.jboss.windup
.reporting.config.Link@f8f29])) ) withId("GeneratedID_XmlFileMappings11_2")</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>