ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14044] New: - Zip/Jar task with update="true" doesn't work
Date Tue, 29 Oct 2002 11:11:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14044

Zip/Jar task with update="true" doesn't work

           Summary: Zip/Jar task with update="true" doesn't work
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: vandlaasen@hotmail.com


The problem is illustrated in the following ant script:

<target name="test-zip" depends="set-properties">
	<zip destfile="myzip.zip">
		<fileset dir="BUILD/classes">
			<include name="**/batch/**/*.class"/>
		</fileset>
	</zip>
	<zip destfile="myzip.zip" update="true">
		<fileset dir="BUILD/classes">
			<include name="**/bo/**/*.class"/>
		</fileset>
	</zip>
</target>

Essentially I want to create a zip file in my build, and later on update it 
with classes from another package. The update doesn't happen. Naturally I've 
checked that the classes are present. The first zip succeeds, the second with 
the update doesn't. How does it fail - well it states absolutely nothing, and 
doesn't add the files.

I'm curious as to what's causing this, since zip/jar update worked in 1.5 Beta 
3.

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


Mime
View raw message