Issue 1 in jddclient: How to supply the jddclient.cong.xml file to a java program as a runtime arguement

0 views
Skip to first unread message

jddc...@googlecode.com

unread,
Mar 21, 2014, 3:34:46 AM3/21/14
to jddclien...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1 by kosuruse...@gmail.com: How to supply the jddclient.cong.xml
file to a java program as a runtime arguement
http://code.google.com/p/jddclient/issues/detail?id=1

I am starting the JDDClient in a stand alone java application. How to
supply the conf.xml file path as a parameter. If we start same in another
thread in this application then how to supply the same.

Thanks in Advance.

Regards
Sekhar.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

jddc...@googlecode.com

unread,
Mar 21, 2014, 1:56:55 PM3/21/14
to jddclien...@googlegroups.com
Updates:
Labels: -Type-Defect Type-Other

Comment #1 on issue 1 by hont...@flyordie.com: How to supply the
jddclient.cong.xml file to a java program as a runtime arguement
http://code.google.com/p/jddclient/issues/detail?id=1

If I understand you, you intend to embed jddclient into another
application. It was not designed for this, but it does not seem to be too
difficult to modify it. I assume that you do not want to use the original
jddclient command line to pass parameters.

The key class is jddclient.run.Initializer. It parses the command line and
also parses the configuration file. You only need its second function. I
would recommend to you to copy this class and modify it according to your
needs.
Reply all
Reply to author
Forward
0 new messages