This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes application classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "application classpath" Watch "application classpath" New topic
Author

application classpath

Drake Almonto
Greenhorn

Joined: Apr 29, 2005
Posts: 16
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

Joined: Jul 20, 2005
Posts: 10141
    
165

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.


[My Blog] [JavaRanch Journal]
Drake Almonto
Greenhorn

Joined: Apr 29, 2005
Posts: 16
That helped. Thanks!
 
Don't get me started about those stupid light bulbs.
 
subject: application classpath