there's a development attribute somewhere (orion-web.xml, I think... yep)

it's in orion-web.xml,
 This file contains the orion-specific configuration for a web-application.
The path to the file is located at
ORION_HOME/application-deployments/deploymentName/warname(.war)/orion-web.xm
l or (web-app-root/)WEB-INF/orion-web.xml if no deployment-directory is
specified in server.xml. 

<orion-web-app development="true" ...> 

development - If this is set to true then JSP pages will be compiled to a
slower, more readable form and their sources will be saved in the
persistence directory for viewing/debugging. 

HTH

JP

PS: I don't recommend it if using JSP... while in dev mode, errors map to
the generated .java (servlets), instead of JSP line,
so JSP debugging can be hell

i.e.:

Exception thrown in line 74 mypage.jsp.java

instead of

Exception thrown in line 74 of mypageservlet (mypage.jsp line 16)
-----Original Message-----
From: Tony Wilson [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 05 de Enero de 2001 19:52
To: Orion-Interest
Subject: RE: Question about automated testing with Orion


 On top of that, I am looking for a way to automate the compilation of JSP
files offline (i.e. not through a web browser, or even hitting the web
page).

JRun and TomCat each exposed their JSP compiler interfaces so that you can
run them offline and capture the errors/warnings.  I cannot seem to find
that interface in Orion.

Anybody have any suggestions?

Tony Wilson

-----Original Message-----
From: Eric Hodges
To: Orion-Interest
Sent: 1/5/01 12:32 PM
Subject: Question about automated testing with Orion

I'm trying to set up some automated unit tests for our servlets.  I'm
using
HttpUnit and JUnit, but the authentication in HttpUnit doesn't work with
Orion.  Does anyone out there have experience at this?  Is there a
better
tool?  Some sort of trick?  I've been talking to the HttpUnit folks, and
they don't know what to do.  Thanks for any help.


Reply via email to