facebook

struts code generation src-folder

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220114 Reply

    tomlatka
    Member

    Hi,

    I have the following dir structure
    /src -> ejb-sources
    /web/src -> web-sources

    and want the struts code generation to place the generated action and form sources into /web/src – NOT /src. I tried to change the Pref: MyEclipse/J2EEProject/ProjectTemplates from “src” to “web/src”, but nothing changed. The new actions and form are still placed into the /src folder.
    So how can I change the destination folder for struts code generation to /web/src?

    thx in advance,
    Tom

    #220120 Reply

    Riyad Kalla
    Member

    Tom,
    I looked into this and it is not currently supported, we have filed it as an enhancement request and it will likely make 3.9 release, but not 3.8.3 since we are already in beta and have some more work to finish for that release. We are sorry for the inconvenience right now.

    I would point out that a workaround would be to break out your EJB sources and all EJB code into a new EJB Project, leave all your other code in your Web Project and create an enterprise application project that tied the EJB and Web project together as modules. This is covered in detail here if you are interested:
    EJB Projects: http://www.myeclipseide.com/images/tutorials/quickstarts/firstejb/
    Ent. Projects: http://www.myeclipseide.com/images/tutorials/quickstarts/earprojects/

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: struts code generation src-folder

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