MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
luismpedro
Post subject: Hot deployment with MyEclipse Tomcat (Sandbox)  PostPosted: Jul 26, 2011 - 08:37 AM
Registered Member
Registered Member


Joined: Aug 19, 2009
Posts: 13

Dear all,
Since I updated to MyEclipse for Spring 9 (from MyEclipse 8.5), my project does not auto-deploy anymore. I've started with a clean workspace and checked out my project from CVS. The project was updated by MyEclipse for Spring and it builds and deploys correctly. Hot deployment doesn't work though.

My instalation details:
Code:


*** Date:
mardi, 26. juillet 2011 09.28. h CEST

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13

*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701


*** Eclipse details:
MyEclipse for Spring

Version: 9.1.0

Build ID: 9.1.0 Build 10 (110630_1845)

Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\myeclipseforspring.exe
-name
Myeclipseforspring
--launcher.library
C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-install
C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9
-configuration
C:\luisLocal\ProgramFiles\Genuitec\MyEclipse for Spring 9\configuration
-vm
C:\luisLocal\ProgramFiles\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll


In both Tomcat, Project and Workspace settings I'm using SunJDK 1.6.0_13

I'm also posting my .project file:
Code:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>DAMF3Administration</name>
   <comment></comment>
   <projects>
   </projects>
   <buildSpec>
      <buildCommand>
         <name>org.eclipse.wst.common.project.facet.core.builder</name>
         <arguments>
         </arguments>
      </buildCommand>
      <buildCommand>
         <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
         <triggers>full,incremental,</triggers>
         <arguments>
            <dictionary>
               <key>LaunchConfigHandle</key>
               <value>&lt;project&gt;/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator (1).launch</value>
            </dictionary>
         </arguments>
      </buildCommand>
      <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>org.eclipse.wst.validation.validationbuilder</name>
         <arguments>
         </arguments>
      </buildCommand>
      <buildCommand>
         <name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
         <arguments>
         </arguments>
      </buildCommand>
   </buildSpec>
   <natures>
      <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
      <nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
      <nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
      <nature>org.eclipse.jdt.core.javanature</nature>
      <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
      <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
      <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
   </natures>
</projectDescription>


Project deplyoment mode is "Exploded" and any modification in my .jsp files reflect imidiatly in my deplyed application. But not when I modify and .java file (althoug I can see that project is building automatically).

Any idea how to enable hot deployment for this project?

Thank you very much in advance for your time,

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
luismpedro
Post subject:   PostPosted: Jul 27, 2011 - 03:02 PM
Registered Member
Registered Member


Joined: Aug 19, 2009
Posts: 13

Anyone with an idea how to solve this?

Thanks in advance,

Luis Pedro
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 28, 2011 - 01:27 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2515

Luis,

Are you starting your server in Debug mode? Hot-synch for Java classes will only work in that mode.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits