|
From: wbh <wan...@16...> - 2015-02-27 15:36:54
|
Ben, thank you for your help and specific steps! At 2015-02-25 17:26:46, "Ben Caradoc-Davies" <be...@tr...> wrote: >For a comprehensive guide to working with git, please see the developer >guide (but the basic steps you need in this case I listed below): >http://docs.geotools.org/latest/developer/procedures/git.html > >On 25/02/15 16:17, Ben Caradoc-Davies wrote: >> wbh, >> >> only one public class is permitted per compilation unit. I suggest >> moving WrongPathException inside AStarShortestPathFinder as a public >> static nested class. This will allow it to be referenced from other code >> as you require. >> >> To issue a pull request: >> >> (1) Create an account on GitHub: https://github.com/join >> >> (2) Login and navigate to GeoTools >> >> (3) Navigate to the GeoTools project: https://github.com/geotools/geotools >> >> (4) Fork the GeoTools project into your account >> >> (5) Clone the repository into your local computer using a git client >> >> (6) Change the file >> >> (7) Commit the change to your local git repository using a git client >> >> (8) Push the change to your GitHub repository using a git client >> >> (9) Use the GitHub web interface to create a pull request >> >> Then ask Jody to review the pull request. >> >> Kind regards, >> Ben. >> >> >> On 19/02/15 15:53, wbh wrote: >>> Jody, would you please tell me how to submit the pull request? >>> >>> >>> >>> >>> >>> >>> At 2015-02-19 01:25:08, "Jody Garnett" <jod...@gm...> wrote: >>> >>> Perhaps the exception is package visible and not public, if so please >>> submit a pull request. >>> >>> >>> -- >>> Jody Garnett >>> >>> >>> On 18 February 2015 at 09:11, wbh <wan...@16...> wrote: >>> >>> Hi guys, >>> I am trying to use Astar algorithm and have my code like this: >>> Path astarPath; >>> try { >>> astarPath = astar.getPath(); >>> } >>> catch (WrongPathException e) { >>> // TODO Auto-generated catch block >>> e.printStackTrace(); >>> } >>> To my surprise, the compiler reports the error: The type >>> WrongPathException is not visible. >>> But this class does exist at the package org.geotools.graph.path.... >>> What makes my confuse is that I used AstarShortestPahtFinder in >>> another function in the same class, it does not need to throw this >>> exception. >>> Can anyone tell me why? >>> Thx. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >>> >>> _______________________________________________ >>> GeoTools-GT2-Users mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >>> >>> >>> >>> >>> _______________________________________________ >>> GeoTools-GT2-Users mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >>> >> > >-- >Ben Caradoc-Davies <be...@tr...> >Software Engineer >Transient Software <http://transient.nz> >New Zealand |