*
The moose likes JBoss/WildFly and the fly likes What does this means -root of classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "What does this means -root of classpath" Watch "What does this means -root of classpath" New topic
Author

What does this means -root of classpath

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
I need to have file import.sql in the root of the classpath.
my application is deployed as an ear.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10210
    
166

It means that you have to place the import.sql file directly in the .ear (and not in any sub-folders). Like this:



[My Blog] [JavaRanch Journal]
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
I think that root of the classpath means that it cant be in a package.
Its ok to put it in a jar (i tried and it work) , but it have to be in the top level of the jar.

Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does this means -root of classpath