[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Importing Maven project containing EJB, JPA and GWT code
|
tis 2013-01-15 klockan 22:43 +0100 skrev Simon Lindgren:
> Hi,
>
> I'm using EJB, JPA and GWT in a small Maven project and I'm trying to
> import it. However, the output from the GWT compiler seems to be missing
> in the deployed war for some reason.
>
> OS: Fedora 17 64bit
> Eclipse Juno SR1, starting from fresh download
> Configured according to
> http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
> plus installing the glassfish plugin from
> http://dlc.sun.com.edgesuite.net/glassfish/eclipse/juno/
>
> Steps (feel free to not bother with this ;)):
> cd $WORKSPACE
> git clone https://github.com/riviti/EnterpriseTest.git
> From workspace, import maven project, pick the right folder, then use
> defaults.
>
> If I understand Eclipse correctly, the "Deployed Resources" folder shows
> what would be deployed. The GWT compiler output is not there.
>
> Alternatively, the example can be run on a server:
> Add new runtime environment for the local glassfish server. Then launch
> the GWT project using Run|Run on Server... And then configure the
> glassfish server. The glassfish server will need postgres jdbc resources
> named "jdbc/MessageSource__pm" and "jdbc/MessageSource__nontx".
>
> Then I try to browse to localhost/GWT/GWT.html which reveals that the
> javascript output from the GWT compiler is missing.
>
Whoops, there wasn't much of a question in there...
What should I do check/try to make eclipse include the GWT compiler
output in the war?