Testing plugin-registry in my own branch

22 views
Skip to first unread message

Toshihiko Makita

unread,
Apr 2, 2020, 9:12:21 PM4/2/20
to DITA-OT Users
Hi,

I'm testing to add my plug-in to DITA-OT registry referencing the following guide:

Testing with a custom registry

I forked the registry from https://github.com/dita-ot/registry into mine and added com.antennahouse.wml.json in addPlugin branch.


Next I modified [DITA-OT]/config/configuration.properties.

# This file is part of the DITA Open Toolkit project.
#
# Copyright 2011 Jarno Elovirta
#
# See the accompanying LICENSE file for applicable license.
#DITA-OT configuration properties
default.cascade = merge
temp
-file-name-scheme = org.dita.dost.module.GenMapAndTopicListModule$DefaultTempFileScheme
#filter-attributes =
#flag-attributes =
cli
.color = true


# Integration
plugindirs
= plugins;demo
plugin
.ignores =
plugin
.order = org.dita.base org.oasis-open.dita.v1_3 org.oasis-open.dita.v1_2
registry
= https://github.com/ToshihikoMakita/registry/tree/addPlugin/


# PDF2 defaults
org
.dita.pdf2.i18n.enabled = true


However even the existing plug-in installation fails by following message:

PS D:\DITA-OT\dita-ot-3.4.1> ./bin/dita --install=com.elovirta.fo                                                                                    Failed to read registry configuration https://github.com/ToshihikoMakita/registry/tree/addPlugin/com.elovirta.fo.json: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
 at
[Source: (BufferedInputStream); line: 7, column: 2]
Added com.elovirta.fo
PS D
:\DITA-OT\dita-ot-3.4.1>    

I think this is not the problem of .json.

Could you give me any advise?

Regards,

/*--------------------------------------------------
 Toshihiko Makita
 Development Group. Antenna House, Inc. Ina Branch
 Web site:
 http://www.antenna.co.jp/
 http://www.antennahouse.com/
 --------------------------------------------------*/ 




Toshihiko Makita

unread,
Apr 2, 2020, 9:56:18 PM4/2/20
to DITA-OT Users
Solved!

Changed the URL to raw data one. Plug-in installation now works fine.



2020年4月3日金曜日 10時12分21秒 UTC+9 Toshihiko Makita:
Reply all
Reply to author
Forward
0 new messages