facebook

linked paths cause deployments not to function

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #198663 Reply

    I’ve created a new J2EE Web Module project under the default area. From there, I deleted the ‘Java Source’ and ‘Web Root’ directories, and created new ones (with the same names) as linked directories to where my local copy of the code within our source control package. Eclipse is fine with this, compiling as normal. However, when I go to deploy the code to the application server, I get an exception (which I pulled from the log):

    Deployment descriptor: C:\Program Files\eclipse\workspace\myapp\Web Root\WEB-INF\web.xml does not exist.
    at org.apache.tools.ant.taskdefs.War.setWebxml(War.java:121)
    at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.privExportWebProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.ant.J2EEArchiveDeployer.exportWebProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentPackager.exportWebProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.deployAsPackageArchive(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizard$1.run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

    It seems that myeclipse is looking for the web.xml file assuming that the ‘Web Root’ directory is always under the project directory. Is it possible that myeclipse could also take into account whether or not the top level project directories have been linked in from somewhere else?

    Steve

    #198670 Reply

    Scott Anderson
    Participant

    Steve,

    You’re absolutely correct. Links need to be handled in a special manner within the Eclipse frameworks and a portion of the deployer is not looking for them. This is a known problem with the deployer logic and will be addressed in a subsequent service release. I raised the priority of the issue due to your post. Sorry for the inconvenience while we work through the issue.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: linked paths cause deployments not to function

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