Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC tuning up

 
Carol Murphy
village idiot
Bartender
Posts: 1202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm finally getting the JDBC assignments transferred over to WindowsXP from Windows98, and in the process, also managed to install the jre1.6.0_05. So when I tried to do the ffbuild, I got a complaint that tools.jar was missing. Took care of that. Now on the second try, I get a complaint that db.driver.jar must be defined, preferably in config/Owner.properties. So I check javaranch.com/props, and it says I can define my build propeties in one 3 places. I have mine in my home directory, but I would like to do the preferred method. So, 2 questions:

1) The userid would be the userid I use to logon to Windows?
(which I don't use, so I'm not sure what it is.......)
2) The content of my build.properties file must be lacking the
definiton of db.driver.jar, so I'd have to add that anyway, even
if I left build.properties where it is...
The current contents of my build.properties file contains the following 2 lines:

deploy.dir=/Program Files/orion/applications
sql.dir=/Program Files/Java/videos/src/db

I need to add the location of db.driver.jar to these ?
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
userid/password is the userid/password for mySql. You might remember reading this thread long ago.

My properties file does not contain the sql.dir property.
You can also define a property as empty by leaving it blank after the equals sign (e.g. db.password= )
 
Carol Murphy
village idiot
Bartender
Posts: 1202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Marilyn!
Defining all the missing properties with just an equals sign worked.....
At least for now.
The build was successful. Had to go back to work today, so my time is at a premium again. Will look at this tomorrow when I'm fresh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic