Re: [Soaplab-users] Problem with Infile Path
Brought to you by:
marsenger
|
From: Sebastien M. <Seb...@un...> - 2008-04-09 08:47:08
|
>> More precisely, this is '-', in the path, which makes my program
>> crashed.
>>
>> Where can I replace '-' by '_' in the soaplab2 sources ?
>>
>>
>> The name of the directory in question is also the job ID. It is
>> created in org.soaplab.services.JobManager in method createJobId().
>> The minus is given by calling 'new java.rmi.server.UID().toString()'.
>>
>> Martin
>
> So, it should work if I use
> java.rmi.server.UID().toString().replaceAll('-', '_')
> but I need to recompile this class and reinstall soaplab2 ?
>
> I don't know yet if the bug is coming from the application, or from
> pascal syntax !
>
>
> Could you add this replaceAll("-", "_") method to soaplab2 source code
> to avoid this kind of problem in the future for other users & maybe for
> other old pascal programs ?
>
> Thanks
It works perfectly with .replaceAll("-", "_")
So, could you add this replaceAll("-", "_") method to soaplab2 source
code to avoid this kind of problem in the future for other users & maybe
with other old pascal programs ?
Thanks
--
Sébastien Moretti
SIB, Quartier Sorge - Genopode
CH-1015 Lausanne, Switzerland
Tel.: +41 (21) 692 4056/4221
|