[jboss-jira] [JBoss JIRA] (WFCORE-3865) .ps1 scripts Java system vars need to be quoted

R Searls (JIRA) issues at jboss.org
Tue May 22 09:09:00 EDT 2018


    [ https://issues.jboss.org/browse/WFCORE-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580290#comment-13580290 ] 

R Searls commented on WFCORE-3865:
----------------------------------

Kabir Khan, James Perkins, Marek Kopecky:

The fact that, "PowerShell scripts is provided as Technology Preview only",
and not fully supported and not regularly tested explains a lot as to the issues 
I've encountered in testing jbossws scripts with our testcase classes. And the
similar issues I see in the other .ps1 scripts.

Based upon the issues I encountered with the jbossws .ps1 scripts I could 
generate a handful more jiras on the wfly .ps1 scripts.  

If this is going to be a fully supported technology then there are a bunch
more issues for test automation.  
  * Java Runtime appears to always execute the "Command Prompt", so running a 
    cmd in a Process requires the specification of powershell.exe.  Running
    an arquillian test from within the PowerShell  terminal does not cause the PowerShell
    to be used.
  * The script extension needs to also be specified when using test automation.
    When running a script from within the PowerShell window (i.e. on the cmd-line)
    the extension does not need to be specified.  The shell picks the proper
    script.  This does not appear to be true when running from a Java Process.
  * As far as I can tell none of our component CIs run on windows or provide
    a windows env to allow the related tests to run on each PR submission.
    Travis CI does not have a Windows env.  I don't see one for Jenkins either.

Is there enough customer usage of this technology to justify the work that 
really needs to be provided to support it properly?

Should I start filing related jiras?

> .ps1 scripts Java system vars need to be quoted
> -----------------------------------------------
>
>                 Key: WFCORE-3865
>                 URL: https://issues.jboss.org/browse/WFCORE-3865
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 5.0.0.Beta4
>            Reporter: R Searls
>            Assignee: R Searls
>            Priority: Minor
>
> .ps1 scripts appclient, wsconsume, wsprovide, need java system variables
> (e.g., -Djave.home=blabla) to be quoted.  Add a new function to common.ps1.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list