facebook

Project Organization under myeclipse

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #217014 Reply

    Joao
    Member

    I am new to eclipse and my eclipse, came from Jbuilder.

    I want to organize my web projects this way:

    WebPrj
    src [Classes directory]
    conf [Configuration]
    view [jsp directory]
    bus [business logic directory]

    libs

    At deployment time I want to send all the files to the specific directory

    <table border=0>

    <tr><td> WebPrj –></td><td> WEB-INF </td> </tr>
    <tr><td> /src </td><td> /classes</td> </tr>
    <tr><td> /view </td><td> /view</td> </tr>
    <tr><td> /bus </td><td> /classes</td> </tr>
    <tr><td> /conf </td><td> /conf </td> </tr>
    <tr><td> /libs </td><td> /libs</td> </tr>
    </table>

    I’ve been playing with the project property option for a while without success on this. Can someone give me a hint to doc, sample, whatever.

    Sorry if I am posting in the wrong group.

    Thanks in advance,
    Joao,

    #217024 Reply

    Scott Anderson
    Participant

    Joao,

    In order to support deployment properly I think I can get you close to what you want, but not exactly. Basically, our project layout is an exploded war, with some flex points for dependent project support.

    1) Create a MyEclipse web project. When prompted for the web root, enter view and for the source folder enter src.
    2) Right-click on the web project in Package Explorer > Properties > Java Build Path and add another source folder named bus. Be sure to configure the output folder to be view/WEB-INF/classes
    3) If you mean “deployment descriptors” for “configuration”, these need to go in view/WEB-INF
    4) libs will need to go user view/WEB-INF/lib

    #217170 Reply

    Joao
    Member

    THank you, That helps.

    Is there a way to have the configuration ketp in a place, then copied to the right directory at compilation time?

    #217183 Reply

    Riyad Kalla
    Member

    It is a direct copy, there isn’t any mapping that takes place, so your config file will stay put when its copied across (e.g. if you put it in WebRoot/Config, it will be there after deployment)

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Project Organization under myeclipse

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