• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to set conflicting MANIFEST jar name

 
Greenhorn
Posts: 6
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using WSAD 5.1.0 and I would like to clarify how to set classpath in manifest.

In my dynamic web project, I want to use XStream which uses among other jars the xalan-2.4.1.jar and xercesImpl-2.4.0.jar (with these exact names).

In my DefaultEAR project, I copied xalan-2.4.1.jar and xercesImpl-2.4.0.jar at the root of the project.

Back in the dyn. web project, I opened the properties, go in "Java JAR Dependencies" and I can see xalan-2.4.1.jar in the available dependent JARs (which lists the content of the DefaultEAR). I mark the xalan checkbox.

So far so good.

Back in the DefaultEAR, I now see the following error message:
"IWAE0024W The Manifest Class-Path for archive xalan-2.4.1.jar contains an entry xercesImpl.jar, that is now resolvable to a file or module in the EAR: DefaultEAR".

The Xstream (or other component) is using specific names like xalan-2.4.1.jar or xercesImpl-2.4.0.jar... But xalan-2.4.1.jar itself needs xercesImpl and its MANIFEST file has an entry without a version name for this.

What should I do? Should I rename xercesImpl-2.4.0.jar --> xercesImpl.jar?

Seems like I'm loosing an important visual information.

Is there a better way to handle utility jars?
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic