[Windup-users] How to find import * ?
Jess Sightler
jsightle at redhat.com
Mon Jun 1 17:28:04 EDT 2015
I believe that Windup is not tracking this correctly.
I have filed a JIRA:
https://issues.jboss.org/browse/WINDUP-620
On 06/01/2015 10:41 AM, Lincoln Baxter, III wrote:
> It's possible that this is a bug. We may not store wildcard import
> statements. Jesse?
>
> On Mon, Jun 1, 2015 at 7:38 AM, Gilles Bardouillet
> <gilles.bardouillet at atos.net <mailto:gilles.bardouillet at atos.net>> wrote:
>
> Hi,
>
> I'm creating some XML rules for a Websphere migration to JBoss,
> and i want to find all ibm imports in source code.
>
> I added the following rule but it doesnt match imports with star
> at the end like :
> *import com.ibm.icu.util.*;*
>
> <rule id="ImportIBM">
> <when>
> <javaclass references="com.ibm.{*}">
> <location>IMPORT</location>
> </javaclass>
> </when>
> <perform>
> <iteration>
> <hint message="Migrate to Non IBM classes" />
> </iteration>
> </perform>
> </rule>
>
> Do you have any tip or is it a bug ?
> Regards,
> Gilles.
>
> _______________________________________________
> Windup-users mailing list
> Windup-users at lists.jboss.org <mailto:Windup-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/windup-users
>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
>
> _______________________________________________
> Windup-users mailing list
> Windup-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-users
--
Calendar Free/Busy: https://www.google.com/calendar/embed?src=jsightle%40redhat.com&ctz=America/New_York
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/windup-users/attachments/20150601/61112718/attachment.html
More information about the Windup-users
mailing list