[ http://issues.apache.org/jira/browse/NUTCH-210?page=all ]
Jerome Charron updated NUTCH-210:
---------------------------------
Attachment: NUTCH-210.060325.patch
I Chris,
I made some minor changes to your patch (see my attached patch
NUTCH-210.060325.patch):
* Refactoring of the xsl code, and add "query.*" properties to the nutch.xml
* Remove the JspUtil class and move the code to a
NutchConfiguration.get(ServletContext) method.
I used this patch => very usefull, I like it.
If no objections about it, I will commit it in the next few days.
Thanks Chris
Jérôme
> Context.xml file for Nutch web application
> ------------------------------------------
>
> Key: NUTCH-210
> URL: http://issues.apache.org/jira/browse/NUTCH-210
> Project: Nutch
> Type: Improvement
> Components: web gui
> Versions: 0.7.1, 0.7, 0.6, 0.7.2-dev, 0.8-dev
> Environment: iMAC G5 2.3 Ghz, Mac OS X Tiger (10.4.3), 1.5 GB RAM, although
> improvement is independent of environment
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Priority: Minor
> Fix For: 0.7.2-dev, 0.8-dev, 0.7.1
> Attachments: NUTCH-210.060325.patch, NUTCH-210.Mattmann.patch.txt
>
> Currently the nutch web gui references a few parameters that are highly
> dynamic, e.g., searcher.dir. These dynamic properties are read from the
> configuration files, such as nutch-default.xml. One problem I'm noticing
> however is that in order to change the parameter in the built webapp (the WAR
> file), I am required to change the parameter first in the checked out Nutch
> source tree, rebuild the webapp, then redploy. Or, if I'm feeling really
> gutsty, I can go poke around in the unpackaged WAR file if the servlet
> container exposes it to me, and try and modify the nutch-default.xml file
> that way. However, I think that it would be really nice (and highly useful
> for that matter) to factor out some of the more dynamic parameters of the web
> application into a separate deliverable Context.xml file that would accompany
> the webapp. The Context.xml file would be deployed in the webapps directory,
> as oppossed to the WAR file itself, and the parameters could be updated
> there, and changed as many times as necessary, without rebuilding the WAR
> file.
> Of course this will involve making minor modifications in the web GUI to
> where some of the dynamic parameters are read from (i.e., make it read them
> from the Context.xml file (using application.getParameter most likely). Right
> now the only one I can think of is searcher.dir, but I'm sure that there are
> others (in particular the searcher.dir one is the most annoying for me).
> The timeframe on this patch will be within the next month.
> Thanks,
> Chris
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers