Open Properties page of project. In "Java Build Path" section and in
"Source" tab, select Excluded and edit it.

On Tue, Apr 20, 2010 at 2:28 AM, Ben Li <benli3...@gmail.com> wrote:

> Thanks for the quick reply.
>
> does anyone know how to make Eclipse ignore the
> src/main/resources/jdbc.properties?
>
> Thanks,
>
> Ben
>
>
> On Mon, Apr 19, 2010 at 2:03 PM, Matt Raible <m...@raibledesigns.com>wrote:
>
>> You can setup Eclipse to ignore the src/main/resources/jdbc.properties and
>> hopefully it will read the one in target/classes/jdbc.properties (that has
>> the parsed values in it). Another solution is to copy
>> target/classes/jdbc.properties to src/main/resources. If you do this, be
>> aware that you won't be able to change your database on-the-fly from Maven.
>>
>>
>> On Mon, Apr 19, 2010 at 3:00 PM, Ben Li <benli3...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I am having a small problem when I run the unit testing inside the
>>> Eclipse.
>>>
>>> it throws jdbc.property file not found exception.
>>>
>>> has anyone have this problem and how can I solve it?
>>>
>>> if I run the unit testing using the command line "mvn" it works as
>>> excepted.
>>>
>>> Thanks in advance.
>>>
>>>
>>> My development environment
>>>
>>> Eclipse 3.5.2 + m2clipse
>>> appfuse 2.0.2
>>>
>>>
>>> --
>>> Ben Li
>>>
>>
>>
>
>
> --
> Ben Li
>

Reply via email to