I develop using Eclipse exclusively along with the Sysdeo Tomcat plugin for
running and debugging my development environment. 

I either run my unit tests straight from Eclipse's JUnit console or run them
in batch via maven.

Here is what my project layout looks like:

/-
  |-src
  |   |-java* (class source files)
  |   |-resources* (non-java classpath resources)
  |   |-webapp (entire web application structure)
  |
  |-debug (see below)

*(should be registered as a source folder in Eclipse)

For creating my debug environment, I have a maven goal that creates a
sub-folder in my project called debug then it merges everything from my
src/webapp folder into the debug folder.  I have configured a special
server.xml, debug_server.xml, in one of my tomcat installs to point a
context to this debug folder.  I then configure the Sysdeo Tomcat plugin to
point to that Tomcat install and to use the customized debug_server.xml.  I
also make sure I have jetspeed as project itself within eclipse, so I can
debug down to that level if I need to.

Let me know if you have anymore questions.

Regards,
*================================* 
| Scott T Weaver                 |
| <[EMAIL PROTECTED]>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*

> -----Original Message-----
> From: Thomas Edwin Santosa [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 06, 2004 8:23 AM
> To: Jetspeed Users List
> Subject: RE: What is the preferred method to build project?
> 
> On Sel, 2004-01-06 at 02:35, Weaver, Scott wrote:
> > +1 on keeping it separate.  I have organized all of my portal
> applications
> > into maven sub-projects and then merge the need subprojects with
> jetspeed
> > with a separate maven goal.
> I'm newbie to Jetspeed. I'm using the 1.4 and Eclipse in developing my
> Jetspeed dependant projects. How do I use your approach in Eclipse? I
> mean unit testing and debugging in Eclipse?
> 
> Thanks,
> Thomas
> >
> > Regards,
> > *================================*
> > | Scott T Weaver                 |
> > | <[EMAIL PROTECTED]>            |
> > | Apache Jetspeed Portal Project |
> > | Apache Pluto Portlet Container |
> > *================================*
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to