Thomas, Marco showed me a project that made me see one thing I hadn't 
thought about, which was configured the same in the archetype project. It's 
regarding the sources.

In my project, I only have one jar that contain both classes and source 
files for those jar files that are needed, i.e. no sources-jar anywhere. 
This was a long time ago, but I think it was because we also needed to 
include things like .properties-files for i18n which are in submodules as 
well, so we use the <resources> tags to define them.

In any case - this apparently works fine for the compile, but could this be 
a reason for CodeServer not finding the class files? On the other hand, it 
doesn't find Lombok either which worked before, and I don't have any lombok 
sources.jar in my repo. Perhaps it doesn't need the Lombok sources since 
it's just annotations? 

On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote:

> On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote:
>
> -My dependencies should be ok since i can build it with the plugin, so i'm 
> a bit at a loss as to how make this work.
>
>
> Dependencies for gwt:compile and gwt:codeserver aren't the same: 
> https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
> You might have to either adjust the <scope> of dependencies (e.g. from 
> provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. 
> from runtime to compile+runtime or compile)
>  
>
> as a final aside:
> The "neither a gwt-lib or jar" warning messages in the error log below - i 
> still get it if i add the gwt-lib type to the dependency, and the archetype 
> project prints the same error when created.
>
>
> Note that it's an info, not a warning 😉
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a1d39578-5eff-4ede-9e2f-12d73422c98en%40googlegroups.com.

Reply via email to