Thanks for the input.

Right now, I'm using the Ant build script that is part of the Sample application, and it does
the connection the way you recommend. Actually, I don't know any other way to do it.
And I am starting Postgresql with the TCP/IP option; I can connect from my other machine using
psql without any trouble.


Darren Hartford wrote:

Heya Bob,
I have exact same setup minus Postgres (mysql here).  In my configuration, I keep the 
databaseURL with just the host and the database, then have the username and password 
be seperate properties in the Ant task (assuming you are using Ant or Maven build 
scripts).

<middlegen
databaseurl="postgresql://localhost/airline" username="aslak"
password="aslak"
...


I doubt it would be that simple, but you never know.  If it's a new Postgres install, 
maybe make sure the TCPIP Socket property is set to true?

-D



--

Bob Langford
Silicon Masters Consulting, Inc. 8207 Stone River Court, Richmond, VA 23235
phone: 804-674-1253 fax: 804-745-7803 http://www.silicon-masters.com/





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to