'Eclipse/WTP'에 해당되는 글 2건

  1. 2008/12/31 WTP에서 Run On Server 마법사 중에서...
  2. 2008/12/18 WTP의 New Servlet Test Case Wizard의 버그

WTP에서 Run On Server 마법사 중에서...

Eclipse/WTP 2008/12/31 15:13 posted by yeoupooh
(이미지 출처: http://www.okjsp.pe.kr/seq/65492)

Run As > Run On Server를 실행하면 마지막에 이런 페이지가 나옵니다.
말 그대로 해석하자면, 체크박스를 체크하게 되면, scheduler 웹 모듈에 대해서 context root를 업데이트 하겠다.

정확히 어떤 부분을 업데이트를 한다는 의미일까요? 아래의 링크를 따라가면 약간의 설명이 있긴 합니다.


For now, I've found the following workaround, should you decide it is worth the trouble to have a default webapp:

1. Leaving the context-root setting in the project as is (i.e. don't try to set it to "/"), deploy the project to the Tomcat server.

2. Double-click on the Tomcat server in the Servers view to open the configuration editor.

3. Switch to the Modules page of the editor and select the web module for the project.

4. Click the "Edit..." button, clear the Path field, and click OK.

5. Save the Tomcat configuration and close the editor.

6. Right-click on the project in a navigator or a resource in the web module and select Run As -> Run on Server.

7. Select the server to which the project was previously added and click Next.

8. Click Next again. Uncheck the "Update context root for Web module..." checkbox and click Finish. This will add a setting that prevents the change made in step 4 from being overwritten by the project's context-root setting. The browser should appear with the correct default webapp appropriate URL.

8번의 내용을 해석하면, 체크를 해제하면 4번 과정에서 context root 설정을 한 것이 덮어 써지지 않도록 한답니다.

그럼, 만약 체크를 하면 어떤 내용이 어떻게 덮어 써질지 궁금하네요.



WTP의 New Servlet Test Case Wizard의 버그

Eclipse/WTP 2008/12/18 11:28 posted by yeoupooh
책을 쓰는 도중에 관련 내용이 있어서 보고 있는데, Servlet Test Case 마법사 관련해서 버그가 있어서 리포트를 했는데요.

아쉽게도, Cactus 관련 지원이 deprecated 되었다네요. 음...

아무래도 직접 찾아서 고쳐달라고 해야할 듯...

혹시, 비슷한 문제를 겪으신 분들은 없는지요?