facebook

EAR Deployment directory

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #348698 Reply

    Chris
    Participant

    *** Date:
    Thursday, April 10, 2014 9:34:57 AM CDT

    *** System properties:
    OS=WindowsVista
    OS version=6.1.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.6.0_13
    Workspace=file:/C:/Users/chrisclark/Workspaces/Seaton/
    VM Args=-Xmx1280m
    -XX:MaxPermSize=386m
    -XX:ReservedCodeCacheSize=128m
    -Dosgi.nls.warnings=ignore
    -jar
    C:\Users\CHRISC~1\AppData\Local\MYECLI~1\MYECLI~1\../Common/plugins/ORB7B5~1.JAR

    *** Subscription information
    Product Id: E3MS (MyEclipse for Spring Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20141206
    Number of users: 7

    *** Eclipse details:
    MyEclipse for Spring

    Version: 10.6.0

    Build ID: 10.6.0-20120831

    Blueprint: MyEclipse for Spring 10

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -showsplash
    -launcher
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\MyEclipse for Spring 10\myeclipseforspring.exe
    -name
    Myeclipseforspring
    –launcher.library
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\MyEclipse for Spring 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\MyEclipse for Spring 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -exitdata
    a1dc_5c
    -install
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\MyEclipse for Spring 10
    -configuration
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\MyEclipse for Spring 10\configuration
    -clean
    -vm
    C:\Users\chrisclark\AppData\Local\MyEclipse for Spring\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe

    I have a project named “stafftrack_ear_ee6”. I deploy it on JBoss EAP 6.2. When I deploy it without making any changes to its properties, it deploys to \jboss-eap-6.2\standalone\deployments\stafftrack_ear_ee6.ear. For technical reasons, I do not want it to deploy to a directory named the same as the project name. I removed the deployment and then I opened the EAR project Properties and went to the MyEclipse->EAR pane. I changed the “Archive name” field to stafftrack_ear.ear and redeployed the application. It still uses the project name as the name of the deployment directory. If it doesn’t use the “Archive name” field for the directory name, how can I change the directory name?

    Chris

    #348725 Reply

    support-swapna
    Moderator

    Chris,

    Are you deploying the EAR in Exploded or Packaged mode?

    The custom archive name for EAR is supported for Packaged deployments only. The custom archive name is supported for modules of EAR (ejb,war and jar) in both Exploded and Packaged deployment modes.

    I have filed a PR for the dev team to support custom archive name for EAR in Exploded deployment mode.

    Let us know if you see any issues.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: EAR Deployment directory

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