Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Copying META-INF files

When trying to weave to jar archives, my META-INF files are left out with a
warning, e.g.:

  manifest not copied: 'META-INF/MANIFEST.MF' in JAR '...'

The "copyInjars" switch does not help (any longer?):

  [iajc] copyInjars not required since 1.1.1
  [iajc] ignored: copyInJars at file:...

The same problem occurs, when using ajc:

  d:/java/aspectj-1.1.1/bin/ajc -injars build/some.jar \
    -outjar build/aspect/some.jar \
    -aspectpath build/aspect.jar

manifest not copied: 'META-INF/MANIFEST.MF' in JAR 'build\some.jar'
manifest not copied: 'META-INF/ejb-jar.xml' in JAR 'build\some.jar'
manifest not copied: 'META-INF/weblogic-ejb-jar.xml' in JAR 'build\some.jar'

The README just states about -outjar: "No meta information is placed in the
output jar file".

Obviously, these META-INF files are _required_ in the output jar file.

How am i supposed to create jars including META-INF files?  Is there any
alternative to extracting and appending them "manually"?

Thanks in advance,

-Thomas


Back to the top