facebook

J2EE web project does not deploy any of my files

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

    mminaga
    Member

    Hi Everyone,

    I have a J2EE web project that I just converted from a java project. I was using ant to build my project but I want to take advantage of the hot deploy.

    I updated my .project file (see below) and everything seems to recognize that my project is a web project now. I configured the deployment to look at my Tomcat 4 app server and when it deploys it only deploys my library (jar files). None of my classes files are deployed (Web-inf/classes).

    Is anybody else having this problem?

    Thanks in advance for any help.

    Mark

    Here is what I have in my .project file:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <projectDescription>
    <name>MedMonitor</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
    <buildCommand>
    <name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>org.eclipse.jdt.core.javabuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.ibm.etools.validation.validationbuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.ibm.sse.model.structuredbuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.genuitec.eclipse.hibernate.HibernateBuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    <buildCommand>
    <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
    <arguments>
    </arguments>
    </buildCommand>
    </buildSpec>
    <natures>
    <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
    <nature>com.genuitec.eclipse.hibernate.hibernatenature</nature>
    <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
    </projectDescription>

    #264915 Reply

    mminaga
    Member

    I forgot to mention this is an application using Spring/Hibernate 3.2 jars. MyEclipse 5.1.0-GA

    #264930 Reply

    Riyad Kalla
    Member

    Is this a MyEclipse web project? Do you have a .mymetadata file in the root? If you right click and go down to “MyEclipse” do you see the option “Add Web Capabilities”?

    What I would suggest doing is creating a brand new web project, and copying over the artifacts from your current project to the new one (not the dot files) and see if it works… then try and figure out the differences in the dot files.

    #264945 Reply

    mminaga
    Member

    Thank you for your suggesting. I will try it and post my result.

    Thanks for the quick response and suggestion.

    Mark

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: J2EE web project does not deploy any of my files

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