aspose file tools*
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: 10213
    
166

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: application classpath