From: Oliver Gierke <oliver.gie...@once-media.de>
Date: Wed, 9 Jul 2008 07:07:38 -0700 (PDT)
Local: Wed, Jul 9 2008 10:07 am
Subject: Re: wildcards
Hi Mike,
sorry, I seem to have not seen this thread when posting my wildcard
Currently I think simply a* would match package a PLUS direct
Regards,
On Jun 26, 2:43 pm, "Mike Nereson" <mikenere...@gmail.com> wrote:
> > Unfortunately the problem I'm having isn't what you think it is. My demo
> > class that references the "b" package is not in the "a" package, it's in the > > "a.child" package, so it should be found by "a.*" regardless of whether that > > pattern includes the "a" package. > Try the new snapshot. I think it might fix this problem
> FWIW, I do think that "a.*" should include "a". I can't think of any
> > scenario where that wouldn't be what the developer wanted, but maybe I just
> I have not figured out how to address this yet. So a.* still will not detect
> Thanks for your patience, Andrew.
> ~ Mike Nereson
> On Tue, Jun 24, 2008 at 3:40 AM, Andrew Swan <andrew.i.s...@gmail.com>
> > Hi Mike,
> > Unfortunately the problem I'm having isn't what you think it is. My demo
> > FWIW, I do think that "a.*" should include "a". I can't think of any
> > Cheers,
> > Andrew
> > On Tue, Jun 24, 2008 at 11:09 AM, Mike Nereson <mikenere...@gmail.com>
> >> Thanks for checking that out.
> >> The problem is that a.* is checking packages UNDER a. However, it is not
> >> So how do I address this... Should a.* match a? Should you have to
> >> I am not sure how to make a.* work. I don' think that a.* should include
> >> Ideas?
> >> ~ Mike Nereson
> >> On Mon, Jun 23, 2008 at 8:19 PM, Andrew Swan <andrew.i.s...@gmail.com>
> >>> Hi Mike,
> >>> Thanks for all your hard work on this project.
> >>> I managed to check out that snapshot from SVN and build it, and although
> >>> package a.child;
> >>> import b.B;
> >>> public class Child {
> >>> private B bar;
> >>> I have this architecture rule:
> >>> <rule id="a-should-not-access-b">
> >>> I would expect this rule to fail, since my class in the "a.child" package
> >>> Hope this helps,
> >>> Andrew
> >>> On Sun, Jun 22, 2008 at 6:56 AM, Mike Nereson <mikenere...@gmail.com>
> >>>> Andrew, I finally got the wild card support in. You can use
> >>>>http://code.google.com/p/architecturerules/source/browse/maven2/com/s...
> >>>> If you're using maven and our repo, just update your version to
> >>>> I'd appreciate if you could try it out and give me any feedback.
> >>>> I have not updated the documentation and won't do so until we make the
> >>>> The basics are: you can use wildcards in the packages or violations.
> >>>> .* matches ONE package deeper.
> >>>> So that com.seventytwomiles.project.dao.*
> >>>> but com.seventytwomiles.project.dao..*
> >>>> Also supports internal wildcards
> >>>> com.seventytwomiles..*.filter.*
> >>>> Get it?
> >>>> So, you've got internal or terminating wildcards, and you have .* or ..*
> >>>> Enjoy. Thanks for your patience. I'll let you know when I get the blog
> >>>> 2.1.0 release will be this week sometime or next weekend maybe.
> >>>> ~ Mike Nereson
> >>>> On Wed, Jun 11, 2008 at 8:21 AM, Mike Nereson <mikenere...@gmail.com>
> >>>>> Andrew, and everyone, if you're up for it, can you help me to define
> >>>>> Here is a list of what I have come up with:
> >>>>> Terminating: com.company.*
> >>>>> Are there more? Should the tool support them all? Does defining a
> >>>>> I'd appreciate your feedback. Tell me whatever you're thinking on this.
> >>>>> Thanks.
> >>>>> ~ Mike Nereson
> >>>>> On Wed, Jun 11, 2008 at 7:06 AM, Mike Nereson <mikenere...@gmail.com>
> >>>>>> Hi Andrew. Its temporary. Hopefully up today or tomorrow. Sorry about
> >>>>>> No progress on the wild cards. I am back on my computer though, so I
> >>>>>> Thanks for hanging in there with us.
> >>>>>> ~ Mike Nereson
> >>>>>> On Wed, Jun 11, 2008 at 2:30 AM, Andrew Swan <andrew.i.s...@gmail.com>
> >>>>>>> Hi Mike,
> >>>>>>> Just checking in to see how wildcards are going; I went to the web
> >>>>>>>http://www.72miles.com/architecturerules
> >>>>>>> Is the site just down temporarily?
> >>>>>>> Andrew
> >>>>>>> On Thu, May 15, 2008 at 10:18 AM, Mike Nereson <
> >>>>>>>> Andrew, I am glad to hear that. Mykola and I are the two developers
> >>>>>>>> I really really appreciate the feedback. Once we get the wild cards
> >>>>>>>> Again, thanks.
> >>>>>>>> ~ Mike
> >>>>>>>> On Wed, May 14, 2008 at 7:46 PM, Andrew <andrew.i.s...@gmail.com>
> >>>>>>>>> As further feedback, I'll be applying this promising tool to our
> >>>>>>>>> Cheers,
> >>>>>>>>> Andrew
> >>>>>>>>> On Apr 24, 5:01 am, "Mike Nereson" <mikenere...@gmail.com> wrote:
> >>>>>>>>> > Again, thanks for the feedback, for sticking with us, and for
> >>>>>>>>> > --
> >>>>>>>>> > On Wed, Apr 23, 2008 at 2:57 PM, Sakke Wiik <
> >>>>>>>>> > > I agree with Andrew. We're currently not using this tools
> >>>>>>>>>http://groups.google.com/group/architecture-rules-users/browse_frm/th.
> >>>>>>>>> > > cheers,
> >>>>>>>>> > > On Apr 22, 4:12 pm, "Mike Nereson" <mikenere...@gmail.com>
> >>>>>>>>> > > > The whole reason for this project was to create a clean and
> ...
> read more » You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||