This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rhug/rhino from 2005-01-11 build failure with jar -c@


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]