Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple source folders for Super Dev Mode
    primarykey
    data
    text
    <p><em><strong>Problem</em></strong><br> Is there any way <a href="http://www.gwtproject.org/articles/superdevmode.html#Starting" rel="nofollow">Codeserver</a> accept more than one dir in the -src flag?</p> <p><em><strong>Details</em></strong><br> I'm trying to separate my source code into folders like this:</p> <ul> <li>src</li> <li>widgets</li> <li>utility</li> <li>main</li> </ul> <p>I got the regular dev mode to compile my code via the following *.gwt.xml files:</p> <p>src/MyProject.gwt.xml</p> <pre><code>&lt;module&gt; &lt;inherits name='com.google.gwt.user.User' /&gt; &lt;inherits name="com.my.project.Widget"/&gt; &lt;entry-point class="com.my.project.Test" /&gt; &lt;/module&gt; </code></pre> <p>widgets/Widgets.gwt.xml</p> <pre><code>&lt;module&gt; &lt;inherits name='com.google.gwt.user.User' /&gt; &lt;inherits name="com.my.project.Widgets"/&gt; &lt;/module&gt; </code></pre> <p>But every time I try to run in the Codeserver (SuperDevMode), it will say it can't find classes in com.my.project.Widgets package.</p> <p>I'm running SuperDevMode using the following arguments:</p> <pre><code>-src src/ com.my.Project.MyProject </code></pre> <p>But I'm guessing I need something like:</p> <pre><code>-src src/ com.my.Project.MyProject widgets/ com.my.Project.Widgets </code></pre> <p><em><strong>FYI</em></strong><br> I know you can organize the classes using packages but I would prefer to have them in separate source folders, so later on I can easily repackage them into separate jars.</p> <p><em><strong>Update</em></strong><br> Just tried adding the [module]:</p> <pre><code>-src src/ com.my.Project.MyProject com.my.Project.Widgets </code></pre> <p>Didn't work :(</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload