What do you mean by access? Those resources in main should be on the
classpath during test execution.

With regards,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



On Tue, Apr 21, 2009 at 8:08 PM, Ross E Bundy <[email protected]> wrote:
> I've set up my project according to the directory structure show at:
>   
> http://maven.apache.org/guides/getting-started/index.html#How_do_I_add_resources_to_my_JAR
> I've included resources in both the test and main directories. There are some 
> 'main' resources that I also need to access from my tests. I can access my 
> test resources just fine, but I can't access the main resources from my 
> tests. Is there a way to do this? The only way that I can find is to create 
> links in my test resources directory to the files in the main resources 
> directory.
>
> Is there a better way?
>
> Thanks,
> --ross
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to