Wednesday, January 15, 2020

Re: Custom Post Linker and Super Dev Mode

IIRC, with Super Dev Mode, public artifacts aren't generated in the launcher dir; you need to build your path relative to GWT.getModuleBaseForStaticFiles() rather than GWT.getModuleBase(). HTH

On Tuesday, January 14, 2020 at 6:05:59 PM UTC+1, Geoffrey Wiseman wrote:
I know this is a while back -- did you ever make any headway on this? I've seen this on a project and it wasn't a pressing concern, but if anyone has a fix for this, I'd be happy to hear it.

On Tuesday, February 20, 2018 at 11:55:59 AM UTC-5, MCMicS wrote:
Hi,
I have written an own linker to generate file.
If I compile the App it works and the legacy DevMode works also fine.

But If I use SuperDevMode the file is not generated.

The reason ist that the SuperDevListener has following method:
  @Override
 
public void writeCompilerOutput(StandardLinkerContext linkerStack, ArtifactSet artifacts,
     
ModuleDef module, boolean isRelink) throws UnableToCompleteException {
   
// The code server will do this.
 
}

The linker is called but no artifact will be written.

How can I reach to generate a file (index.html, readme, ...) during compile step

Regards
Michael

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/726809cd-b512-4912-b380-61c68a3b7cd4%40googlegroups.com.

No comments:

Post a Comment