Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Strange Class Files in Lucene Bundle

The size difference could be resulting from the pack200 process.
If you grab the class files directly from the SCM and use that, does it work?

On 2011-11-22, at 7:53 AM, Wetzold, Robert wrote:

Hi,
 
I have now adjusted our project to use the newest Orbit IBuild and it basically works great except for one bundle: Apache Lucene Core 3.0.3. Concrete: The static methods of the inner Field class will not be accessible, e.g. Field.Index & Field.Store. There will be a “cannot be resolved to a type” message.
 
Now the strangest part: If I overwrite the “org” folder and its contents in the bundle with the contents I had originally checked in and which comes from Lucene and reload the target platform it will suddenly work (open bundle in winrar, drag old org folder in there).
 
I compared some random files in the bundle and in the original and e.g. the Field.class is 220 bytes in the original but 217 in the bundle. Why is there a difference? I assumed the class files structure is simply packed into the jar. Could this difference be the reason why it does not work or am I on the totally wrong track here?
 
 
Best regards, Robert
 
 
Pflichtangaben/Mandatory Disclosure Statements:
 
Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.
 
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
 
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


Back to the top