From: "Mike Nereson" <mikenere...@gmail.com>
Date: Mon, 23 Jun 2008 21:09:38 -0400
Local: Mon, Jun 23 2008 9:09 pm
Subject: Re: wildcards
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 a. 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 2.1.0-SNAPSHOT >> 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 the >>> 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 site >>>>> http://www.72miles.com/architecturerules >>>>> Is the site just down temporarily? >>>>> Andrew >>>>> On Thu, May 15, 2008 at 10:18 AM, Mike Nereson <mikenere...@gmail.com> >>>>>> Andrew, I am glad to hear that. Mykola and I are the two developers on >>>>>> 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 <sakke.w...@gmail.com> >>>>>>> > > 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 >>>>>>> > > > -- >>>>>> -- 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.
| ||||||||||||||