Well, I created the Jenkins Job, so we both hat our share ;-) sebb <seb...@gmail.com> schrieb am Mo., 13. Juni 2016 um 16:03 Uhr:
> On 13 June 2016 at 12:43, Benedikt Ritter <brit...@apache.org> wrote: > > Thank you for bringing this up and for fixing the Problem! > > I probably caused it ... > > > sebb <seb...@gmail.com> schrieb am Mo., 13. Juni 2016 um 12:32: > > > >> A Commons NET test was failing on Jenkins, but worked fine locally. > >> And previously had been working on Continuum. > >> > >> Turns out this was because Jenkins uses path names of the form > >> .../commons-net@n/. > >> > >> The test code was using the following to get the source location: > >> > >> java.security.CodeSource.getLocation().getFile() > >> > >> The embedded '@' was returned encoded as %40. > >> > >> When used as a File parameter of course it did not work, so the test > >> failed. > >> > >> Using java.net.URLDecoder.decode() on the file-part of the URL fixed > this. > >> > >> There are no doubt other methods that return URLs that represent local > >> file paths. > >> Beware! > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> For additional commands, e-mail: dev-h...@commons.apache.org > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >