which is not supported.
GWT does support logging: https://www.gwtproject.org/doc/latest/DevGuideLogging.html
> I thought since I declared superSource, it was supposed to remove the
prefix from the package.
prefix from the package.
No. In your thinking you should treat /com/propfinancing/gwt/superSource as an ordinary source folder, just like src/main/java for example. So the package declaration in any file in the super-source folder should not contain the path prefix. Your superSource folder is the root.
-- J.
Neil Aggarwal schrieb am Montag, 16. Dezember 2024 um 18:05:45 UTC+1:
Apparenty the solution I tried below did not work.
I am getting this error from the GWT compiler:
Tracing compile failure path for type 'com.jme3.math.Vector3f'
[INFO] [ERROR] Errors in
'jar:file:/C:/Users/neil/.m2/repository/com/propfinancing/pflib/6.0.0/pfli
b-6.0.0-sources.jar!/com/propfinancing/gwt/superSource/com/jme3/math/Vecto
r3f.java'
[INFO] [ERROR] Line 4: The declared package
"com.propfinancing.gwt.superSource.com.jme3.math" does not match the
expected package "com.jme3.math"
I thought since I declared superSource, it was supposed to remove the
prefix from the package.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
> -----Original Message-----
> From: Neil Aggarwal <ne...@propfinancing.com>
> Sent: Monday, December 16, 2024 12:24 AM
> To: 'google-we...@googlegroups.com' <google-web-
> too...@googlegroups.com>
> Subject: RE: Possible to have super sources in a common package in a
library?
>
> I think I might have figured it out.
>
> I created a file com/propfinancing/gwt/GWT.gwt.xml and put this content
in it:
>
> <module>
> <source path=""/>
> <super-source path="superSource"/>
> </module>
>
> And then I put <inherits name="com.propfinancing.gwt.GWT"/> in
> my outer project.
>
> I have a bunch of other errors to resolve before I can test it, but the
compiler is no
> longer telling me it can't find the source code for that class.
>
> Thank you,
> Neil
>
> --
> Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com We offer 30
year
> loans on single family houses!
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 visit https://groups.google.com/d/msgid/google-web-toolkit/352a0385-32a4-4e52-8e28-f782d01b978fn%40googlegroups.com.
No comments:
Post a Comment