Open GoogleCodeExporter opened 9 years ago
In final 2.6 (same error).
Original comment by matej.cr...@gmail.com
on 3 Feb 2014 at 6:40
Upgrading the GWT version to 2.6.0 in pom.xml produces dozen of compile error,
among others this one:
[ERROR] /home/davido/projects/gwt-test-utils/gwt-test-utils/src/main/java/com/googlecode/gwt/test/internal/GwtFactory.java:[151,22] error: method getCompilationState in class ModuleDef cannot be applied to given types;
[ERROR] required: TreeLogger,CompilerContext
[ERROR] found: TreeLogger
[ERROR] reason: actual and formal argument lists differ in length
The method defined as:
/**
* Creates a module in memory that is not associated with a
* <code>.gwt.xml</code> file on disk.
*
* @param logger logs the process
* @param compilerContext shared read only compiler state
* @param moduleName the synthetic module to create
* @param inherits a set of modules to inherit from
* @param refresh whether to refresh the module
* @return the loaded module
* @throws UnableToCompleteException
*/
public static ModuleDef createSyntheticModule(TreeLogger logger,
CompilerContext compilerContext, String moduleName, final String[] inherits, boolean refresh)
throws UnableToCompleteException
and called as:
private ModuleDef createModuleDef(ConfigurationLoader configurationLoader) {
try {
List<String> gwtModules = configurationLoader.getGwtModules();
String[] inherits = gwtModules.toArray(new String[gwtModules.size()]);
return ModuleDefLoader.createSyntheticModule(GwtTreeLogger.get(),
"com.googlecode.gwt.test.Aggregator", inherits, false);
} catch (UnableToCompleteException e) {
throw new GwtTestConfigurationException(
"Error while creating global ModuleDef for module' :", e);
}
}
So the compilerContext parameters is missing.
Original comment by David.Os...@gmail.com
on 24 Feb 2014 at 8:45
Hi,
A 0.47-SNAPSHOT compatible with GWT 2.6.0 is already available on Sonatype OSS
repository.
The 0.47 version will be released on Maven Central soon. See here :
https://github.com/gwt-test-utils/gwt-test-utils/issues/62
Original comment by gael.laz...@gmail.com
on 25 Feb 2014 at 3:10
Original comment by gael.laz...@gmail.com
on 25 Feb 2014 at 3:10
Original issue reported on code.google.com by
David.Os...@gmail.com
on 19 Jan 2014 at 4:28