Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP saves configurations in plugin's folder
TPTP saves configurations in plugin's folder [message #136295] Thu, 25 September 2008 10:14 Go to next message
igor  is currently offline igor
Messages: 4
Registered: July 2009
Junior Member
I found out yesterday very interesting feature of TPTP. If TPTP is
installed and if at least one time profiler had been run you can't rename
folder where eclipse is located. As I found out TPTP saves it's parameter
in plugin's folder in file pluginconfig.xml. For example

<?xml version="1.0" encoding="UTF-8"?>
<PluginConfiguration requires="org.eclipse.hyades.execution,
org.eclipse.hyades.logging.core">
<AgentControllerEnvironment configuration="default">
<Variable name="CLASSPATH" position="prepend"
value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.collection.framewor k_4.2.200.v200804150100\hcframe.jar "/>
<Variable
name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
position="append"
value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.collection.framewor k_4.2.200.v200804150100\hcframe.jar "/>
<Variable
name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
position="append"
value=" C:\eclipses\work\plugins\org.eclipse.tptp.platform.collectio n.framework_4.2.200.v200804150100\config.jar "/>
<Variable
name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
position="append"
value=" C:\eclipses\work\plugins\org.eclipse.tptp.platform.collectio n.framework_4.2.200.v200804150100\hcframe.jar "/>
</AgentControllerEnvironment>
<Agent client="DYNAMIC" configuration="default" dataChannelSize="64M"
name="Java Profiling Agent" type="Profiler"/>
<Option name="Thread Analysis Agent" type="Profiler" value="hcthread"/>
<Option name="org.eclipse.tptp.platform.collection.framework"
type="version" value="4.2.200.v200804150100"/>
</PluginConfiguration>

As you can see some paths are hard coded and after moving eclipse to
another folder or renaming eclipse containing folder TPTP doesn't work. If
you try to profile anything you will get forever pending "Profile on ..."
dialog

This problem can be bypassed by removing all configuration files which
contain path information.
Re: TPTP saves configurations in plugin's folder [message #136435 is a reply to message #136295] Fri, 26 September 2008 21:15 Go to previous message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Igor,

This problem is recently fixed in TPTP 4.51 with bug
https://bugs.eclipse.org/245285, please refresh your driver to pick up the
latest version of TPTP to resolve this problem.

Eugene

"Igor Lyashchevskiy" <igorlash@gmail.com> wrote in message
news:9ca57a66e44e852ee48409fca2615f64$1@www.eclipse.org...
>I found out yesterday very interesting feature of TPTP. If TPTP is
>installed and if at least one time profiler had been run you can't rename
>folder where eclipse is located. As I found out TPTP saves it's parameter
>in plugin's folder in file pluginconfig.xml. For example
> <?xml version="1.0" encoding="UTF-8"?>
> <PluginConfiguration requires="org.eclipse.hyades.execution,
> org.eclipse.hyades.logging.core">
> <AgentControllerEnvironment configuration="default">
> <Variable name="CLASSPATH" position="prepend"
> value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.collection.framewor k_4.2.200.v200804150100\hcframe.jar "/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
> position="append"
> value=" %PLUGINS_HOME%\org.eclipse.tptp.platform.collection.framewor k_4.2.200.v200804150100\hcframe.jar "/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
> position="append"
> value=" C:\eclipses\work\plugins\org.eclipse.tptp.platform.collectio n.framework_4.2.200.v200804150100\config.jar "/>
> <Variable name="CLASSPATH_ORG_ECLIPSE_TPTP_PLATFORM_COLLECTION_FRAMEWORK "
> position="append"
> value=" C:\eclipses\work\plugins\org.eclipse.tptp.platform.collectio n.framework_4.2.200.v200804150100\hcframe.jar "/>
> </AgentControllerEnvironment>
> <Agent client="DYNAMIC" configuration="default" dataChannelSize="64M"
> name="Java Profiling Agent" type="Profiler"/>
> <Option name="Thread Analysis Agent" type="Profiler" value="hcthread"/>
> <Option name="org.eclipse.tptp.platform.collection.framework"
> type="version" value="4.2.200.v200804150100"/>
> </PluginConfiguration>
>
> As you can see some paths are hard coded and after moving eclipse to
> another folder or renaming eclipse containing folder TPTP doesn't work. If
> you try to profile anything you will get forever pending "Profile on ..."
> dialog
> This problem can be bypassed by removing all configuration files which
> contain path information.
>
Previous Topic:problem with AGR
Next Topic:tracing execution
Goto Forum:
  


Current Time: Thu Oct 23 15:54:26 GMT 2014

Powered by FUDForum. Page generated in 0.01786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software