Dear Juan,

Thank you very much, but I'm still confused. I think I need more clarification.

> You need to add dependency jar in your pom.xml (with classifier) and define
> a xml module. For example I add jsr330 to my project in this way:
> Add sources to classpath:
> <dependency>
> <groupId>javax.inject</groupId>
> <artifactId>javax.inject</artifactId>
> <version>1</version>
> <classifier>sources</classifier>
> <scope>provided</scope>
> <type>jar</type>
> </dependency>

Done!

> Indicate to GWT that use them:
> In your module:
>        <!-- javax.inject -->
> <inherits name='javax.JSR330' />

Is there any naming convention? Beanutils looks like this in pom.xml
<dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>1.8.3</version>
            <classifier>sources</classifier>
        </dependency>
Following your example I should create something like this in the
WebClient.gwt.xml file

 <inherits name="commons.beanutils" />

> And I generate this file
> javax/JSR330.xml
> <module>
> <source path='inject' />
> <source path='persistence/metamodel' />
> </module>

At this point I feel lost. :)
Summarize what I understand from this.
My project gwt.xml file placed here:
com/sayusiando/java/dilib/DiLibWebClient.gwt.xml
Following your example I should create a directory named "commons"
something like this:
com/sayusiando/java/dilib/commons

And create a beanutils.gwt.xml file in this directory something like this
com/sayusiando/java/dilib/commons/beanutils.gwt.xml

And this file has to be contain something like this:
<module>
<source path='beanutils' />
</module>

According to this the whole beanutils source must be placed under the
"com/sayusiando/java/dilib/commons/beanutils/"
directory.

I don't understand why should I do the last two steps. My project has
a dependency to apache beanutils managed by maven, but my problem is
that according to gwt compiler there is no available source code of
apache beanutils. But this is not true because maven already
downloaded the source code but it's stored in a different file. I
assume the compiler doesn't know that

The whole case looks like for me a little bit hellish... because I
think the whole problem is rooted in that the maven repository doesn't
have that kind of jar which contains the compiled files and the source
code files as well which is deprecated for gwt compiler.

I think I have to watch an episod of Futurama to clear my mind!

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to