Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Lucas Neves Martins
Another thing I've found out. The Eclipse IDE cache makes things a little difficult sometimes. So, when creating the other package, exporting the jar, etc, make sure you refresh all the projects. On 17 ago, 16:18, Lucas Neves Martins snown...@gmail.com wrote: I am not a GWT expert, but I don't

Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Thomas Broyer
On 14 août, 15:48, Claudemir Todo Bom claude...@gmail.com wrote: Is there a way to develop a reusable library side-by-side with another project? without using any jars? for example, i have a GWT in package com.example.application.client everything worked on it... then I added a new

Re: Creating and Importing GWT Independent Modules

2009-08-25 Thread Claudemir Todo Bom
On Aug 25, 12:17 pm, Thomas Broyer t.bro...@gmail.com wrote: On 14 août, 15:48, Claudemir  Todo Bom claude...@gmail.com wrote: ...or you can add your library's source folder as a linked source folder in your application project (no need to import the library's project in your app's project

Re: Creating and Importing GWT Independent Modules

2009-08-17 Thread Lucas Neves Martins
Yeah! It worked! Sorry for the waiting, there was a reshuffle and I was working in another project for a little while. But your step by step guide is very useful, and the discussion heped me too. I followed your steps and got the class acessible in the main project, but when I booted it, I got

Re: Creating and Importing GWT Independent Modules

2009-08-17 Thread Lucas Neves Martins
I am not a GWT expert, but I don't think this is possible. But if you want to make life easier you could use a ant task to automate those jar builds, copying, and classpath updating. With ant you can do most anything you could with a ShellScript, you know, java project wise. To help debugging,

Re: Creating and Importing GWT Independent Modules

2009-08-14 Thread Claudemir Todo Bom
Is there a way to develop a reusable library side-by-side with another project? without using any jars? for example, i have a GWT in package com.example.application.client everything worked on it... then I added a new package to my eclipse project, calling it com.example.utils (side question:

Re: Creating and Importing GWT Independent Modules

2009-08-06 Thread Sumit Chandel
Hi Bruno, Only code that can be cross-compiled into JavaScript should be used when performing a GWT compilation. If you've added the projectA JAR to the GWT compile launch configuration, have you made sure that the class imported from com.google.ProjectA is translatable and has been included in

Re: Creating and Importing GWT Independent Modules

2009-08-04 Thread Nuno
How to set that the compiler use the jar from the project A?? i've done everything, but now when i compile the code i get import com.google.projectA cannot be resolved if i remove or change the gwt.xml with a different name it complains that it does not find the xml, so i'm sure it is finding the

Re: Creating and Importing GWT Independent Modules

2009-08-03 Thread Sumit Chandel
Hi Lucas, You can follow the steps below to package an existing module, say module A defined in project A, that you want to reuse in another project, say project B that defines module B which itself defines an entrypoint class. 1) Create / move all the GWT code that you want to reuse in project

Re: Creating and Importing GWT Independent Modules

2009-07-31 Thread Lucas Neves Martins
Nope, Can anybody give a step-by-step ? On 29 jul, 10:49, Nuno brun...@gmail.com wrote: you dont need to do much thing for this... just create your gwt library project, you dont need to define any entrypoints. after, just click with your right button on your project, then export, then

Creating and Importing GWT Independent Modules

2009-07-29 Thread Lucas Neves Martins
I looked it up all over the internet, but I only found this link : http://developerlife.com/tutorials/?p=229 I need to create a .jar with gwt views (those .java in the client package) and then import it to other gwt project, much like they do with the SmartGwt api. How they did the SmartGwt

Re: Creating and Importing GWT Independent Modules

2009-07-29 Thread Nuno
you dont need to do much thing for this... just create your gwt library project, you dont need to define any entrypoints. after, just click with your right button on your project, then export, then select java package after you only need to import this jar on the other project you want to use