File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Cattle Drive and the fly likes JDBC tuning up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "JDBC tuning up" Watch "JDBC tuning up" New topic
Author

JDBC tuning up

Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1187
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

Joined: Jul 22, 2000
Posts: 9043
    
  10
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= )


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1187
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC tuning up
 
Similar Threads
To Students on JDBC Assignment 2a
copy environment specific property files using ant
Encrypting ANT build.xml file
"JAVA_HOME/bin"... Directory help
using classpath when executing a jar