lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1866) Test bug - JettyWebappTest: plugin classes do not have access to webapp libs
Date Mon, 05 Apr 2010 22:00:27 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated SOLR-1866:
------------------------------

    Attachment: SOLR-1866.patch

Another possible fix. Simple - but includes some libs that don't actually end up in the webapp
as it uses all the libs in /lib

> Test bug - JettyWebappTest: plugin classes do not have access to webapp libs
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-1866
>                 URL: https://issues.apache.org/jira/browse/SOLR-1866
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: SOLR-1866.patch
>
>
> The JettyWebappTest straddles example and src/webapp in a way that the Plugin classloader's
parent WebappClassloader points to src/webapp which has no libs dir. This can cause problems
- eg its a problem with the current velocity setup - though the issue has been skirted by
removing slf logging references.
> Probably the best solution is to run off the webapp - but I wonder if its worth depending
on building the webapp for tests when all of them don't need it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message