Page 1 of 1

GWT Module not found

Posted: Wed Jan 30, 2013 7:57 am
by bhavani
Hi,

I've tried to create a module in admin, while running the maven install, i got the following error...

Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default) on project admin: GWT Module com.mycompany.cms.admin.client.TestManagementModule not found in project sources or resources. -> [Help 1]

pls help me on this...

Re: GWT Module not found

Posted: Wed Jan 30, 2013 10:32 am
by phillipuniverse
What does your myCompanyAdmin.gwt.xml file look like? And is there another .gwt.xml file for the module that you created?

Re: GWT Module not found

Posted: Thu Jan 31, 2013 1:08 am
by bhavani
Hi ,

My myCompanyAdmin.gwt.xml look like this...

<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name="com.google.gwt.user.User" />
<inherits name="org.broadleafcommerce.admin.merchandisingModule" />
<inherits name="org.broadleafcommerce.admin.customerCareModule" />
<inherits name="org.broadleafcommerce.openadmin.userModule" />
<inherits name="org.broadleafcommerce.cms.admin.contentManagementModule" />
<inherits name="com.mycompany.cms.admin.client.TestManagementModule" />
<inherits name="com.google.gwt.core.CompilerParameters"/>
<inherits name="com.google.gwt.i18n.I18N"/>
<inherits name="com.google.gwt.precompress.Precompress"/>

<extend-property name="locale" values="en_US"/>
<entry-point class="org.broadleafcommerce.openadmin.client.BLCLaunch" />

<!-- Uncomment the following lines to turn on logging -->
<!-- <inherits name="com.google.gwt.logging.Logging"/> -->
<!-- <set-property name="gwt.logging.enabled" value="TRUE"/> -->
<!-- <set-property name="gwt.logging.simpleRemoteHandler" value="ENABLED" /> -->

<!-- Uncomment this line to compile only for Firefox and Chrome. -->
<!-- It will speed up compiliation times while developing -->
<!-- <set-property name="user.agent" value="safari,gecko1_8" /> -->

<!-- Smartgwt requires quirk mode, so disable gwt warnings for now. -->
<!-- http://planet.jboss.org/post/smartgwt_ie7_ie8_support -->
<set-configuration-property name="document.compatMode" value="BackCompat"/>
</module>

and i dint create any other gwt.xml for the custom module... i'm having the TestManagementModule.java in this location cms/admin/client...