How to change the label drawn from ECS?

xiaoxiao2021-03-06  14

Tag's description language is often selected by Apache's ECS package, and the page drawn by ECS is often very ugly, come and see their mailing list.

On Thursday, November 15, 2001, AT 08:59 PM, McDowell, Mark Wrote:> Is There a Way To Have Pretty Print Set To True by Default? I Want> It On For All My Objects ... Hi Markyou CAN Set the pretty print property in the ecs properties file you used.you can either roll your own custom jar, replacing the ecs.properties file with your custom one (this will change your defaults) or you can specify a custom ecs properties file using the ecs .properties system proty.see the javadocs for org.apache.ecs.ecsdefaults for more details.- Robert

OK! This is the solution! However, you need to modify the files in the ECS.jar package ECS.Properties

PRETTY_PRINT = FALSE Change to Pretty_Print = True

These, but the latest ECS version seems to have changed the class of ECSDefaults, adding the SETXXX method that should be changed.

转载请注明原文地址:https://www.9cbs.com/read-46037.html

New Post(0)