New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileUtil.buildPath() on Unix platform #667
Comments
I checked out that bit of code. It feels like there's some unnecessary processing going on there. |
Should the method be fixed to previous behavior? I feel that the way it is now is not consistent across platforms. |
I’m diving into that. It seems to me it can be made more consistent with less code.
|
I removed FileUtil.buildPath() (98f2e1e). It seems to work fine now on both Mac and Windows. |
Great!!!. We see will have the next release? Thanks |
Have you checked it for yourself? :) Just to be sure I did not miss anything... |
Looks good. BTW is there any way we can add custom list of resources to be added/replaced on fitnesse startup/install? It appears not. We repackage fitnesse with custom fixtures and would like to add help wiki with it such that it installs out of the box shipped list of wiki plus custom list that we make available in jar. At the moment as workaround we replace shipped lists with our own by adding it in front of fitnesse jar. Thanks |
Hi, You can append files to the file ... but you figured that out already ... I had a discussion with @fhoeben on the subject as well. Maybe the updater should not just check those files, but check for all occurrences of those files across jar files (Java has API calls for that). That way every plugin can add it's own documentation and have it published. |
Yes that's what we did. Handling all found occurrences sounds like the best option. |
I opened issue #685 for dealing with the documentation. Closing this issue. |
Hi,
It looks like this method was modified which is no longer behaving the way it used in release 20140901.
Before this release it used to return the path for example {"opt","myfolder"} as "/opt/myfolder", due to the later to change to this method it is now returns relative path "opt/myfolder". This method is used by UpdaterImplementation that writes resource files on start up. It appears that now root-path set with -d command line parameter no longer consistently used since update uses it as relative path while other parts of the system using it as absolute path, In Windows because we specify drive letter this is not an issue. What was the reason for the change in behavior? Feels to me this should be fixed.
Thank You
The text was updated successfully, but these errors were encountered: