aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse - ANT preverification problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse - ANT preverification problem" Watch "Eclipse - ANT preverification problem" New topic
Author

Eclipse - ANT preverification problem

Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Hi,

I am having the following problem --

Same project when compiled using ANT on PC1, shows



while on PC2 compiles perfectly fine.

This is leading me to think that only thing different on the 2 PCs could be the Eclipse settings.

Can anyone throw some light on it ?

Regards,
Arijit
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Googling for "jar preverification failed" gives some ideas:

- there might be some old class files, try a clean build
- the path to the jdk isn't configured correctly
- you are using an obfuscator which is creating invalid class files

Does that give you some ideas on what to look for?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Arijit Ghosh
Greenhorn

Joined: Sep 23, 2002
Posts: 22
Yes.. thanks


Thanks,<br /> Arijit
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Cool!

If you solved your problem, please tell us how, so that we all learn something. Thanks!
Arijit Ghosh
Ranch Hand

Joined: Feb 01, 2002
Posts: 174
Hi Ilja,


- there might be some old class files, try a clean build

>> deleted the whole project and tried it fresh.. same problem


- the path to the jdk isn't configured correctly

>> Should not be the case because checked the path plus it compiles perfectly


- you are using an obfuscator which is creating invalid class files

>> Using Proguard ???


Regards,
Arijit
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse - ANT preverification problem