This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[NRB-1] Unit Tests are hardcoded
Created: Fri, 22 Aug 2003 09:46:43 -0700 (PDT)  Updated: Mon, 3 May 2004 21:58:02 -0700 (PDT)

Status:Closed
Project:Norbert
Component/s:
Affects Version/s:
Fix Version/s:

Type:BugPriority: Major
Reporter:Henri YandellAssignee:Henri Yandell
Resolution:Fixed 
Environment:Maven


 Description   
As I'm not sure where the Maven code is running, I haven't figured out a relative path yet for the unit test data. Ought to be able to look at others projects and understand.
Comment by bayard [ Sat, 25 Oct 2003 17:19:09 -0700 (PDT) ]
Still clueless. Have extracted the variable into one place to make it easier to handle me moving the checked out code to a new place.
Comment by bayard [ Sat, 25 Oct 2003 17:53:50 -0700 (PDT) ]
obviously not really a blocker as i released regardless
Comment by bayard [ Mon, 3 May 2004 21:58:02 -0700 (PDT) ]
Fixed. Gooooaaaaallllllll!

Nice to get this one out of the way. Was pissing me off. Ended up specifying the location of the data/ as:

private String hardCode = "file://"+new File("data/").getAbsoluteFile()+File.separator;