> [Amato Massimiliano wrote:]
> I thought about it and I realized that the class dir in eclipse
> should be different than target/classes since in this way also
> test class are put in that directory that under maven should not
> contain them

I normally keep the /bin or some other build directory for the eclipse built
classes.

> Anyone has ever solved this problem, since I cannot imagine a
> solution to force eclipse to copy conf files into the right
> directory or another workaround
Other workaround:
I do this; Main Menu-->Run... --> Should be a tree/item for junit, and if
you've run your test case a run configuration for that test case/otherwise
New... --> Select [My TestCase] --> Click the classpath tab --> Click on
User Entries --> Click Advanced --> Click Add Folder --> Select the folder
your properties exists in.
This would put the folder and .properties on the classpath for this "Run
Configuration"

Another way is to make your folder containing the properties a src folder.
Project Properties-->Source Tab --> Add folder [--> Optional include/exclude
filters.] Whenever a builder is invoked the folder contents will be copied
to [Default Output folder root]/ if they've changed.

Any of those help? Other approaches?

-TR


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

Reply via email to