web-3/wildfly/bin/wsprovide.ps1

19 lines
801 B
PowerShell
Raw Normal View History

2024-11-26 02:32:07 +03:00
##################################################################
# ##
# wsprovide tool script for Windows ##
# ##
##################################################################
$scripts = (Get-ChildItem $MyInvocation.MyCommand.Path).Directory.FullName;
. $scripts'\common.ps1'
$JAVA_OPTS = @()
# Sample JPDA settings for remote socket debugging
#$JAVA_OPTS+="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y"
$JAVA_OPTS+="-Dprogram.name=wsprovide.ps1"
$PROG_ARGS = Get-Java-Arguments -entryModule "org.jboss.ws.tools.wsprovide" -logFileProperties $null -serverOpts $ARGS
& $JAVA $PROG_ARGS
Env-Clean-Up