Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 27376 invoked from network); 12 Oct 2002 09:27:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Oct 2002 09:27:38 -0000 Received: (qmail 8615 invoked by uid 97); 12 Oct 2002 09:28:30 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8554 invoked by uid 97); 12 Oct 2002 09:28:28 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8542 invoked by uid 98); 12 Oct 2002 09:28:27 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3DA7EAF7.7090100@gmx.net> Date: Sat, 12 Oct 2002 11:27:19 +0200 From: Christoph Kulla User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: de, en-us MIME-Version: 1.0 To: Ant Users List Subject: Re: jspc and dependencies References: <3DA70AE7.4090303@gmx.net> <3DA73119.2080107@latte.harvard.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanner: exiscan *180IYS-0002YJ-00*mvQSPnvNvMU* () X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Mark, I'm using jspc just to do a syntax check of my jsp files during build. Here is the releveant part of my build script: Works fine on the first call, but doesn't recognize changes to my jsp files afterwards. The problem ooccurs only under windows (windows 2000). With linux the script works fine. Regards Christoph Mark R. Diggory schrieb: > Christoph Kulla wrote: > >> Hi, >> >> I'm using jpsc (tomcat 4.1.12, jasper 2) with ant 1.5. After a "ant >> clean" everything works fine. jspc genertates java files for every jsp >> file in my project. But when I edit a jsp file in my project, jspc >> doesn't recognize the change and doesn't regenerate the corresponding >> java file. > > > I'm trying to get jspc working in my build script in the same > environment your working in. Maybe we can trade some information. I'm > looking for a decent examle for using jspc to deploy compiled jsp pages > for my webapp. If you could show how your currently configuring jspc in > your build, I'll share anything I find out about getting it to update > jsp-java file appropriately along the way. > >> >> As a workaround I delete all jsp-java files before calling jspc. Any >> ideas? > > > > One note I can tell you right now, I've used ant to deploy our cvs tree > into the webapps directory via "copy", I noticed that if I'm copying > files from a src directory to a deployment directory with > tomcat(probibly jasper as well), it doesn't recognize the file updates > as well. This might suggest some sensitivity with jasper and file > lastModified times. I usually end up wiping the work directory. > > Sometimes I think the copy task is not replacing the destination file > with the new copy, sometimes I think the dates are not changing, I'm not > sure though. I take a similar strategy where I'm overwriting the entire > distibution. > > > > > > -Mark > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: