[Yanel-dev] Ambiguous file resolving if two resources are contained in the same jar file

Michael Wechner michael.wechner at wyona.com
Sat Jul 23 00:29:50 CEST 2011


On 7/22/11 5:20 PM, Michael Wechner wrote:
> Hi
>
> I have refactored the search/re-index resources such that these use 
> the same package.
>
> For all other similar cases I have added a bug entry
>
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8447
>
> The search/re-index works now for me locally using jar files (as 
> binary), but it still doesn't work
> properly on one of our servers. Will try to figure out what might be 
> the problem and keep you posted...

I think I have found the problem. Tomcat 5.0.30 on our server seems to 
extract the jar files into the work directory and the Java class 
src/core/java/org/wyona/yanel/core/ResourceTypeRegistry.java does only 
check for files called resource.xml instead resource-*.xml as well.

Whereas on my local machine the jar files are not extracted, but 
directly used, hence the difference.

The code even contains a TODO, but it didn't say what TODO exactly :-( I 
guess that's my bad, but it should be improved now soon.

Thanks

Michael



More information about the Yanel-development mailing list