Reply to comment

My first GWT library

Learn something new everyday...

GWT libraries need to have the JAVA code distributed with them.  As it turns out the GWT compiler needs the JAVA source in order to compile your GWT application.

Never had to bundle source in with the jar, but maven made it easy;)

 

<pre>

    <resources>
         <resource>
            <directory>src/main/java</directory>
            <includes>
               <include>**/*.xml</include>
            </includes>
         </resource>
            <resource>
            <directory>src/main/java</directory>
            <includes>
               <include>**/*.java</include>
            </includes>
         </resource>
        
              
      </resources>

 

</pre>

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options