tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37818] New: - jasper ant task locks WEB-INF/lib jars
Date Wed, 07 Dec 2005 14:39:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37818>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37818

           Summary: jasper ant task locks WEB-INF/lib jars
           Product: Tomcat 5
           Version: 5.5.12
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gernot.pfingstl@stmk.gv.at


Using jasper ant task causes a lock on all jars in WEB-INF/lib until ant ends,
only on windows - not on linux!
If compile is done in a temp dir, it is not possible to delete this dir within
the same build file:
e.g.
    <mkdir dir="${build}" />
    <unwar src="${source.war}" dest="${build}" overwrite="true" />
   
    <jasper2 validateXml="false"
             uriroot="${build}"
             webXmlFragment="${build}/WEB-INF/generated_web.xml"
             addWebXmlMappings="true"
             outputDir="${build}/WEB-INF/classes" /> 

    <validator path="${build}" />

    <mkdir dir="${build}/WEB-INF/classes"/>
    <mkdir dir="${build}/WEB-INF/lib"/>

    <javac destdir="${build}/WEB-INF/classes"
           optimize="off"
           debug="${compile.debug}"
           deprecation="${compile.deprecation}"
           failonerror="true"
           srcdir="${build}/WEB-INF/classes"
           encoding="UTF-8"
	   excludes="**/*.smap">
      <classpath>
        <fileset dir="${build}/WEB-INF/lib">
          <include name="*.jar"/>
        </fileset>
        <path refid="build.classpath" />
      </classpath>
      <include name="**" />
      <exclude name="tags/**" />
    </javac>

    <jar destfile="${compiled.war}"
         basedir="${build}" />

<!--
   ****                                 ****
   **** the following delete will fail  ****
   **** because all jars in WEB-INF/lib ****
   **** are locked by the jasper task   ****
   ****                                 ****
-->
    <delete dir="${build}" />

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message