- This topic has 3 replies, 2 voices, and was last updated 18 years, 3 months ago by
mminaga.
-
AuthorPosts
-
mminagaMemberHi 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>
mminagaMemberI forgot to mention this is an application using Spring/Hibernate 3.2 jars. MyEclipse 5.1.0-GA
Riyad KallaMemberIs 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.
mminagaMemberThank you for your suggesting. I will try it and post my result.
Thanks for the quick response and suggestion.
Mark
-
AuthorPosts