Hi, Pascal, On Feb 9, 2012, at 2:03 AM, Pascal Robert wrote:
> Hi Jerry, > > Please keep the questions on the mailing list so that others can benefit from > the conversation. Sorry, I meant to. My old Mail client would respond to the list automatically when I clicked reply. My new Mail client under Lion doesn't seem to do that. I didn't check the address before it went out. Won't happen again. >> Hi, Pascal, >> >> Thanks for the "welcome" note. It's nice to be back. And even more, thanks >> for the very useful URLs. >> >> Golipse worked perfectly (I think). I'm also following the >> >> http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation >> >> page to get this all working, as you recommended. I went through step 3 >> ("Link the Framework to WOlips through the properties configuration file"), >> then I tried to test everything with an old HelloWorld app. Remember, I'm a >> rank Eclipse noobie, so I could have done any number of things wrong, but >> when I selected the HelloWorld.java resource and chose Run As -> >> WOApplication from the context menu, > > You should do the Run As -> WOApplication on the Application class > (Application.java). Whoo boy, gotta get used to this Eclipse interface. I actually ran a pure Java "HelloWorld" app and didn't realize it till I read your note above. I think I tried to run it as a WOLips application and that's probably why it failed. In any case, I found a WOLipsTest application which ran fine when I did what you suggested. > >> the following panel popped up with the two buttons shown (enclosed in >> vertical bars): >> >> ================================================= >> 'Launching HelloWorld (1)' has encountered a problem. >> >> An internal error occurred during: "Launching HelloWorld (1)" >> >> | Details >> | | OK | >> ================================================= >> >> When I clicked the "Details" button, it said, >> >> "An internal error occurred during: 'Launching HelloWorld (1)'. >> java.lang.NullPointerException". >> >> However, there doesn't seem to be any way to relate that error message to >> anything in the app (e.g. offending class, line number, etc.). I clicked on >> the Console tab and it said, "No consoles to display at this time." The >> Problems tab indicates 200 warnings starting with several "Class is a raw >> type. References to generic type Class<T…" messages. Not a lot of help there. >> >> A second and much more general question is how to configure all the files >> that make up the several WO apps in the project that I'm converting. When >> using Xcode, I had a directory hierarchy that in simplified form looks as >> follows: >> >> ~/ >> Development/ >> ClientProjects/ >> Project1/ >> Project2/ >> Project3/ >> Project4/ >> etc. >> >> A couple of these projects are frameworks but most are applications. Wishing >> to retain that overall directory structure, how do I jam it into Eclipse. >> I've already added java package names to all my classes, gathered all the >> class source files into directory substructures (under a src directory) that >> reflect the package hierarchy, and so forth. > > You should put the Java classes to the "Sources" folder, not "src" or > something else, or else you will have to change the Ant tasks to build your > projects. Will do, thanks. > >> My question concerns the "workspace" directory that Eclipse seems to >> require. Must I insert a "workspace" directory between "ClientProjects" and >> each of the separate project directories? Can I instead establish a >> workspace directory somewhere else and have it reference these directories? > > A workspace don't need to have projects in it, it can contains a project that > is elsewhere than they workspace directory (on the file system). So on the > file system, you can have the hierarchy that you want to, and when you create > a new project, just say that you don't have to use the standard location and > put the path to ~/Development/ClientProjects That's great. Thanks, Pascal. Regards, Jerry >> What are best practices in this regard and what are some of the pros and >> cons of the various approaches. I don't seem to find a lot of information on >> that question anywhere. There just seems to be an underlying assumption that >> everything will go into a workspace directory. >> >> Any help would be much appreciated. >> >> Thanks, >> Jerry >> >> >> >> On Feb 8, 2012, at 1:40 PM, Pascal Robert wrote: >> >>> Hi Jerry (and welcome back) >>> >>> To install WOLips, you should use Golipse: >>> >>> https://github.com/downloads/rebeld/Golipse/Golipse.app_build_13.zip >>> >>> You will get Eclipse, WOLips + really useful Eclipse plugins. >>> >>> After that, you can follow those instructions: >>> >>> http://wiki.wocommunity.org/display/WONDER/Project+Wonder+Installation >>> >>> (you can skip the Eclipse and WOLips installation steps since you are going >>> to install them with Golipse). >>> >>> As for the migration, I didn't run XcodeMigration for a long time, but the >>> layout created by the migration is ok, your project should be fine unless >>> your Xcode project was really messy. >>> >>>> Hi all, >>>> >>>> After my long absence, I'm reduced to the level of a rank noobie! >>>> >>>> I've been working on a project for a few years in the backwaters of Xcode >>>> for reasons that are irrelevant here. >>>> >>>> I made an attempt to convert the project to Eclipse/WOLips about 7 months >>>> ago. I ran all the code through Pascal Robert's XcodeMigration tool and >>>> was just starting the builds in Eclipse, but the project was put on hold >>>> before that attempt was completed. With the project now restarting, we are >>>> definitely going through the Xcode->Eclipse conversion. >>>> >>>> Since I've been off the lists for so long, I'm no longer familiar with the >>>> most up-to-date information regarding the Xcode->Eclipse conversion. Can >>>> anyone point me to the most up to date messages in the lists, or web pages >>>> that would help me: >>>> >>>> * install the latest useful versions of Eclipse/WOLips >>>> >>>> * install the latest useful version of WO >>>> >>>> * install the latest version of Project Wonder that's compatible with the >>>> foregoing >>>> >>>> * find any existing tips and pointers to get all this working from an >>>> Xcode migration >>>> >>>> Any suggestions for an Eclipse beginner's guide/textbook would also be >>>> helpful. >>>> >>>> I have the following configuration on my MacBook Pro development machine: >>>> >>>> Mac OS X Lion >>>> WO v5.3.3 >>>> >>>> I was ready to download and install Eclipse 3.7.1, but wasn't sure which >>>> of the versions of Eclipse at Eclipse Downloads I should use and whether >>>> the latest version would be compatible, at this point, with WOLips and >>>> Project Wonder. >>>> >>>> Thanks, >>>> Jerry >>>> >>>> >>>> __ Jerry W. Walker, >>>> WebObjects Developer/Instructor for High Performance Industrial Strength >>>> Internet Enabled Systems >>>> >>>> [email protected] >>>> 203 278-4085 office >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list ([email protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca >>>> >>>> This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
