File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes What does this means -root of classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8141
    
  52

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
 
Similar Threads
where to write the client code in websphere?
Problem reading resource bundle with java.io.File but not with Resource Bundle
Struts2: Test action classes
How Struts2.xml is Configured...
Bsic steps to add log4j