[ https://issues.apache.org/jira/browse/LUCENE-9321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100701#comment-17100701 ]
Uwe Schindler commented on LUCENE-9321: --------------------------------------- bq. I'd just use Path methods (even in convertPath2Link). But I may be talking nonsense here. I did try this, but breaks on windows and it is hard to handle with paths with non-existing files (Path append slashes on directories, but only if they exist). So working with virtual paths is.... hard. Other options were plexus-utils, but the code here is more or less the way how it works there (just much shorter because of Groovy). I think the code now is fine (drop as many elements which are common prefix for both paths, then add as many ".." in front to get out of the base path). I see this as done for now. Ideas still welcome. I am currently cleaning up more, I removed hardcoded task names used to refer to "element-list". I think I can also cleanup the bugfix for the split package problem without using ant. The code is "unreadable" (it's "Ant style" how it is at the moment). It's a 5-liner in Groovy to filter the element-list. I will then duplicate the "renderJavadocs" task and set the outputDirectory correctly. Currently its doing relative paths for testing purposes everywhere (debug output looks fine to me). > Port documentation task to gradle > --------------------------------- > > Key: LUCENE-9321 > URL: https://issues.apache.org/jira/browse/LUCENE-9321 > Project: Lucene - Core > Issue Type: Sub-task > Components: general/build > Reporter: Tomoko Uchida > Assignee: Uwe Schindler > Priority: Major > Fix For: master (9.0) > > Attachments: screenshot-1.png > > Time Spent: 2h 40m > Remaining Estimate: 0h > > This is a placeholder issue for porting ant "documentation" task to gradle. > The generated documents should be able to be published on lucene.apache.org > web site on "as-is" basis. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org