File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IDEA 7, classpath in JUnit configuration

 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is something I was trying to find out a while ago.
Is it possible to set a custom classpath in JUnit configuration i.e. different from the classpath in the module(s)?
 
Dmitry Jemerov
author
Ranch Hand
Posts: 120
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sonny,

It is not currently possible to set a classpath directly, but you can define an empty module with the necessary set of dependencies in a classpath and select it in "Use classpath and JDK of module" setting of your JUnit run configuration.
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahh..good suggestion.
Why didn't I think of that!

Thanks, Dmitry.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic