aspose file tools
The moose likes Websphere and the fly likes Modifying files in a Java project that a Web project depends on Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Modifying files in a Java project that a Web project depends on" Watch "Modifying files in a Java project that a Web project depends on" New topic
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Modifying files in a Java project that a Web project depends on
 
Similar Threads
Do we have Application specific class-path?
Debuging Eclipse Java Project as External Web Application - debug view not in sync with code
Regarding Restarting of JBoss
Using Eclipse for Web App
Dynamic Web project with multiple Java projects