You have to add the source folder in the gwt.xml file. I can't send my project, it's proprietary company information.
On Mon, Mar 2, 2009 at 9:59 AM, Mamadou Alimou DIALLO <malim...@gmail.com>wrote: > Brian, > > I always have some errors: > > *Removing units with errors > [ERROR] Errors in > 'file:/D:/ProdInra2/SRC/prodinra2/prodinra-presentation/ui/web/src/main/java/fr/inra/prodinra/presentation/ui/web/client/Application.java' > [ERROR] Line 59: No source code is available for type > fr.inra.prodinra.common.modele.produit.Produit; did you forget to inherit a > required module? > [ERROR] Line 60: No source code is available for type > fr.inra.prodinra.services.model.ecm.Notice; did you forget to inherit a > required module? > Compiling module fr.inra.prodinra.presentation.ui.web.Application > Computing all possible rebind results for > 'fr.inra.prodinra.presentation.ui.web.client.Application' > Rebinding fr.inra.prodinra.presentation.ui.web.client.Application > Checking rule <generate-with > class='com.extjs.gxt.ui.rebind.core.BeanModelGenerator'/> > [ERROR] Unable to find type > 'fr.inra.prodinra.presentation.ui.web.client.Application' > [ERROR] Hint: Previous compiler errors may have made this type > unavailable > [ERROR] Hint: Check the inheritance chain from your module; it > may not be inheriting a required module or a module may not be adding its > source path > entries properly > [ERROR] Build failed > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------* > > > After modifiying my pom using your configuration, could I add something in > MyApplication.gwt.xml file ? > > If you have a real example for my problem is it possible to send it for me > ? > > > Thanks > dialloma > > 2009/3/2 Brian Cribbs <briancri...@gmail.com> > >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-dependency-plugin</artifactId> >> <configuration> >> <excludes>**/*.class</excludes> >> </configuration> >> <executions> >> <execution> >> <id>unpack</id> >> <phase>process-sources</phase> >> <goals> >> <goal>unpack</goal> >> </goals> >> <configuration> >> <artifactItems> >> <artifactItem> >> <groupId>com.google.gwt</groupId> >> <artifactId>gwt-dev</artifactId> >> <version>${gwtVersion}</version> >> >> <classifier>${platform}-libs</classifier> >> <type>zip</type> >> <overWrite>false</overWrite> >> >> <outputDirectory>${settings.localRepository}/com/google/gwt/gwt-dev/${gwtVersion}</outputDirectory> >> </artifactItem> >> <artifactItem> >> <groupId>com.fuzebox</groupId> >> <artifactId>dataobjects</artifactId> >> <version>${parent.version}</version> >> <type>jar</type> >> <overWrite>false</overWrite> >> <outputDirectory>src/main/java</outputDirectory> >> </artifactItem> >> </artifactItems> >> </configuration> >> </execution> >> </executions> >> </plugin> >> >> >> On Mon, Mar 2, 2009 at 9:40 AM, Mamadou Alimou DIALLO <malim...@gmail.com >> > wrote: >> >>> Sorry Brian , >>> >>> Please do you have a exemple ? >>> >>> Thanks >>> dialloma >>> >>> 2009/3/2 Brian Cribbs <briancri...@gmail.com> >>> >>> It's kind of a giant pain in the ass. You have to change your jar file >>>> to include the sources. Then in the project you want to use the jar file >>>> in >>>> you have to use the maven resources plugin to unpack the java files into >>>> the >>>> project structure. >>>> >>>> On Mon, Mar 2, 2009 at 7:52 AM, Mamadou Alimou DIALLO < >>>> malim...@gmail.com> wrote: >>>> >>>>> Yes I did this: >>>>> >>>>> *<build> >>>>> <!-- Include SOURCE in output artifact for GWT (GWT libraries >>>>> must include source) --> >>>>> <resources> >>>>> <resource> >>>>> <directory>src/main/java</directory> >>>>> </resource> >>>>> </resources> >>>>> </build>* >>>>> >>>>> >>>>> 2009/3/2 Mamadou Alimou DIALLO <malim...@gmail.com> >>>>> >>>>> Do you mean some think like this ? >>>>>> >>>>>> *<build> >>>>>> <!-- Include SOURCE in output artifact for GWT (GWT libraries >>>>>> must include source) --> >>>>>> <resources> >>>>>> <resource> >>>>>> <directory>src/main/java</directory> >>>>>> </resource> >>>>>> </resources> >>>>>> </build>* >>>>>> >>>>>> >>>>>> >>>>>> 2009/3/2 Jan Ehrhardt <jan.ehrha...@googlemail.com> >>>>>> >>>>>> Did you configure your Beans-Module to include sources in the JAR? >>>>>>> >>>>>>> Regards >>>>>>> Jan Ehrhardt >>>>>>> >>>>>>> >>>>>>> On Mon, Mar 2, 2009 at 1:40 PM, Mamadou Alimou DIALLO < >>>>>>> malim...@gmail.com> wrote: >>>>>>> >>>>>>>> Hello group, >>>>>>>> >>>>>>>> I have created my GWT application using maven plugin. It works. But >>>>>>>> I use it in a big entreprise application. So I have others modules that >>>>>>>> contains beans classes wich should be used by GWT module and others >>>>>>>> modules. >>>>>>>> I added the dependances in my GWT module POM.xml. But when I use my >>>>>>>> beans >>>>>>>> classes, I get some errors when packaging the GWT module. Here is my >>>>>>>> project >>>>>>>> architecture: >>>>>>>> >>>>>>>> *parent---- >>>>>>>> | >>>>>>>> |----GWT-Module >>>>>>>> |----Beans-Module* >>>>>>>> >>>>>>>> Please Do you have an example to do this. >>>>>>>> >>>>>>>> Thanks in advance >>>>>>>> dialloma >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Cordialement, >>>>>> DIALLO M. Alimou >>>>>> http://dialloma.blogspot.com/ >>>>>> Cel. 00336 13 39 81 88 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Cordialement, >>>>> DIALLO M. Alimou >>>>> http://dialloma.blogspot.com/ >>>>> Cel. 00336 13 39 81 88 >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Cordialement, >>> DIALLO M. Alimou >>> http://dialloma.blogspot.com/ >>> Cel. 00336 13 39 81 88 >>> >>> >>> >> >> >> > > > -- > Cordialement, > DIALLO M. Alimou > http://dialloma.blogspot.com/ > Cel. 00336 13 39 81 88 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" group. To post to this group, send email to gwt-maven@googlegroups.com To unsubscribe from this group, send email to gwt-maven+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---