arne-bdt opened a new issue, #3852:
URL: https://github.com/apache/jena/issues/3852

   ### Version
   
   6.1.0-SNAPSHOT
   
   ### What happened?
   
   The current `jena-fuseki2/jena-fuseki-ui/package.json` configuration for 
"test:e2e:win32" seems to be broken:
   
   > "test:e2e:win32": "SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030) & SET /a 
(PORT=PORT ^ 8080) & cross-env concurrently --names 'SERVER,CLIENT,TESTS' 
--prefix-colors 'yellow,blue,green' --success 'first' --kill-others \"yarn run 
serve:fuseki\" \"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn 
run dev\" \"yarn wait-on http-get://localhost:${PORT}/index.html && cypress run 
$@\"",
   
   This produces:
   
   > yarn.cmd run test:e2e:win32
   > yarn run v1.22.22
   > $ SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030) & SET /a (PORT=PORT ^ 8080) & 
cross-env concurrently --names 'SERVER,CLIENT,TESTS' --prefix-colors 
'yellow,blue,green' --success 'first' --kill-others "yarn run serve:fuseki" 
"yarn wait-on http://localhost:${FUSEKI_PORT}/$/ping && yarn run dev" "yarn 
wait-on http-get://localhost:${PORT}/index.html && cypress run $@"
   > Fehlende Klammer
   > Fehlende Klammer
   > $ nodemon src/services/mock/json-server.js
   > $ C:\rd\jena2\jena-fuseki2\jena-fuseki-ui\node_modules\.bin\wait-on 
http://localhost:0/$/ping
   > $ C:\rd\jena2\jena-fuseki2\jena-fuseki-ui\node_modules\.bin\wait-on 
http-get://localhost:0/index.html
   > [SERVER] [nodemon] 3.1.14
   > [SERVER] [nodemon] to restart at any time, enter `rs`
   > [SERVER] [nodemon] watching path(s): *.*
   > [SERVER] [nodemon] watching extensions: js,mjs,cjs,json
   > [SERVER] [nodemon] starting `node src/services/mock/json-server.js`
   > [SERVER] JSON Server is running
   
   --> using port 0
   
   I guess `SET /a (FUSEKI_PORT=FUSEKI_PORT ^ 3030)` does not work.
   Also `${FUSEKI_PORT}` is unix syntax.
   
   The following expression works:
   
   > "test:e2e:win32": "IF NOT DEFINED FUSEKI_PORT (SET FUSEKI_PORT=3030)& IF 
NOT DEFINED PORT (SET PORT=8080)& cross-env concurrently --names 
'SERVER,CLIENT,TESTS' --prefix-colors 'yellow,blue,green' --success 'first' 
--kill-others \"yarn run serve:fuseki\" \"yarn wait-on 
http://localhost:%FUSEKI_PORT%/$/ping && yarn run dev\" \"yarn wait-on 
http-get://localhost:%PORT%/index.html && cypress run %*\"",
   
   ### Relevant output and stacktrace
   
   ```shell
   
   ```
   
   ### Are you interested in making a pull request?
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to