Developers RSS feed
JBidwatcher has been
 ...and loved it!
|
Configuration file options
These are the list of entries in the configuration files JBidWatch.cfg
and display.cfg.
display.cfg
display.cfg contains typical display information, including the
height, width, and X and Y locations of the JBidWatcher window. It
also contains the user-adjusted width of the various titlebars from
the program. Eventually, it will also include which titlebars are
enabled at all, the last sort order, and will be integrated into
JBidWatch.cfg, probably in an XML storage format.
Standard display options:
- height=###
The height of the window.
- width=###
The width of the window, typically the sum of the column header
sizes plus about 30.
- screeny=###
Where horizontally to place the window.
- screenx=###
Where vertically to place the window.
The last two options might end up being OS specific, in case
you use one config file for multiple OS's via file sharing or
something similar.
Column header sizes
The column headers are tab-specific, so you can adjust the
column widths per tab as you prefer. Each of the column names
is preceded by a tab name, to indicate that it's being set for
that tab. The tab names are 'current', 'complete', and
'selling'.
- Time\ left=###
The space is quoted by the load/save function, since this file
is loaded as a properties file from under Java.
- Winning=###
- Number=###
- Current=###
- Max=###
- Description=###
- High\ Bidder=###
- This field replaces 'seller' in the selling tab,
so you can see the high bidder for items you're
selling.
- Seller=###
In the case that more columns are added, they too will show up
here in this configuration file.
JBidWatch.cfg
JBidWatch.cfg contains program-specific configuration details, such
as outbound HTTP proxy settings, debugging settings, firewall
settings, behavior controls, browser-related data, and auction-site
specific data (like usernames, passwords, and special settings such
as 'adult auctions enabled').
- browser.launch.*
This actually is:
browser.launch.[osname]
which is retrieved from Java's System.getProperty("os.name")
function, truncated at the first space. e.g...
- browser.launch.Windows=[commands to launch the browser under Windows]
- browser.launch.Linux=[commands to launch the browser under Linux]
This option defaults to just 'netscape'.
- splash=[image file]
Image to use as a splash screen. jpeg and gif are the primary
formats supported.
Defaults to jbidwatch.jpg, a Jay bird with
binoculars.
- debugging=(true|false)
Is debugging turned on, or off. If it's on, you'll see a lot of
debugging messages in any console window you might have.
Defaults to false, no debugging.
- server.*
JBidWatcher can act like an HTTP server, and serve up
internal pages, showing the status of auctions, etc., over
the web if you want. You'll need to log into it when you
connect remotely (it uses basic authentication, so don't
expect security from eavesdroppers ), but then you can
view your auctions and set and clear snipes.
- server.enabled=(true|false)
If server.enabled is true, then JBidWatcher will act like
an HTTP server, and allow serving up a page that shows all
the auctions it's monitoring, and allow you to browse them
through the web.
Defaults to false, no internal web server.
- server.port=####
What port number to listen on.
Defaults to 9099.
- proxy.*
Some users need to set up an HTTP proxy to reach web sites in
the outside world. This set of configuration options allows
the user to point JBidWatcher to where it needs to go through
in order to reach the outside world. There are no defaults.
If you provide a host, you must provide a port. If you
provide a username, you must provide a password. (Providing a
username/password without a host/port is ignored, as it
doesn't make sense.)
- proxy.host=[HTTP proxy machine name or ip address]
This is the proxy server's hostname or IP address. This
field is required in order to make JBidWatcher use a proxy
to the outside world.
- proxy.port=[portnumber]
The port on the proxy server to connect to in order to make
HTTP requests to the outside world. This is also required,
as HTTP proxies vary in their listening port. Common ones
are at 80 and 8080.
- proxy.user=[username]
If authentication is necessary, you must provide a username
and password to give to the HTTP proxy.
- proxy.pass=[password]
The password to go through the HTTP proxy, if
authentication is required.
- firewall.*
If you are behind a SOCKS4/SOCKS5 firewall, this option
allows you to tell JBidWatcher how to get through it. These
are especially common in companies.
- firewall.host=[firewall machine name or IP address]
This is the machine name or IP address of your SOCKS
firewall machine. This is required if you want JBidWatcher
to use a SOCKS server.
- firewall.port=[port on firewall machine to talk to]
The firewall is listening on a particular port for socket
requests to connect to the outside world. This entry allows
you to set that port.
Defaults to 1080, the standard SOCKS port
number.
- [auction site name].user=[username]
Sets the username for a given auction site. For example,
ebay.user=cyberfox, yahoo.user=devulp.
- [auction site name].password=[password]
Sets the password for a given auction site. No examples here,
but it's in the same form as the .user version.
At some point the passwords will need to be encrypted with
a good encryption algorithm, and a 'overall password' will
need to be included, which is prompted for on startup,
decrypts them when loading, and re-encrypts on save. For
now, they're just plaintext, though.
- [auction site name].[other]=[anything]
This is used for auxilary auction site-related information. On
eBay, for instance, this is used to enable getting the adult
key and submitting it with page-loads. E.g.
ebay.adult=true
- limits.amount=[limit amount]
The amount of money to be used as a bidding limit. When
this feature is implemented, it will restrict the user from
bidding more than this amount in a 30 day period, as kept track
of by the program. Once auctions complete, any difference
between the high bid and the actual cost is available again to
bid with. In the bidding display, we'll probably include
code that says that a certain amount of money is left to bid
with.
- limits.enabled=[true|false]
Whether or not limits should be enabled... Once limits are
enabled and used once in bidding, this might become harder to
disable.
- snipemilliseconds=####
Number of milliseconds prior to auction close to snipe. For
example 30000 is 30 seconds, the default. 10000 is 10 seconds,
another commonly used value.
- auctions.savepath=[pathspec]
Gives the path specification (C:\Documents and
Settings\Administrator\.jbidwatcher\auctionsave) used to store
compressed, cached auction information. The location
defaults to the users home directory, then
.jbidwatcher[\/]auctionsave. If you change it, copy your
old files to the new location.
- updates.enabled=[true|false]
Whether or not to allow regular checking for updates for new
versions of JBidwatcher. If this is set to true, it will look
up a site once a day and check for a new version. If there is a
new version, it will let the user know. It won't download it
yet, but might provide a URL to browse-to to download it.
- updates.last=####
The last 'build time' that we know of, used to detect whether
the version on the server is newer or not.
- savefile=[filename]
The file name that the auctions information will be saved in.
Defaults to 'auctions.xml'. Configuring this differently
between different configuration files allows you to launch
JBidwatcher with different configuration files to run against
any given auction server as different users, for example.
JBidwatcher takes a configuration file name as a
parameter on the command line, which makes it extremely
configurable per-launch. This capability isn't really
available in the UI, as it's a very advanced feature.
- debugging=[true|false]
Enables or disables debugging in the program. If you have a
console display open when you run the program in debugging
mode, it will dump a great deal of information about its
activities out. This is especially useful when reporting bugs.
Debugging is forced on in pre-release versions. Sorry,
but pre-releases are for debugging.
-
doubleclick.action=[CopyURL|CopyID|Delete|Information|Update|Browse|Status|Bid|Snipe|Comment|View\
Comment|Cancel\ snipe|Copy]
Sets the default action for double-clicking on an auction in
all tables.
Morgan Schweers, Cyberfox!
Last modified: Sun Mar 24 02:34:10 PST 2002
|