Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

application classpath

 
Drake Almonto
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am new to using JBoss. Can anyone tell me how to add a resource to an individual application's classpath in JBoss? For example, I am trying to add the xml file "beanRefFactory.xml" to the classpath for one of my applications. I am hoping to add it to the classpath for just one particular application.
Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Drake,

To add the xml as part of your application's classpath, you will have to package it as part of the application. For ex: I would create a conf folder in my EAR and place this file in that folder.
 
Drake Almonto
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That helped. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic