In GWT 2.0, there will no longer be a platform-specific version of the
gwt-dev jar, so this problem will go away.
For now, one way to handle it would be to leave a reference to the
platform-specific jar in the project's classpath. The other developer will
need to modify the classpath and change out this entry to map to the
appropriate plaform-specific version.

Another way to handle it would be by defining a classpath variable, and
referencing that in your classpath. That way, the other developer does not
have to modify and files that are in source control.

In terms of .launch files, you should not have to worry about this. The
launch configuration should reference your project's classpath. As you
update your project's classpath, the .launch file will be updated
appropriately. So, you don't need to have separate .launch files for each
platform.


On Thu, Oct 1, 2009 at 7:03 PM, Mary-Anne Wolf <[email protected]> wrote:

>
> Folks?  I really could use some help on this.
>
> If it has already been discussed, please tell me where.
>
> Thanks.
>
> On Sep 30, 1:52 pm, Mary-Anne Wolf <[email protected]> wrote:
> > I am contributing to an Open Source project that uses GWT.
> > The primary developer works on Windows.
> > I work on Linux and OSX.
> > We are both using Eclipse.
> > I am hoping to keep the code common.
> >
> > The .launch configuration and the Project classpath currently
> > reference gwt-dev-windows.jar,
> > which clearly does not work on non-windows platforms.
> >
> > I assume that there must be a common way this situation is handled.
> >
> > Should I remove gwt-dev-windows.jar from the classpath of the Project?
> > Should I use a variable to define it?
> >
> > Should we have a separate .launch file for each platform?
> > Is there a way to tell a single .launch file to do different things
> > for each platform?
> >
> > I am surprised that this question is not addressed in a FAQ somewhere.
> > Or have I just not found it yet?
> >
> > Thanks,
> >
> > Mary-Anne
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to