Yes, you can do that, it's just standard maven stuff.  You need to
simply setup your build section in your POM if you aren't going to use
the defaults.

<build>
<sourceDirectory>src/main/gwt</sourceDirectory>
</build>

Nevertheless, it is often strongly discouraged to change and not use
the default conventions.  It can be a headache later.  Rather than
change the entire source path, if your goal is just to keep the
UI/"domain" code separate, you might want to use different packages
(remember GWT already puts the UI code in it's own "source-path",
usually the .client subpackage), or different maven modules and
inheritance/composition.

On Sep 21, 4:45 pm, adamp <[EMAIL PROTECTED]> wrote:
> I'd like to organize my source differently for GWT projects.  Instead
> of the typical maven layout of src/main/java I'd like to stick the
> code into src/main/gwt to keep UI code separate from domain code.  Is
> there a way to specify this in the pom.xml for a project using this
> plugin.
>
> Thanks,
> Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to