facebook

XDoclet Pattern tag – Standard EJB

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207882 Reply

    qasim
    Member

    xdoclet Standard EJB Problems

    Problem is with WinXP, M9 – This seemed ok on linux-gtk-amd64.

    Setting the pattern element doesn’t change the build file and generate correct xml

    1. Open MyEclipse-Xdoclet
    2. Standard EJB
    3. Set remoteinterface Pattern value to {0}Remote
    3. Set homeinterface Pattern value to {0}RemoteHome
    4. Run XDoclet – pattern not implemented

    Making the changes manually to the build file make the correct files generate

    1. Add <remoteinterface pattern=”{0}Remote” > manually to xdoclet-build.xml
    2. Add <homeinterface pattern=”{0}RemoteHome” > manually to xdoclet-build.xml
    3. Run XDoclet – pattern IS implemented

    Opening the interface again wipes out the changes eventhough they are visibly in the UI

    1. Open MyEclipse-XDoclet
    2. Have a look at pattern setting – {0}Remote, {0}RemoteHome respectively
    3. close and look at xdoclet-build.xml
    4. <remoteinterface pattern=”{0}Remote” > is now <remoteinterface>
    5. <homeinterface pattern=”{0}RemoteHome” > is now <homeinterface>

    #207907 Reply

    Greg
    Member

    qasim,

    I tried to replicate your problem using a test entity bean using M9+3.8beta1 on winxp. Both the remoteinterface and homeinterface patterns are getting generated in the xdoclet-build file and xdoclet runs correctly. Just to be sure, please check to see if both pattern attributes have balues and are “checked” on the left of each attribute. If you have values for the patterns but the attribute isn’t checked, the xdoclet-build file won’t contain the patterns.

    If the pattern attributes are checked and it still isn’t being generated in the build file, please post a reply with more information on your problem so we can continue to help track down this problem. Also, could you also insert your system profile using the “Insert” button on the form. Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: XDoclet Pattern tag – Standard EJB

You must be logged in to post in the forum log in