This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: rhug/rhino from 2005-01-11 build failure with jar -c@
- From: Immanuel Scheerer <scheerei at in dot tum dot de>
- To: rhug-rhats at sources dot redhat dot com
- Date: Wed, 12 Jan 2005 10:18:39 +0100
- Subject: Re: rhug/rhino from 2005-01-11 build failure with jar -c@
- References: <20050111201103.GA28892@sauna.l.org>
Timo Juhani Lindfors wrote:
(cd upstream/toolsrc && \
(../../listclasses rhino-tools; \
for i in upstream/toolsrc/org/mozilla/javascript/tools/resources/Messages.properties; do echo $i; done | \
sed -e 's:^upstream/toolsrc/::') | \
jar -c@) > rhino-tools-1.5R3.jar
Illegal option: @
Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
I think you are using the jar-binary shipped with the SUN SDK. libgcj itself
provides a jar binary with following usage:
Usage: jar {ctxuV}[vfm0ME@] [jar-file] [manifest-file] [-C dir] files ...
The option -@ (read names from stdin) is not provided by the jar-binary from SUN.
I suppose the problem can be solved by changing $PATH so that the path with the
libgcj-binaries comes before the path with the SUN-binaries.
I hope this helps you.
Greetings,
Immanuel