Justin Deoliveira ha scritto:
> Andrea Aime wrote:
>> Andrea Aime ha scritto:
>>> Ben Caradoc-Davies ha scritto:
>>>> Andrea Aime wrote:
>>>>> Did you spot what exactly is not working, which spi resource is not
>>>>> being properly read?
>>>> org.geotools.data.DataAccessFactory
>>>> org.geotools.filter.FunctionExpression
>>>>
>>>> which both have main versions and test versions. The test ones 
>>>> cannot go in main because they reference test classes, and (if I 
>>>> recall correctly) cause factory loading to fail.
>>> Right. There is actually an open jira about the inability to have 
>>> separate output directories for src and test:
>>> http://jira.codehaus.org/browse/MECLIPSE-422
>>>
>>> I can see two paths:
>>> - move back the eclipse output trick in a profile
>>> - have the tests that need to register factories avoid using META-INF
>>>    and roll a custom factory iterator instead. As far as I can see
>>>    only three modules make use of test META-INF stuff:
>>
>> Third option, take the latest eclipse stable release, patch it so
>> that it generate separate output folders, roll our own eclipse-gt
>> plugin variant until the official eclipse plugin gets its acts
>> togheter.
>> I'll try to give a shot at this option during the weekend.
>> How do other feel about this?
>>
> Quite honestly it seems like quite a lot of work for not that much gain. 
> Although I will admit that I am not as focused on speedy build times as 
> some folks... maybe that is why i am a slow programmer :)
> 
> I am also not all that fond of adding custom stuff to the build, i would 
> much rather simplify our maven build rather than make it more complex. 
> But that said please don't let me kill your enthusiasm :)

No worries, that cannot happen, I will use it on my own personal 
computer without sharing if no one else wants it.

Fixing a maven plugin: a few hours of work
Shaving off 3.5 minutes out of a 9 minutes build and not having Eclipse
to rebuild everything each morning: priceless

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to