#53 jbosscmp-jdbc-rel-1-n.j has extra swap

closed
nobody
xdoclet (41)
5
2001-12-30
2001-12-29
No

In jbosscmp-jdbc-rel-1-n.j, there is an extra swap at line ~21

Or so it seems, since I get the "can't swap now" error when this line executes.

Just removing it seems to fix it

cvs diff -d jbosscmp-jdbc-rel-1-n.j

Index: jbosscmp-jdbc-rel-1-n.j

RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/vendor/jbosscmp-jdbc-rel-1-n.j,v
retrieving revision 1.1
diff -d -r1.1 jbosscmp-jdbc-rel-1-n.j
21d20
< <XDtEjbRel:swapRelation />

The XML looks correct after this line is removed, but I haven't tried to deploy it yet.

Discussion

  • David Budworth

    David Budworth - 2001-12-30
    • status: open --> closed
     
  • David Budworth

    David Budworth - 2001-12-30

    Logged In: YES
    user_id=343354

    never mind, problem is much bigger, I'll investigate and submit a real patch.

     
  • Aslak Hellesřy

    Aslak Hellesřy - 2001-12-30

    Logged In: YES
    user_id=49846

    Keep in mind that <XDtEjbRel:swapRelation/> and
    <XDtEjbRel:unswapRelation /> are supposed to be called in
    an interleaved fashion. The purpose is to alter the current
    class and method for the current relation between left and
    right, and thereby access class/method tags from either of
    these.

    Aslak.

     

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

Sign up for the SourceForge newsletter:





No, thanks