This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 9958
    
163

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
 
Consider Paul's rocket mass heater.
 
subject: What does this means -root of classpath
 
Similar Threads
Struts2: Test action classes
Bsic steps to add log4j
Problem reading resource bundle with java.io.File but not with Resource Bundle
How Struts2.xml is Configured...
where to write the client code in websphere?