Today, I spent some time looking into the Stage 3 bits around split modules and the GeoTools repackaging. I worked with the jsplitpkgscan[1] project a little bit to understand what it could tell us.
Jody and I iterated through a plan stage for the refactoring that needs to happen, and that work is in progress[2]. There are a number of choices being made and most of them are represented in his proposal to restructure GeoTools[3]. We've planned splitting up gt-api across different modules; that part seems ok. As we've looked splitting up gt-main, there are additional considerations to work through.
Of note, Jody's looking to create a script that can be replayed via Eclipse to help migrate downstream projects to the new package names, etc.
Won’t this imply that all the package refactors will have to be done by a single person using Eclipse?
I’m not sure sure the random user will be happy to install Eclipse and configure it for their project in
order to run the refactors… is there a way to dump those refactoring script in a more generic way?
Cheers
Andrea
···
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.ithttp://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
I finished the stage 3 planning for the rest of the core library, worth a discussion tomorrow morning.
Also did stage 4 planning to see what gt-opengis provides (to double check breaking up gt-main would work).
Andrea I just confirmed the functionality exists in eclipse, it produces an XML record of what refactoring were performed that can be replayed elsewhere:
<?xml version="1.0" encoding="UTF-8"?>
There is not a generic export, and is not setup for easy processing, unless you just dump all the comments to a text file: