Hi,
I'm trying to use the <zscript-config> element in WEB-INF/zk.xml to install
my own interpreter-class for the Java language.
However, this setting is not respected. When I placed a stack trace dump in
Interpreters.java's add method, I found that it is overwritten by the
<interpreter-class> setting that is part of the /metainfo/zk/config.xml
file that is bundled with zk.jar. (My zk.jar is in WEB-INF/libs). In other
words, the settings in zk.jar:/metainfo/zk/config.xml are read AFTER the
settings in zk.xml, making zk.xml useless.
How do I resolve this? Do I need to remove the /metainfo/zk/config.xml file
from zk.jar?
Thanks!
Nobody/Anonymous
General
2.4.1
Public
|
Date: 2008-11-19 01:06 thank you, Tom. |
|
Date: 2008-11-19 00:57 Workaround: |
|
Date: 2008-11-18 07:16 It was fixed since ZK 3.5 by introducing additional phase to parse |
|
Date: 2008-11-14 17:37 Please find attached the log I obtained if I add this code: |
|
Date: 2008-11-14 13:15 Did you place zk.jar in the WEB-INF/lib directory of your web application |
|
Date: 2008-11-14 07:20 Unable to replicate the problem. It works correctly. |
| Filename | Description | Download |
|---|---|---|
| log-of-wrong-initialization.txt | initialization log | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-11-18 07:16 | tomyeh |
| resolution_id | None | 2008-11-18 07:16 | tomyeh |
| close_date | - | 2008-11-18 07:16 | tomyeh |
| File Added | 301387: log-of-wrong-initialization.txt | 2008-11-14 17:37 | gback |
| artifact_group_id | 3.5.1 | 2008-11-14 17:37 | gback |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use