A ClientBundle works fine in my main project: com.example.project.client.Bundle
Another ClientBundle in my library compiles into a jar just fine: com.example.library.client.Bundle
Compiling my project when it depends on the library fails:
[ERROR] Errors in 'jar:file:/C:/work/library.jar!/com/example/library/client/Bundle.java'
[ERROR] Line 10: Failed to resolve 'com.example.library.client.Bundle' via deferred binding
I've checked the library jar, and the image files are at /com/example/library/client/
as they were in the library's source. Is there some trick? I've tried referencing the images both with @ClientBundle.Source("com/example/library/client/icon.gif")
and @ClientBundle.Source("icon.gif")
, both of which allow the library to compile file, but fail when compiling the depending project.