Share

Heritrix: Internet Archive Web Crawler

Tracker: Feature Requests

5 [contrib] allow to specify alternative conf location - ID: 1545847
Last Update: Comment added ( karl-ia )

Dear Internet Archive Team,

to resolve my own request [1485819] I hereby provide a
way to tell Heritrix an alternative location of the
conf folder.
After this patch the cmdline is parsed for a
heritrix.conf setting and if present, this is used to
override the default HERITIX_HOME/conf setting.

With this patch things get alot easier when you
regularly test new patched versions of heritrix as you
don't have to tweak the configs/profiles each and every
time again - you can simply store them in a seperate
folder and just direct heritrix to use them.

Any comments are welcome
Olaf Freyer


Olaf Freyer ( pandae ) - 2006-08-24 10:09

5

Closed

None

Michael Stack

Configuration

1.10.0

Public


Comments ( 2 )

Date: 2007-03-14 01:50
Sender: karl-ia


This issue is now discussed in the new JIRA tracker at
http://webteam.archive.org/jira/browse/HER-1042 -- please add further
comments at that location.


Date: 2006-08-25 03:29
Sender: stack-sfProject Admin

Logged In: YES
user_id=924942

Committed after removing tabs. I also made if fall back on
default if specified dir does not exist.

Thanks for the contrib. Olaf.

Closing because doesn't default behavior is unchanged.

Here's the commit:

Apply patch in '[ 1545847 ] [contrib] allow to specify
alternative conf location'
Contributed by Olaf Freyer aaron667 at gmx dot net
* src/java/org/archive/crawler/Heritrix.java
Remove tabs.
(getConfDir): Look for system property 'heritrix.conf'
and use file it
points to if it exists otherwise fall back on default
$HERITRIX_CONF/conf dir.



Attached File ( 1 )

Filename Description Download
conf_property.patch conf_property.patch Download

Changes ( 7 )

Field Old Value Date By
artifact_group_id 0.10.0 2006-09-08 03:13 gojomo
status_id Open 2006-08-25 03:29 stack-sf
category_id None 2006-08-25 03:29 stack-sf
assigned_to nobody 2006-08-25 03:29 stack-sf
close_date - 2006-08-25 03:29 stack-sf
artifact_group_id None 2006-08-25 03:29 stack-sf
File Added 190440: conf_property.patch 2006-08-24 10:09 pandae