facebook

Classes directory from project properties

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #226671 Reply

    floechen
    Member

    Hello,

    MyEclipse requires the classes to be built into the [WebRoot]/WEB-INF/classes directory, otherwise the application server doesn’t find them during runtime.

    I’d like to configure MyEclipse in the way that it takes the classes directory from the project properties, section “Java Build Path”, field “Default output folder” (e.g. “<project-name>/bin”). I don’t see why there is the possibility (necessity?) to define two different output folders.

    Is it possible to force MyEclipse to take the project’s output folder instead of the separately configured one? This would ease the setup of our Maven build configurations very much!

    #226687 Reply

    Riyad Kalla
    Member

    MyEclipse requires the classes to be built into the [WebRoot]/WEB-INF/classes directory, otherwise the application server doesn’t find them during runtime.

    MyEclipse requires them to be built there ONLY if you want to use our deployment tool, if you are using a custom Ant script, you can build your classes to [WebRoot]/some/random/directory if you prefer 😉

    I don’t see why there is the possibility (necessity?) to define two different output folders.

    This is currently a limitation we will correct later in the year, the issue is that the deployment tool does a straight-packaging of the [WebRoot] dir and doesn’t go hunting down the output dir to *build* the /classes folder (As it should). We appologize for this inconvenience.

    This would ease the setup of our Maven build configurations very much!

    Not currently, again we will fix this later this year with version 5.0 release.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Classes directory from project properties

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