Re: errors with inherited own module

2008-11-17 Thread pepgrifell

We are moving an existing project to GWT and the project has a lot of
sub-projects (JAR's) that use these classes. If I change the package
to be unique, I will have to change lots of classes that were using
classes in Keys.jar !!!

On 14 nov, 14:13, gregor [EMAIL PROTECTED] wrote:
 Hi Pepgrifell,



  I have read an old post saying that compiler is not trying to find
  classes from Keys.jar?aaa.bbb.ccc.ddd but finding classes of package
  aaa.bbb.ccc.ddd in all claspath.

 AFAIK that is correct. I think you need to use a unique package name
 for your shared GWT compatible classes to keep the GWT compiler away
 from your incompatible classes.

 regards
 gregor
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



errors with inherited own module

2008-11-14 Thread pepgrifell

hi,

In my gwt.xml file I inherit a module I created with GWT compatible
code. Let´s say, the inherited module is:

aaa.bbb.ccc
aaa.bbb.ccc.Keys.gwt.xml
aaa.bbb.ccc.ddd.SomeKeys.java

and Keys.gwt.xml:

module
   source path=ddd
  include name=**/*.java/
   /source
/module

Classes in this JAR (Keys.jar) are used as well from other JAR's in
the application.

From my main gwt.xml file (web app.) , I inherit this module:

inherits name=aaa.bbb.ccc.Keys /

And when compiling the code with GWT compiler, I get a lot of errors,
from Java classes that are not in module Keys but in web application
module. In web app. I have the package aaa.bbb.ccc.ddd as well.

I have read an old post saying that compiler is not trying to find
classes from Keys.jar?aaa.bbb.ccc.ddd but finding classes of package
aaa.bbb.ccc.ddd in all claspath.

If that's true that means that the package in Keys.jar must be unique,
or not used in other modules (jars,wars) where there are non-gwt
compatible classes ?

Is there another solution to solve this ?

Thanks !!!


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: errors with inherited own module

2008-11-14 Thread gregor

Hi Pepgrifell,


 I have read an old post saying that compiler is not trying to find
 classes from Keys.jar?aaa.bbb.ccc.ddd but finding classes of package
 aaa.bbb.ccc.ddd in all claspath.


AFAIK that is correct. I think you need to use a unique package name
for your shared GWT compatible classes to keep the GWT compiler away
from your incompatible classes.

regards
gregor

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---