On 09/12/2009 10:41 AM, PJ Gray wrote: > So maybe I am not fully understanding the versioning situation. > > I did some research last night, and attempted to get my project under > source control, without any luck. It appears to me that I am required > to use Subclipse as my subversion client because of some special way > that Eclipse handles projects?
I don't think so. I think Subclipse is popular because it's a good Subversion client. However, there may be other Eclipse Subversion clients. > If that is the case, then I suppose > I'll take my question to an Eclipse-specific forum. > However, it seems like I should be able to use whatever client I want! Probably not in the way that I think you mean that statement. Eclipse SVN clients are designed to integrate into the Eclipse environment. It's not really a matter of bolting-on any SVN client. IDE users expect the functional bar to be set higher than that. I have to admit that I don't know Versions, but even if it is a GUI, and there is no Eclipse plugin, it's only going to work as an external to Eclipse. If you reeeeely want to stick with Versions, you'll have to figure out why Eclipse lost its mind when the source went into SVN. > However, when I would add things mentioned in these emails to source > control on my desktop, then checkout on my laptop, the GWT project was > no longer listed in the Eclipse workspace. Even when I added everything > in the hidden folders to source control, it still wasn't listed in the > workspace. I couldn't find the "special sauce" that told Eclipse that > my project was part of the workspace, and how it was configured. Just to be clear: you ADDed the source of an existing Eclipse project to Subversion via Versions? I'm guessing that somehow that shifted the project contents underneath Eclipse, and it got confused. But, I can't really tell from this description. It sounds like the next step is to get a working Eclipse project back. I'd checkout the SVN source and then import it as an existing project (since you added the Eclipse .project and .settings/ to SVN) You're right, this is not a GWT-related topic. You have to tell Eclipse where to find your SVN repository. To do that, you'll have to install an Eclipse SVN plugin. If you don't want to do that, you'll have to manage your repository outside Eclipse, and figure out why Eclipse lost the project after adding that project to the repository. If you decide to use Subclipse, be sure to understand that to get the best performance, you must install the JavaHL library. The Subclipse client will work w/o JavaHL, but it will lack some features. The Subclipse wiki goes into detail about that issue. > > Unless someone has a link or solution, I'll take this to a > Eclipse-specific forum...the more I think about it, the more I figure it > is not a GWT or GWT Plugin question at all. > > -pj > > > > > On Fri, Sep 11, 2009 at 1:54 PM, Rajeev Dayal <[email protected] > <mailto:[email protected]>> wrote: > > Hi Jeff, > > I admit that this is confusing, as the war folder is treated as both > an input and output folder. > > I think that the above recommendations are good. You should version > everything in the war folder, except for those artifacts that are > automatically generated from your source. Artifacts that are > generated from your source are: > > war/WEB-INF/classes (by Eclipse's java compiler) > war/<module name> (by GWT's compiler) > > If you see any other artifacts and wonder whether or not they should > be versioned, please post back here. > > > Rajeev > > On Fri, Sep 11, 2009 at 11:43 AM, Jarda <[email protected] > <mailto:[email protected]>> wrote: > > > folders under war that i don't have under version control: > war/project > war/WEB-INF/classes > > On Sep 11, 3:32 am, PJ Gray <[email protected] > <mailto:[email protected]>> wrote: > > I am new to GWT and I have been using the plugin in Eclipse. > I have written > > my first project, and feel confident in using the toolkit now. > And I feel > > fairly comfortable using subversion (I use the awesome > 'Versions' client). > > I wouldn't say I am an expert, as it always seems to 'just > work' so I never > > really have to troubleshoot much. > > > > However, I am struggling trying to find documentation on how, > exactly, to > > get my GWT/Eclipse project into subversion. I did a simple > 'add' from the > > top level (src/war) directories. However, that imported > thousands of files, > > way more than I thought should be checked in. As I looked > closer, I figure > > I must need to separate out the src from the compiled > javascript...that > > seems obvious. However, it is unclear what exactly in the > war directory > > needs to be under source control and what is compiled or changes > > regularly. > > > > I did some investigation, googling and whatnot, but I really > only found > > websites complaining that with 1.6 the war directory got > "polluted" and a > > few people had workarounds, but usually they either didn't > work completely, > > or were using components that I wasn't. > > > > So whats the simple answer here? I am using 1.7, is there a > doc or webpage > > that explains what I should be keeping in source control? Why > is there no > > "output" folder, or is that what the 'war' folder is supposed > to be? > > > > Any help would be appreciated, I realize this might be basic > 101 stuff to > > alot of you, so I apologize if it has been answered a million > times...just > > include a link with your snarky "RTFM" comment and I'll be happy! > > > > -pj graywww.saygoodnight.com <http://graywww.saygoodnight.com> > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
