facebook

MyEclipse deploying jar files to /classes directory

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #273494 Reply

    matdrewin
    Member

    So essentially, I have 2 projects. One containing my jars and one containing my source code. I added the project with the jars to the build path of the project containing my source code. I’ve exported all the entries for the jars in the jar project and checked off the “Jars exported from dependent Java projects” option in the smart deployment options in my source project.

    It works fine (all jars get copied to WEB-INF/lib) but for some reason, all the jars also get copied into /classes (which I guess is not dramatic but which I would like to avoid).

    I tried unchecking all the smart deployment options and the .jars don’t get copied to WEB-INF/lib but still get copied to /classes.

    Anybody have an idea why this is happening?

    Thanks,

    Mat

    #273498

    matdrewin
    Member

    OK, found the solution but encountered another problem.

    Window -> Preferences -> Deployment (Tab)

    Under “Web Project Dependant Project Deployment Policy” you have to choose “Jar dependant projects and place in the ‘lib’ directory” instead of the smart deployment option. Problem is that I could only see it once and change the settings. Everytime I go look now get nothing, there’s just a grey box with no choices.

    If I go to the project, right-click and choose properties, I can see the options being greyed out. If I click on “Configure Workspace Settings” I get the same thing as above. There’s the outline but none of the 3 options show up.[/img]

    #273524

    Loyal Water
    Member

    If you uncheck the “use workbench default setting” checkbox, do the radio buttons get activated or do they remain grayed out?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MyEclipse deploying jar files to /classes directory

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