File.separator broken in daily build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

File.separator broken in daily build

CARL Philippe (LBP)
Dear all (probably Wayne),
When I'm trying to use the method indexOf(inDir , File.separator); with inDir being the output of an getDirectory method, I get the result "-1" with the daily build version of ImageJ.
As I get (correctly) the value 2 with the 1.53c released version.
Thus it seems something got broken within the use of the File.separator method within the daily build version.
My best regards,
Philippe


Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 42 89

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: File.separator broken in daily build

Kenneth R Sloan-2
Can you please show the values of inDir and File.separator, for each build?
--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: File.separator broken in daily build

CARL Philippe (LBP)
Dear Kenneth,
Here we go:
Version 1.53c
        C:\Work\newad\Simulation\WT-N-09\
        2
Daily build:
        C:/Work/newad/Simulation/WT-N-09/
        -1
And as you have guessed, I'm under Windows OS.
My best regards,
Philippe

----- Mail original -----
De: "Kenneth Sloan" <[hidden email]>
À: "imagej" <[hidden email]>
Envoyé: Mercredi 5 Août 2020 23:49:07
Objet: Re: File.separator broken in daily build

Can you please show the values of inDir and File.separator, for each build?
--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: File.separator broken in daily build

Kenneth R Sloan-2
You showed inDir - can you please show File.separator?

On Wed, Aug 5, 2020 at 17:09 CARL Philippe (LBP) <[hidden email]>
wrote:

> Dear Kenneth,
> Here we go:
> Version 1.53c
>         C:\Work\newad\Simulation\WT-N-09\
>         2
> Daily build:
>         C:/Work/newad/Simulation/WT-N-09/
>         -1
> And as you have guessed, I'm under Windows OS.
> My best regards,
> Philippe
>
> ----- Mail original -----
> De: "Kenneth Sloan" <[hidden email]>
> À: "imagej" <[hidden email]>
> Envoyé: Mercredi 5 Août 2020 23:49:07
> Objet: Re: File.separator broken in daily build
>
> Can you please show the values of inDir and File.separator, for each build?
> --
> Kenneth Sloan
> [hidden email]
> Vision is the art of seeing what is invisible to others.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
--
-Kenneth Sloan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: File.separator broken in daily build

Wayne Rasband-2
In reply to this post by CARL Philippe (LBP)
> On Aug 5, 2020, at 5:21 PM, CARL Philippe (LBP) <[hidden email]> wrote:
>
> Dear all (probably Wayne),
> When I'm trying to use the method indexOf(inDir , File.separator); with inDir being the output of an getDirectory method, I get the result "-1" with the daily build version of ImageJ.
> As I get (correctly) the value 2 with the 1.53c released version.
> Thus it seems something got broken within the use of the File.separator method within the daily build version.

This regression is fixed in the 1.53d55 daily build.

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html