Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] JarProcessor and Java versions


This page lists all the options supported by the jar processor:

http://wiki.eclipse.org/JarProcessor_Options

Note at the bottom of the page there is a system property where you can specify the exact pack200 command to use.
--



Thomas Hallgren <thomas@xxxxxxx>
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx

11/29/2007 07:32 PM

Please respond to
Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>

To
Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
cc
Subject
[cross-project-issues-dev] JarProcessor and Java versions





Hi,
I'm wondering if there are some options that can be passed to the
Eclipse jarProcessor that will restrict the pack200 to a certain target
level. My objective is to restrict builds to a certain target level
(Java 1.5) regardless of what JVM that is used for the build. The build
uses the ant task 'eclipse.jarProcessor'

At present, a machine running Java 1.5 will fail with the following on
the top of the stack:

Stack Trace:
java.io.IOException: Corrupted pack file: magic/ver = CAFED00D/160.1
should be CAFED00D/150.7

at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(Unknown Source)
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


Back to the top