Hello,
Thanks
-- when making java libraries containing GWT code, you have to include the sources in the jar file.
I do this in my maven project like this:
<build><resources><resource><directory>src/main/resources</directory></resource><resource><directory>src/main/java</directory><includes><include>**/*.java</include><include>**/*.gwt.xml</include></includes></resource></resources></build>
This includes everything under src/main/java.
And everything that we include is relative to this path.
In my case, this is for example:
serverstuff/Database.javaserverstuff/Files.javaclientstuff/MyDialog.javaclientstuff/MyWindow.java
Now I would like to include only a subdirectory, say src/main/java/clientstuff.
To achieve this, I could change the directory tag above into
<directory>src/main/java/clientstuff</directory>
But then, also the origin of the paths in the resulting jar file changes.
The jar file will contain:
The jar file will contain:
MyDialog.javaMyWindow.java
These are the classes that I want, but with a wrong path.
I want my jar file to contain:
clientstuff/MyDialog.javaclientstuff/MyWindow.java
How can I do that?
Thanks
Magnus
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment