[jboss-jira] [JBoss JIRA] Commented: (AS7-1343) wsconsume.bat not working
Quanlin Chen (JIRA)
jira-events at lists.jboss.org
Wed Aug 3 11:50:06 EDT 2011
[ https://issues.jboss.org/browse/AS7-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618543#comment-12618543 ]
Quanlin Chen commented on AS7-1343:
-----------------------------------
the above message I posted is for cygwin, so to make it generic, put the classpath into a variable, switch paths format depending on the OS
CLASSPATH="$JAVA_HOME/lib/tools.jar:$JBOSS_HOME/jboss-modules.jar"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
JBOSS_HOME=`cygpath --path --windows "$JBOSS_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
CLASSPATH==`cygpath --path --windows "$CLASSPATH"`
fi
for class path, just reference the variable:
-classpath \"$CLASSPATH\" \
> wsconsume.bat not working
> -------------------------
>
> Key: AS7-1343
> URL: https://issues.jboss.org/browse/AS7-1343
> Project: Application Server 7
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 7.0.0.Final
> Environment: Windows 7
> Reporter: Mario Antollini
> Assignee: Jim Ma
> Fix For: Open To Community
>
>
> The file wsconsume.bat under the bin directory does not work.
> The problem is in this line: "-Djava.endorsed.dirs=file:%JBOSS_HOME%/modules/com/sun/xml/bin/main;file:%JBOSS_HOME%/modules/javax/xml/ws/api/main\" ^
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list