[jbossws-issues] [JBoss JIRA] (JBWS-3824) "Input line is too long" when running wsprovide in fork mode on Windows
R Searls (JIRA)
issues at jboss.org
Fri Mar 20 10:09:21 EDT 2015
[ https://issues.jboss.org/browse/JBWS-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052223#comment-13052223 ]
R Searls commented on JBWS-3824:
--------------------------------
Assuming no other code outside this archive is using UrlUtils, it can be removed, along with
the following code replacement.
Do you want me to check-in the code changes?
--- src/main/java/org/jboss/ws/plugins/tools/AbstractToolsMojo.java (revision 19440)
+++ src/main/java/org/jboss/ws/plugins/tools/AbstractToolsMojo.java (working copy)
@@ -200,7 +200,8 @@
for ( String el : classPath )
{
// NOTE: if File points to a directory, this entry MUST end in '/'.
- cp += UrlUtils.getURL(new File(el)).toExternalForm() + " ";
+ File elFile = new File(el);
+ cp += elFile.toURI().toURL().toExternalForm() + " ";
}
> "Input line is too long" when running wsprovide in fork mode on Windows
> -----------------------------------------------------------------------
>
> Key: JBWS-3824
> URL: https://issues.jboss.org/browse/JBWS-3824
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jaxws-tools-maven-plugin
> Affects Versions: jbossws-jaxws-tools-maven-plugin-1.1.2.Final
> Reporter: Alessio Soldano
> Assignee: R Searls
> Fix For: jbossws-jaxws-tools-maven-plugin-1.2.0.Beta1
>
>
> When running the tools in fork mode on Windows OS, we can end up building a command line which is too long.
> We should prevent this by using a pathing jar solution, similarly to what Surefire plugin does (a jar with manifest pointing to the actual dependency jars).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbossws-issues
mailing list