Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-dev] Setting up a web project in Eclipse.

Hello,
 
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 :-)
 
Try this:
 
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 --> Properties.
    3.2. Choose the Java Build Path property page.
    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 OK button.
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.
 
Greetings,
Kaloyan   


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Varun Narang
Sent: Wednesday, May 09, 2007 9:44 AM
To: wtp-dev@xxxxxxxxxxx
Subject: [wtp-dev] Setting up a web project in Eclipse.

Hello all,
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 help.

Regards,
VaruNarang.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top