File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception on setting via relative path in ant junit task

Satya Maheshwari
Ranch Hand
Posts: 368
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a background, I am executing my unit test using the junit task in ant. The unit test require a SSL communication with a server. For this purpose, I have to specify a jvmarg of

The problem is that, if I specify the truststore path using a relative path I get:

Strange thing is that it works absolutely fine if I give the absolute path of the truststore:

This works

This does not work

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic