Hello,

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.java
serverstuff/Files.java
clientstuff/MyDialog.java
clientstuff/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:

MyDialog.java
MyWindow.java

These are the classes that I want, but with a wrong path.
I want my jar file to contain:

clientstuff/MyDialog.java
clientstuff/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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to