| Author |
Modifying files in a Java project that a Web project depends on
|
dhanya kairali
Greenhorn
Joined: Dec 28, 2000
Posts: 22
|
|
I need to create a Web Project that is related to a Java Project. For this I have done the following - 1. Created my Java project and my Web project. 2. Added my Java project to the build path of my web project 3. Edited WebContent/META-INF/Manifest.MF and added the Java Project as a dependency for my Web project. 4. In the Applications tab set WAR Class loader policy to APPLICATION On editing and then saving the java files in my Java Project and restarting the server the changes that I made do not get reflected. However doing a full rebuild of the Java project and then restarting the server works. Is there an easier solution?
|
 |
Scott Selikoff
Saloon Keeper
Joined: Oct 23, 2005
Posts: 3652
|
|
What mode are you running in? WebSphere via WSAD/RAD allows a hot deployment mode (double click on the test server in WSAD) which specifies whether or not to run the files in place or not. If they are in being run in place, then you have to perform a build after changing the files. If you have 'build automatically' turned off then there's no reason the server will be updated since it runs from the built files. Maybe I'm misunderstanding, but I don't follow how changing java files and restarting the server effects the compiled java files the WAR depends on.
|
My Blog: Down Home Country Coding with Scott Selikoff
|
 |
 |
|
|
subject: Modifying files in a Java project that a Web project depends on
|
|
|