Bug 37144 - Jasper precompiler didn't free some TLD jars
Summary: Jasper precompiler didn't free some TLD jars
Status: RESOLVED WORKSFORME
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 5.5.12
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 14:49 UTC by Henri Gomez
Modified: 2006-10-23 15:44 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Gomez 2005-10-18 14:49:26 UTC
When using Jasper, via Ant, to precompile JSP with some taglibs, the some are
jars not free after jasper2 exit which is very problematic when using Ant in the
IDE JVM, in my case Eclipse :

Here is part of the ant build file :

		<taskdef classname="org.apache.jasper.JspC" name="jasper2">
			<classpath id="jspc.classpath">
				<pathelement location="${TOOLS_LIB}" />
				<fileset dir="${TOMCAT55_PATH}/bin">
					<include name="*.jar" />
				</fileset>
				<fileset dir="${TOMCAT55_PATH}/server/lib">
					<include name="*.jar" />
				</fileset>
				<fileset dir="${TOMCAT55_PATH}/common/lib">
					<include name="*.jar" />
				</fileset>
			</classpath>
		</taskdef>


...

		<jasper2 validateXml="false" uriroot="${build.dir}/jspc/${wname}"
webXmlFragment="${build.dir}/dst/${wname}/WEB-INF/jsp.xml"
outputDir="${build.dir}/${wname}-src" javaEncoding="ISO-8859-1" trimSpaces="true" />
Comment 1 Mark Thomas 2006-10-23 15:44:00 UTC
This works for me with the latest SVN source and Eclipse 3.2.1

If you still see this issue with the latest source and Eclipse version, please
attached a ziped copy of the smallest Eclipse project that demonstrates this issue.