facebook

Changing the internal execution order of XDoclet

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #200358 Reply

    Hi!
    I wanted XDoclet to generate session facades for my entity beans. To do this i have to first run an ejbdoclet task that generates the facades and then run another ejbdoclet task to create the interfaces to the session ejb.

    To accomplish this was really easy in MyEclipse by adding a new configuration in the MyExlipse-XDoclet setting of the project (no handcoding required, nice). However, since I created the task to generate the facade ejb AFTER the standard EJB task it is also executed after the standard EJB (the depend statement of the default task, “_generation_”, first states the name of the standard EJB). This requires me to always do an extra run to get the interfaces generated.

    Can the order of the tasks be changed in any way throug the MyEclipse environment? It is obviously trivial to do the change directly in the “xdoclet-build.xml” file, but those changes gets lost everytime an attribute of the build is changed through the configurator.

    Any help or suggestions would be greatly appriciated.

    Cheers
    /Fredrik

    #200368

    Scott Anderson
    Participant

    Fredrik,

    However, since I created the task to generate the facade ejb AFTER the standard EJB task it is also executed after the standard EJB

    As an experiment, you might try creating another project and then creating the tasks in the other order to see if this behaves as you’d like.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Changing the internal execution order of XDoclet

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