• Post Reply Bookmark Topic Watch Topic
  • New Topic

including classpath for jar within a jar  RSS feed

 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody share if you have used the manifest jar in your classpath. I am having a jar which includes many other jars. One of those internal jars is not recognized to be in the classpath. Is there anyway to include it in the classpath without extracting?
Thanks,
padmanabh
 
John de Michele
Rancher
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Padmanabh:

You'll need to create a custom class loader to access classes in jars that are in other jars.

John.
 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks John. Any pointers as to where I can find information on custom class loaders. Especially when I am using ant script to compile? Thanks.
 
John de Michele
Rancher
Posts: 600
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Padmanabh:

Sorry, I've never done it. However, this project may be close to what you're looking for.

John.
 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thanks John for the pointer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!