Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Finding Together control center installation directory

1 view
Skip to first unread message

Mithun

unread,
Jan 16, 2006, 1:52:41 AM1/16/06
to

Hi all,
How can I find the installtion directory of Borland's Together control center programmatically using Java?


ElenaA

unread,
Jan 16, 2006, 7:46:26 AM1/16/06
to
do you mean a possibility to get Tg installation folder from a module? There
are 2 ways of doing this:

com.togethersoft.openapi.ide.IdeManager manager =
com.togethersoft.openapi.ide.IdeManagerAccess.getManager();
// 1: installation folder can be obtained via getHomeDirectory()
method
String tg_home = manager.getHomeDirectory();
System.out.println("Together is installed to " + tg_home);
// 2: folder can be obtained by expanding $TOGETHER_HOME$ macro
String expanded = manager.expandMacros(null, "$TOGETHER_HOME$");
System.out.println("TGH= " + expanded);


See openAPI docs for more info


"Mithun" <mit...@ecanarys.com> wrote in message
news:43cb50c9$1...@newsgroups.borland.com...

SLS

unread,
Feb 27, 2006, 3:24:10 AM2/27/06
to

A test......
0 new messages