saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

ScriptWriterWindows.writeCompileScript broken #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this Maven 1 or Maven 2?
maven2
What steps will reproduce the problem?
1. Use 2.0-beta9 to try to compile

What is the expected output? What do you see instead?
The arguments for the GWTCompiler are out of order. OBF appears after the
-out "dir" arguments.

Please provide any additional information below.

The lines:
writer.print("\" -logLevel ");
writer.print(mojo.getLogLevel());
writer.print(" -style ");
writer.print(" -out ");
writer.print(mojo.getOutput().getAbsolutePath());
writer.print(" ");
writer.print(mojo.getStyle());

should be:
writer.print("\" -logLevel ");
writer.print(mojo.getLogLevel());
writer.print(" -style ");
writer.print(mojo.getStyle());
writer.print(" -out ");
writer.print(mojo.getOutput().getAbsolutePath());
writer.print(" ");

Original issue reported on code.google.com by steve.ar...@gmail.com on 1 Apr 2008 at 1:49

GoogleCodeExporter commented 9 years ago
I fixed this today, but I think you meant you used 2.0-beta8?  2.0-beta9 wasn't 
in
the repo until today, and is the one I just released (the problem was in beta8, 
and
it only related to WindowsScriptWriter). 

Original comment by charlie....@gmail.com on 2 Apr 2008 at 2:17