[jboss-jira] [JBoss JIRA] (WFLY-3747) build.bat can not run without the administrator on the windows
Amos Feng (JIRA)
issues at jboss.org
Wed Aug 20 02:45:31 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994160#comment-12994160 ]
Amos Feng commented on WFLY-3747:
---------------------------------
I attach the patch we are using to bypass the execution policy and hope it is helpful.
> build.bat can not run without the administrator on the windows
> --------------------------------------------------------------
>
> Key: WFLY-3747
> URL: https://issues.jboss.org/browse/WFLY-3747
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build System
> Reporter: Amos Feng
> Assignee: Paul Gier
> Attachments: 0001-Update-to-bypass-the-execution-policy-on-the-windows.patch
>
>
> we are building the widlfy on the windows and meet the following failure. It looks like the powershell needs the Administrator to run the script.
> {noformat}
> C:\hudson\workspace\btny-pulls-narayana-windows2008\jboss-as\tools\download-maven.ps1
> cannot be loaded because the execution of scripts is disabled on this
> system. Please see "get-help about_signing" for more details.
> At line:1 char:2
> + & <<<< tools\download-maven.ps1
> + CategoryInfo : NotSpecified: (:) [],
> PSSecurityException
> + FullyQualifiedErrorId : RuntimeException
> {noformat}
> It could be set the execution policy or bypass it. see http://stackoverflow.com/questions/4037939/powershell-execution-of-scripts-is-disabled-on-this-system
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list