facebook

Where do I create the /resource directory ?

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #287690 Reply

    ramosbrazil
    Member

    I’m in a need to create the /resource directory , following the maven2 directory structure to drop application resources, such as config/properties files, how do I do that using mave4myeclipse ? this is a new project.

    Thanks.

    FR.

    #287692 Reply

    Riyad Kalla
    Member

    FR,

    Out of the box default Maven projects are not compatible with the MyEclipse Web Projects, so we don’t support breaking up typical web resources into the /resources directory.

    However, if you would just like to place generic sources that will get built into the WEB-INF/classes directory, you can create a /resources directory and add it to the Source Directory list under your project properties and MyEclipse will “build” (copy) those resources into WEB-INF/classes for you.

    But typically speaking, we still follow our own project layout format and not Maven’s, so you might just want to leave things in their default locations.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Where do I create the /resource directory ?

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