#5 Use of a named pattern can (still!) alter its definition

0.4b2
closed-fixed
9
2003-08-26
2003-08-24
No

The following gives the wrong results:

<pattern name="A" class="*A*" />
<pattern name="B" class="*B*" />
<pattern name="C" class="*C*" />
<pattern name="java-api" class="java*.**" />

<pattern name="B-or-C">
<include pattern="B" />
<include pattern="C" />
</pattern>

<pattern name="B-and-C">
<include pattern="B">
<include pattern="C" />
</include>
</pattern>

<pattern name="B-xor-C">
<include pattern="B-or-C" />
<exclude pattern="B-and-C" />
</pattern>

<access-rule>
<deny>
<from pattern="B-or-C" />
<to pattern="java-api" />
</deny>
</access-rule>

Discussion

  • Paul Cantrell

    Paul Cantrell - 2003-08-24

    Logged In: YES
    user_id=41726

    Memo to self: immutability is good.

     
  • Paul Cantrell

    Paul Cantrell - 2003-08-24
    • status: open --> closed
     
  • Paul Cantrell

    Paul Cantrell - 2003-08-26
    • status: closed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks