Dear members,

I have a method that find a file on classpath and I want to check that it works 
fine. My testing class works fine under Eclipse, for example but under mave it 
doesn't work properly. The reason is that during the testing process I assume 
there is at least a directory location on classpath, but under maven the 
java.class.path, contains only jar files. So I can't check if some file exist 
on some directory of my classpath. I would need for my test, just the "." 
directory, but I don't find the way to add this information before the test 
start.

On the 

I have seen other posts about this problem, but without any real good solution, 
for example:
http://www.mail-archive.com/[email protected]/msg47276.html

On surefire documentation:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

probably using properly one of the following properties: environmentVariables, 
jvm, could be solved, but I don't figure out how to deal with this.

Thanks,

David

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to