ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonnek, Ryan" <Ryan.Son...@bpc.com>
Subject RE: jspc with taglib
Date Fri, 25 Oct 2002 17:11:08 GMT
right.  i've got the taglib.tld file in the WEB-INF directory when i'm
running the jspc task.  i'm building my war file first, then extracting it
to perform the jspc.  
here's how i'm executing it:
    <jspc
     destdir="temp/jsp"
     srcdir="temp/war"
     verbose="${project.verbose}">
      <classpath refid="project.class.path" />
      <include name="**/*.jsp" />
    </jspc>

temp
 -jsp (compile to here)
 -war (extract war here)
  -*.jsp
  -WEB-INF
   -taglib.tld
   -web.xml

do i need to force taglib.tld to be in the classpath?  what would be the
best way to do this?

-----Original Message-----
From: Dennis Doubleday [mailto:dennis@righthandmanager.com]
Sent: Friday, October 25, 2002 11:55 AM
To: 'Ant Users List'
Subject: RE: jspc with taglib


Make sure the .tld file for taglib is in the WEB-INF directory of your
build environment.

> -----Original Message-----
> From: Sonnek, Ryan [mailto:Ryan.Sonnek@bpc.com] 
> Sent: Friday, October 25, 2002 12:06 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: jspc with taglib
> 
> 
> i've been working with the jspc task for quite some time, and 
> i've decided to try using tag libraries.  now, when i compile 
> a page with a <%@ taglib xxxxx %>  jspc fails, but with no 
> errors.  the page works fine with the simple tag without 
> doing a jspc, but has anyone worked with taglib's and used 
> the jspc task?
> 
> Ryan J. Sonnek
> Brown Printing Company
> J2EE Application Developer
> 507.835.0803
> <mailto:ryan.sonnek@bpc.com>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message