Hi, Thanks, I remember this, however we're not using weblogic so I assumed that it was of no use to us.
Joe. > -----Original Message----- > From: [EMAIL PROTECTED] > [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, November 28, 2000 9:13 AM > To: Walker Joe; [EMAIL PROTECTED] > Subject: RE: <jspc> task? > > I had posted a task for compiling jsp's in weblogic. That one extended > Matching task, and called the weblogic.jspc compiler in a forked jvm > (since > the version 4.5.1 version i was using called a system.exit). Its a bit > slow, > but otherwise works well, and i use it many times a day. > > -----Original Message----- > From: Walker Joe > To: '[EMAIL PROTECTED]' > Sent: 28/11/00 16:47 > Subject: RE: <jspc> task? > > > Hi, > > I wrote one a while back, which I posted, it was very crufty though and > not > really worth of inclusion. However some thoughts: > > From what I could see there were 2 ways of doing the job: > > Have the JspcTask extend Exec and just call jspc.[bat|sh] > This is what I (badly) hacked up - The trouble is it does not do the > normal > thing of comparing timestamps first, and it is fairly slow because it > has to > start a new VM. Maybe it is possible to do a timestamp comparison first, > but > that would mean understanding where the output was going to which is not > always easy. > > I tried to do the work of jspc.sh in the JspcTask but stopped for 2 > reasons > - it got a bit bogged down in what to do with things like tag-libs, but > for > me the killer, even when I had got this working I had a library clash. > (jspc requires jasper.jar which requires some logging stuff from > webserver.jar which requires servlet.jar (version 2.2) and my javac task > required servlet.jar version 2.0 - boom!) > > I never posted the same-VM version, but I *might* be able to find it > somewhere... > > Joe. > > > > -----Original Message----- > > From: Alec B. Plumb [SMTP:[EMAIL PROTECTED] > > Sent: Monday, November 27, 2000 8:32 PM > > To: [EMAIL PROTECTED] > > Subject: <jspc> task? > > > > I would very much like to see a JSP compiler task for ant, since I > hate to > > actually fire up a tomcat instance and visit a jsp page before I can > even > > see if it's syntactically correct. > > > > I've written a first version of a <jspc> task, based on both the > Tomcat > > 3.2b7 org.apache.jasper.JspC and the Ant 1.2 > > org.apache.tools.ant.taskdefs.Javac. It pretty much works but it is > ugly > > and > > doesn't log properly. I'm about to begin designing version 2 (well, > > actually > > version 0.2), but first I have a couple questions: > > > > 1) Is anybody else already working on this? If so, can I help? > > > > 2) Is there any documentation for the Tomcat Jasper APIs? > > > > Thanks, > > Alec > > > Legal Disclaimer:- > > Please be aware that messages sent over > the Internet may not be secure and should > not be seen as forming a legally binding > contract unless otherwise stated.
