Re: [AOLSERVER] ADP Syntax Verification

2003-09-02 Thread Alfred Werner
Wouldn't just running ns_adp_parse on all the ADP files do the trick (with a catch around it?) If you catch - investigate further.. On Thu, 28 Aug 2003, Dossy wrote: On 2003.08.28, John M Wright [EMAIL PROTECTED] wrote: In gerneral, we'd like to run a syntax checker on our ADPs before

Re: [AOLSERVER] ADP Syntax Verification

2003-09-02 Thread Dossy
On 2003.09.01, Alfred Werner [EMAIL PROTECTED] wrote: Wouldn't just running ns_adp_parse on all the ADP files do the trick (with a catch around it?) If you catch - investigate further.. Sure, this'd work simple stuff. What about stuff that interacts with the database and wants parameters, and

Re: [AOLSERVER] ADP Syntax Verification

2003-09-02 Thread Alfred Werner
It doesn't seem like it would be that hard to create a test harness to set the appropriate environment for such a run on a per-page basis. A simple but reliable way to do it would be to add a blah.adp.env file for each blah.adp that you parse to set whatever you need. Sticking to my 'simple man'