RE: [wtp-dev] Setting up a web project in Eclipse.
You should normally ask about using WTP in the newsgroup,
but I will give you the solution here. Your use case is not handled by the Web
project creation wizard, but there is a workaround. Just promise me that if you
a going to use the workaround, then you will file a "feature request" in
the bugzilla as well :-)
1. Create a web project as you normally do.
2. Delete the src and WebContent folders: right click on
them --> Delete.
3. Link the new src folder:
3.1. Right click on the web project's node
3.2. Choose the Java Build Path property
3.3. Choose the Source tab.
3.4. Click on the Link Source... button.
3.5. Click the Browse... button and choose your
src folder that is outside of the workspace.
3.6. Click the Finish button and then the
4. Link the new WebContent folder:
4.1. Right click on the web project's node
--> New --> Folder.
4.2. Click the Advanced >> button at the
bottom of the New Folder wizard.
4.3. Check the "Link to folder in the
file system" checkbox.
4.4. Click the Browse... button and choose your
WebContent folder that is outside of the workspace.
4.5. Click the Finish button.
And you are done.
I want to setup a web project with WebContent & src
directories in different places and not in current workspace. The objective here
is to be able to debug the project while the application server( Tomcat5.5
/JBoss) is run through the IDE itself.
Thanks a lot to
Description: S/MIME cryptographic signature