facebook

Problems with EAR deployments

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

    Heinz Drews
    Member

    I’m trying to deploy an EAR project as exploded which references a web project and java projects.
    The settings are to jar dependent projects. The constructed jars are placed in the proper location but without the .jar extension.
    Changes to the java projects don’t trigger a rebuild of the jar, the changed classes are placed in a directory named “bin”.

    The web project is also placed without the .war extension and therefore not picked up.

    Do I have to add the extensions to the project names or can I influence the build process?

    I’m using MyEclipse 6.0.1GA.

    #283408 Reply

    Loyal Water
    Member

    Heinz,

    The web project is also placed without the .war extension and therefore not picked up.

    You will have to add the web Project as a module and NOT as a dependent project. You can do this by right clicking on the ear project and going to Add Module.

    #283411 Reply

    Heinz Drews
    Member

    The web Project is added as module.

    There is a consistent behavior, none of the additions to the EAR gets a proper suffix in exploded deployment.
    The directories are all exactly the name of the project. I also tried to add an EJB project, same result.

    The directory for the EAR project is also created without the suffix .ear, but there I had added it already to the project name.

    jBoss can’t use the deployed EAR, as a bypass I have added the required suffixes to the project name.

    #283457 Reply

    Loyal Water
    Member

    Heinz,
    On the “New Deployment” window, try using the <custom location – suffixed>and point it to the required location. Does this work ?

    #283464 Reply

    Heinz Drews
    Member

    @support-nipun wrote:

    Heinz,
    On the “New Deployment” window, try using the <custom location – suffixed>and point it to the required location. Does this work ?

    Nipun,

    same result, the directories don’t not get the suffix.

    I’m pretty sure that the problem started since I used 6.0.1GA.

    #283508 Reply

    Loyal Water
    Member

    Heinz,
    I want you to try something out for me. Can you switch to a new workspace (File > Switch Workspace > Other > Temp), create a new ear project and try deploying it. Are the extensions still missing ? Can you try custom location – suffix as well.

    Incase the problem persists, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #283512 Reply

    Heinz Drews
    Member

    The new workspace has done the trick, it’s working correctly there.

    I will migrate the projects into the new one.

    Thanks for the help.

    #283553 Reply

    Loyal Water
    Member

    This message has not been recovered.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Problems with EAR deployments

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