Extending on that, here's a pull request that replaces any libs or
source libs that have a timestamp with SNAPSHOT

https://github.com/uDig/udig-platform/pull/143

On Tue, Sep 11, 2012 at 5:42 AM, Frank Gasdorf
<[email protected]> wrote:
> Almost ;)
>
> Was it an intent to get versions without the current version indicator
> of the 9-SNAPSHOT release?
>
> Hopefully not, I changed the bootstrap.xml to keep the version number
> and changed the  regexpr of the move task to "\1-\3-SNAPSHOT.jar"
>
> In addition I added net.opengis.* and org.w3.xlink (included in the
> geotools build) to naming-transition.
>
> Didn't tested on windows yet (probably tomorrow).
>
> Cheers, Frank
>
> 2012/9/10 Jody Garnett <[email protected]>:
>> Thanks to everyone who helped out over the weekend; I had not idea that
>> moving back to geotools master was going to be such a pain.
>>
>> There were a couple of troubles with the previous approach:
>> - by erasing version numbers we could no longer tell jars apart; and had
>> conflicts between antlr 3.3 and antler 2.7.7 (both of which are in use)
>> - build.properties was edited (probably by the MANIFEST.MF editor and the
>> setting to compile the src folder into a library.jar was removed)
>>
>> I have pushed up a fix:
>> 1) download the jars as normal
>> 2) correct the geotools snapshot jars with an ant task
>>
>>         <move todir="${basedir}${file.separator}lib"
>> includeemptydirs="false">
>>             <fileset dir="${basedir}${file.separator}lib">
>>                 <include name="**/gt-*.jar"/>
>>                 <exclude name="**/gt-*-SNAPSHOT.jar"/>
>>             </fileset>
>>             <regexpmapper handledirsep="yes"
>>
>> from="^(.*?)(\$$[^/\\\.]*)?-([\\\d]+)-([\\\d]+)\.([\\\d]+)\-([\\\d]+)\.jar$$"
>>                to="\1-SNAPSHOT.jar"/>
>>         </move>
>>
>> This will leave any existing SNAPSHOT jars alone (if you happened to build
>> geotools locally).
>>
>> While I have placed the handledirsep="yes" flag in there a test on windows
>> would be helpful.
>>
>> --
>> Jody Garnett
>>
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to