ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: updating jars
Date Thu, 28 Dec 2000 00:00:27 GMT
----- Original Message -----
From: "Rick Szeto" <rick.szeto@sitraka.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, December 27, 2000 11:46 PM
Subject: Re: updating jars


> Actually, the operation does get executed as the file does end up in the
jar,
> but it fails on an error condition.
>
> BUILD FAILED
>
> D:\wfms\build.xml:46: Execute failed: java.io.IOException: CreateProcess:
jar
> uf D:\wfms\dist\wfms-ejb.jar
> D:\wfms\src\com\sitraka\wfms\common\Messages.properti
> es error=267
> java.io.IOException: CreateProcess: jar uf D:\wfms\dist\wfms-ejb.jar

Is this the error you get using the build.xml you posted earlier? (see
below). As there is no path in the output I don't think so.

Are you sure jar.exe and jikes.exe are callable on a DOS-prompt? Are there
any spaces inside you file-names/path-names?

> > >     <exec executable="${java.home}\bin\jar.exe">
> > >       <arg line="uf ${dist.dir}\project-ejb.jar
> > > ${src.root}\com\mycompany\project\common\filetoinsert.properties" />
> > >     </exec>
> > >



Mime
View raw message