• Post Reply Bookmark Topic Watch Topic
  • New Topic

Referencing resources not on the classpath  RSS feed

 
Dan Grindstaff
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, I am creating a jar file and the classes all reference libraries/resources not on the classpath in addition to the standard java libraries. Is there any way around stuffing one's jar file with all the needed resources referenced by the classes? TIA
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a property to define a resource directory? Or a command line argument? But if you want an "all-in-one" solution, why remove the resources from the jar? Is it important that the user be able to replace/redefine them?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!