Re: Connection to Postgresql...
Re: Connection to Postgresql...
- Subject: Re: Connection to Postgresql...
- From: Ramsey Lee Gurley <email@hidden>
- Date: Fri, 11 Dec 2009 00:30:17 -0500
On Dec 10, 2009, at 10:09 PM, Michael Andronov wrote:
> Ramsey -
>
> Thanks a lot for the informative reply.
> Following your message, I'm using -
> - OSX 10.6, Snow Leopard;
> - Eclipse 3.4.1
> - WOlips
> - WO 5.4.3
>
> Though I'm using WOlips, for some reason, I do not have any prototype
> within prototype field available. ( Like on your screen, for example.
> ( My guess is -- some wrong libraries are used somewhere? ).
Those are available through Wonder. Once you have ERPrototypes in your project's classpath, you get them automatically. You just have to choose the ones you want to use (^_^)
> About the Wonder project. I heard a lot about it. I even tried. I
> downloaded binary .tar.gz and followed instructions to
> unzip/extract... But I guess it is more than that in order to start to
> use it :)
I started out with the easy binary install method. All you have to do is unzip the binaries into your /Library/Frameworks/ directory and add the frameworks you want to use to your classpath. To add the frameworks to your classpath, right click on your project in the WOExplorer and choose "Build Path -> Configure Build Path"
Once you do that, choose the libraries tab and click the add library button. Select WebObjects Frameworks, hit next, and you should see the Wonder frameworks you dropped into your /Library/Frameworks/ directory listed there. Then all you need to do is add the ERExtensions, ERJars, ERPrototypes, and the PostgresqlPlugin frameworks to your classpath.
Once you do that, you should see the prototypes appear in your entity modeler. If you create a new Wonder App in eclipse, the only one you will need to add is the PostgresPlugin. I would recommend creating a new Wonder App just so you can see what is necessary to 'Wonderize' any app. You will notice you should extend ERXApplication, ERXSession, among other things.
>
> Also, I see a point in installing from source code -- it gaves the
> possibility to trace the code, if needed... So, I think I have to make
> to follow the 'installation from source' instructions. Thanks for the
> link.
It's okay to start with the binaries, but the source is more useful in the long run. If you're just getting started though, the binaries may be the way to go, simply because you won't need to conquer SVN and other topics right away. There's a big enough learning curve as it is. If you want to start with binaries, there's nothing wrong with that.
If you do go the SVN route, I would recommend you use Subclipse. It works great for me. You'll want the latest SVN to go with it. There's a mac installer for that here:
http://www.open.collab.net/downloads/community/
And the subclipse install info is
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
> So, I'll read the links you gave me, and I'll try again. ( Now, I
> have some ideas what to try....).
>
> Michael.
One last link ... (^_^)
http://developer.apple.com/legacy/mac/library/referencelibrary/GettingStarted/GS_WebObjects/index.html
That plus the tutorials on the wiki and the podcasts should keep you busy for a while (David LeBer's WO/WOLips/Wonder intro podcasts are a "must see").
Well, enjoy the reading! (^_^)
Ramsey
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden