RE: [jgrapht-developers] JGraphT backport
Brought to you by:
barak_naveh,
perfecthash
From: Barak N. <bar...@us...> - 2005-07-31 15:10:01
|
Come to think of it, maybe it would be useful to extend the idea and = instead of having 'customBuild.properties', we can have 'build.properties'. = Such a file might help with all kinds of custom of builds (release, = cvstag,...), present and future. The build.properties could have the form of commented sections, one = section for each alternative build (such as retro). When someone wants to build = a retro, he just uncomments the params in the retro section and fills in = the paths according to the documented instruction within the = 'build.properties'. In such a way, custom builds can be relatively simple. Of course, the = file in its distributed form should contain only comments, so that a casual = "ant all" on the distribution doesn't do funny things... A little naming suggestion: > retro.jre.dir=3D/path/to/jre1.4 Since the only JREs supported here are 1.4*, I think a variable name = such as 'jre1_4.dir' or 'jre1.4.dir' will be more self-explanatory.=20 Barak=20 > -----Original Message----- >=20 > The JGraphT development version (0.7.0alpha) in CVS requires JDK 1.5 = to > build, but I've just checked in backport support to allow it to run on > JRE 1.4. To use it, install Retroweaver (and JRE 1.4), then create a > file named customBuild.properties in the same directory as build.xml = and > add these two lines: >=20 > retroweaver.dir=3D/path/to/full/distribution/of/retroweaver > retro.jre.dir=3D/path/to/jre1.4 >=20 > Then run ant. The "all" target will perform a normal build/test/jar > sequence, and then run the backport (overwriting the class files in > place with their retrowoven versions). Then it will re-run all tests > against JRE 1.4 to make sure that no dependencies on JRE 1.5 have = crept > in. Finally, it will create an extra jar with the retrowoven classes = as > part of the distribution. >=20 > If you have comments on this process, please let me know. >=20 > JVS >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > _______________________________________________ > jgrapht-developers mailing list > jgr...@li... > https://lists.sourceforge.net/lists/listinfo/jgrapht-developers |