1

I am using eclipse indigo, trying to customize its output folder to be outside the project (actually, to copy output into tomcat installation). I understand there are 2 possible solutions (none of them worked for me)

  1. configure eclipse project output folder as described here. But I did not find how to enter linked folder in output folder.
  2. probably a smarter way - configuring tomcat eclipse plugin (I'm using sysdeo plugin). It did not work either: I can start tomcat from eclipse, but nothing is copied to tomcat installation.

thank for any tip

Community
  • 1
  • 1
lili
  • 1,866
  • 8
  • 29
  • 50

2 Answers2

1

You have to create the linked folder first (right click on project > New > Folder > Advanced)and then set the output folder to the linked folder in project properties > Java Build Path > Source > Default output folder.

Andrejs
  • 26,885
  • 12
  • 107
  • 96
  • thanks, if for example I define a linked folder "tomcat_output", what should I write in default output folder? If I write "tomcat_output", eclipse is looking for it under my project. – lili Mar 26 '12 at 14:13
  • If you click the Browse button Eclipse will let you choose a folder. You just have to choose the linked folder. Output to the linked folder then will go to the actual folder on filesystem. – Andrejs Mar 26 '12 at 14:27
  • thank you! it worked at last! My prolbem was that I created a linked folder from another menu in eclipse – lili Mar 26 '12 at 14:31
0

Are you trying to do some WebApp development in Eclipse? If so i would check out the WTP tools for Eclipse. It will allow you to run a Tomcat instance within Eclipse and handle the publishing of projects to it:

Chris White
  • 29,949
  • 4
  • 71
  • 93