aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9317
    
109

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