• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC tuning up

 
village idiot
Posts: 1208
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 1208
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic