Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WTP, unit testing application source code, and webapp disk images
WTP, unit testing application source code, and webapp disk images [message #154505] Tue, 03 January 2006 04:18
Eclipse UserFriend
Hello,

I have been using the WTP since about July/August, and some things about it
have been bugging me since the 1.0 release...

When I create junit tests for my WTP-based application project, should I...

1) Add a separate source folder to the application project, or
2) Create a separate unit testing project that refers to the application
project

I have been following option 1 up until this point, but I would like to know
if I should be avoiding this project structure--especially in light of the
1.0 release.

In WTP 1.0, I see that the default target folder for class files is now
/build/classes and the .deployables directory is gone. The .deployables
directory represented a disk image equivalent of a WAR file. My concern is
how WTP knows which .class files to deploy with the application under
Tomcat. For example, if my output folder is /bin/classes, does WTP only
deploy .class files under /build/classes or is there some special rule as to
how WTP would know to include .class files from /bin/classes?

Does WTP 1.0 still construct a disk image for my project of the webapp that
it deploys to Tomcat? The old .deployables folder under WTP 0.7.x
represented a webapp; is there an equivalent under WTP 1.0?

Thanks for your time.
Previous Topic:WTP1.0 Error-updating Axis deploy.wsdd file when creating bottom up web service
Next Topic:"Unsupported Content Type" for HTML???
Goto Forum:
  


Current Time: Mon Mar 17 08:27:32 EDT 2025

Powered by FUDForum. Page generated in 0.03546 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top