Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does this means -root of classpath

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to have file import.sql in the root of the classpath.
my application is deployed as an ear.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that you have to place the import.sql file directly in the .ear (and not in any sub-folders). Like this:

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic