here's an ant script that seems to generate exactly the same .classpath https://github.com/guymers/udig-platform/commit/83db1f3af6f4af0009611a477145ac5060a42837
On Tue, Sep 11, 2012 at 9:53 AM, Jody Garnett <[email protected]> wrote: > Thanks Sam that is working for me locally; pushing it up to the build box > now (had to ignore the libs-src directory but that was about it). > > Two thoughts as long as we are here. > > 1) attach_source.sh > > The script to update the .classpath to reference the source jars; we had > something similar in ant during the 1.2 series (that was not maintained). Do > you think we can accomplish the same effect with an ant target? > > 2) org.getools > > What do you think about renaming net.refractions.udig.libs -> org.geotools > > Notes: > - I know we have a few more jars in there; but since they are not stuck on > FactorySPI restrictions we can start factoring them out into individual > plugins; or see if we can find another way to depend on them). > - Long term I would like to team up with LocationTech and starting a P2 site > for these artefacts, add the correct MANIFEST.MF files to geotools; and > allow GeoTools to work in an OSGi environment "out of the box" > > -- > Jody Garnett > > On Tuesday, 11 September 2012 at 8:26 AM, Sam Guymer wrote: > > 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 > > > > _______________________________________________ > 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
