Thanks Girish,
Using "%20" does not work either, we then get this error: The specified path could not be found
Z:\ofbiz-framework%20only>gradlew --no-daemon --stacktrace ofbiz
Daemon will be stopped at the end of the build stopping after processing
FAILURE: Build failed with an exception.
* Where:
Script 'Z:\ofbiz-framework%20only\common.gradle' line: 26
* What went wrong:
A problem occurred evaluating settings 'ofbiz'.
> Z:\ofbiz-framework only\framework\base\config\component-load.xml (Le chemin dÆaccÞs spÚcifiÚ est introuvable)
OK, I don't want to fix it. It's not a big deal, and only in development phase (who use Windows for production ;). I'll simply put a note in the
documentation.
Jacques
Le 29/01/2021 à 08:58, Girish Vasmatkar a écrit :
> Hi Jacques
>
> Apparently this is an issue on Windows machines. The whitespaces in
> windows would have to be escaped with "%20". I think the path that gets
> resolved probably does not have escape characters for whitespace. This is
> not a problem on Unix machines and I didn't face any issue.
>
> A complete exception stack trace would help to confirm.
>
> Best,
> Girish
>
>
>
>
>
> On Thu, Jan 28, 2021 at 4:16 PM Jacques Le Roux <
>
[hidden email]> wrote:
>
>> Hi,
>>
>> On Windows I get this issue if the path of the OFBiz home dir has at least
>> 1 space in
>>
>> > Task :ofbiz FAILED
>> Erreur : impossible de trouver ou charger la classe principale
>> org.apache.ofbiz.base.start.Start
>> FAILURE: Build failed with an exception.
>>
>> I don't know if it's the same on *nix, could someone please confirm?
>>
>> TIA
>>
>> Jacques
>>
>>