Closed gardellajuanpablo closed 5 years ago
Configuration used:
<plugin> <groupId>net.ltgt.gwt.maven</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>1.0-rc-10</version> <extensions>true</extensions> <configuration> <sourceLevel>1.8</sourceLevel> <failOnError>true</failOnError> <codeserverArgs> <codeserverArg>-port 9877</codeserverArg> </codeserverArgs> </configuration> </plugin>
Error:
[INFO] --- gwt-maven-plugin:1.0-rc-10:codeserver (default-cli) @ zzzz --- [WARNING] Unknown argument: -port 9877
By adding -X I see the argument is passed using "", maybe this is the problem:
[DEBUG] Arguments: com.google.gwt.dev.codeserver.CodeServer -workDir C:\XXXX\target\gwt\codeserver -sourceLevel 1.8 -failOnError -launcherDir C:\XXXX\target\gwt\launcherDir "-port 9877" ....
OS: Windows 10.
maybe this is the problem
It is, but it is also working as intended: -port and 9877 are supposed to be 2 distinct arguments.
-port
9877
<codeserverArgs> <arg>-port</arg><arg>9877</arg> </codeserverArgs>
Configuration used:
Error:
By adding -X I see the argument is passed using "", maybe this is the problem:
OS: Windows 10.