ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudharshan Krishnamachary <skch...@yahoo.com>
Subject Jar update attribute
Date Tue, 27 Nov 2001 17:27:01 GMT
Hi,

Iam using Ant 1.4.1. Iam trying to use Jar task with
update attribute set to "yes", but the update is not
working and a new jar file is created everytime. 
I tried zip instead of jar, thats wasnt helpful
either. I also referred the manual, but in vain.
here is the task 

  <target name="jar_classes"
depends="compile_classes">
    <jar jarfile="${dist}/wlpi-ejb.jar"
      basedir="${build}" update="yes">
    </jar>
  </target>

dist is D:/ksn/siming/dist/lpi/Join
build is D:/ksn/siming/build/lpi/Join

I tried using ant -v and ant -debug and i got the
following message for this task 

jar_classes:
FileSet: Setup file scanner in dir
D:\ksn\siming\build\wlpi\Join with patternSet{
includes: [] excludes: [] }
      [jar] Updating jar since cannot read current jar
manifest: java.util.zip.ZipExceptionThe system cannot
find the file specified
      [jar] Building jar:
D:\ksn\siming\dist\wlpi\Join\wlpi-ejb.jar
FileSet: Setup file scanner in dir
D:\ksn\siming\build\wlpi\Join with patternSet{
includes: [] excludes: [] }

all:

BUILD SUCCESSFUL
...
...
..
.


Advance thanks for your help,
regards,
Sudhar

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
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