Igor, actually, m2e 1.1 doesn't create references to resource folders if
they don't exist physically :
https://github.com/eclipse/m2e-core/blob/master/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java#L395



On Thu, Mar 22, 2012 at 11:54 AM, Igor Fedorenko <[email protected]>wrote:

> m2e deliberately creates "forward" references to all source/resource
> folders found in pom.xml in .classpath. These are marked as optional, so
> jdt builder silently ignores folders that do not actually exist on
> filesystem. This behaviour is consistent with maven command line build,
> which, too, will check these folders for sources/resources, but will
> silently ignore them if they do not exist.
>
> m2e does not create the folders on filesystem and I don't know who does it.
>
> --
> Regards,
> Igor
>
>
> On 12-03-21 11:01 PM, Stephen Coy wrote:
>
>> I have several java modules that have only a src/main/java directory. In
>> fact we have some web modules that don't even have src/main/java.
>>
>> If I "Maven->Update Project..." these projects, something is adding the
>> non-existent java directories back into the .classpath.
>>
>> Later on, these empty directories get magically created.
>>
>> M5 was doing this too.
>>
>> We are also using  "Maven Integration for WTP 0.15.2.20120306-2040" for
>> what it's worth.
>>
>> Updated to M6 this morning and decided to read the release notes, where I
>> spotted the 370685 ->  361549 trail which made me think it was deliberate
>> behaviour.
>>
>>
>> Thanks,
>>
>> Steve C
>>
>>
>>
>> On 22/03/2012, at 1:26 PM, Igor Fedorenko wrote:
>>
>>  I don't quite understand the problem. Can you elaborate? m2e is not
>>> expected to create any new directories (and it does not do that for me).
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> On 12-03-21 9:53 PM, Stephen Coy wrote:
>>>
>>>> Hi there,
>>>>
>>>> Just lately I noticed the resolution of bugs 370685 and 361549.
>>>>
>>>> At the moment, having m2e adding non-existent source folders to the
>>>> build classpath, and then creating the directories is *really*
>>>> annoying.
>>>>
>>>> It creates havoc on sizeable projects when it comes to SCM
>>>> synchronisation time because all these (useless) new directories have
>>>> been created.
>>>>
>>>> Thanks,
>>>>
>>>> Steve C
>>>>
>>>> On 20/03/2012, at 12:58 PM, Igor Fedorenko wrote:
>>>>
>>>>  I've just uploaded m2e 1.1 M6 candidate build to m2e milestone
>>>>> repository [1], build version qualifier is 1.1.0.20120320-0058.
>>>>>
>>>>> You can see full list of changes since M5 in [2].
>>>>>
>>>>> [1] 
>>>>> http://download.eclipse.org/**technology/m2e/milestones/1.1<http://download.eclipse.org/technology/m2e/milestones/1.1>
>>>>> [2] https://bugs.eclipse.org/bugs/**buglist.cgi?list_id=954168;**
>>>>> query_format=advanced;target_**milestone=Juno%20M6;product=**m2e<https://bugs.eclipse.org/bugs/buglist.cgi?list_id=954168;query_format=advanced;target_milestone=Juno%20M6;product=m2e>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Igor
>>>>> ______________________________**_________________
>>>>> m2e-users mailing list
>>>>> [email protected]
>>>>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>>>>
>>>>
>>>> ______________________________**_________________
>>>> m2e-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>>>
>>> ______________________________**_________________
>>> m2e-users mailing list
>>> [email protected]
>>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>>
>>
>> ______________________________**_________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>>
> ______________________________**_________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to