Skip to main content



      Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Using command line parameters with IProces and new Agent Controller
Using command line parameters with IProces and new Agent Controller [message #46189] Mon, 12 December 2005 18:29 Go to next message
Eclipse UserFriend
Using the New Technology Agent Controller (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a process that takes a single command line parameter, but this parameter does not appear to be passed on.

The code, essentially stolen from the TPTPProcess.java sample, does something like this:

proc = agentController.createProcess();
proc.setExecutable("SampleTarget.exe");
proc.setParameter("2000");
proc.setLocation(".");
boolean b = proc.validateProcessToLaunch();
if(b){System.out.println("Validate Process - True"); /*_done=false;*/}
else{System.out.println("Validate Process - False");/*_done=false;*/}
console = proc.getConsole();
IDataProcessor dp = new ClientDataProcessor();
console.setDataProcessor(dp);
proc.launch();

The process is launched OK (validates true), but SampleTarget terminates, reporting that it does not have the required command line parameter.

The AgentController log shows that it has got the parameter OK:

- <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z" globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100" src="105"><startProcess iid="org.eclipse.tptp.processController"><launchInfo><Application executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>" severity="5" version="1.0.1">
<sourceComponentId component="ProcessController" componentIdType="TPTPComponent" componentType="Eclipse_TPTP" executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp, line 794" instanceId="100" location="Study" locationType="IPV4" processId="3068" subComponent="ProcessController" threadId="812" />
- <situation categoryName="ReportSituation">
<situationType reasoningScope="INTERNAL" reportCategory="LOG" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ReportSituation" />
</situation>
</CommonBaseEvent>

Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46218 is a reply to message #46189] Mon, 12 December 2005 18:41 Go to previous messageGo to next message
Eclipse UserFriend
David,
This is listed as a release note. I have the fix ready, I will be
checking the fix into CVS tonight.
If you can pick the daily build tomorrow morning - you will have the
necessary XML commands for launching a command.

Thanks,
Guru

David Read wrote:
> Using the New Technology Agent Controller
> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a process
> that takes a single command line parameter, but this parameter does not
> appear to be passed on.
>
> The code, essentially stolen from the TPTPProcess.java sample, does
> something like this:
>
> proc = agentController.createProcess();
> proc.setExecutable("SampleTarget.exe");
> proc.setParameter("2000");
> proc.setLocation(".");
> boolean b = proc.validateProcessToLaunch();
> if(b){System.out.println("Validate Process - True");
> /*_done=false;*/}
> else{System.out.println("Validate Process -
> False");/*_done=false;*/}
> console = proc.getConsole();
> IDataProcessor dp = new ClientDataProcessor();
> console.setDataProcessor(dp);
> proc.launch();
>
> The process is launched OK (validates true), but SampleTarget
> terminates, reporting that it does not have the required command line
> parameter.
>
> The AgentController log shows that it has got the parameter OK:
>
> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
> src="105"><startProcess
> iid="org.eclipse.tptp.processController"><launchInfo><Application
> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
> severity="5" version="1.0.1">
> <sourceComponentId component="ProcessController"
> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
> line 794" instanceId="100" location="Study" locationType="IPV4"
> processId="3068" subComponent="ProcessController" threadId="812" /> -
> <situation categoryName="ReportSituation">
> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:type="ReportSituation" /> </situation>
> </CommonBaseEvent>
>
> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46246 is a reply to message #46218] Mon, 12 December 2005 19:09 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Guru, that was quick :-)
I did search Bugzilla, but missed it somehow.

Another problem I'm having is setting the location where the executable is located on the target.
It works setting it to ".", but trying "C:\Temp" doesn't (also tried "C:\Temp\").
validateProcessToLaunch() fails with _validApp = false, and with _validWorkingDir = true.
(yes I have put the exe in there :-)

David


Guru Nagarajan wrote:
> David,
> This is listed as a release note. I have the fix ready, I will be
> checking the fix into CVS tonight.
> If you can pick the daily build tomorrow morning - you will have the
> necessary XML commands for launching a command.
>
> Thanks,
> Guru
>
> David Read wrote:
>
>> Using the New Technology Agent Controller
>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>> process that takes a single command line parameter, but this parameter
>> does not appear to be passed on.
>>
>> The code, essentially stolen from the TPTPProcess.java sample, does
>> something like this:
>>
>> proc = agentController.createProcess();
>> proc.setExecutable("SampleTarget.exe");
>> proc.setParameter("2000");
>> proc.setLocation(".");
>> boolean b = proc.validateProcessToLaunch();
>> if(b){System.out.println("Validate Process - True");
>> /*_done=false;*/}
>> else{System.out.println("Validate Process -
>> False");/*_done=false;*/}
>> console = proc.getConsole();
>> IDataProcessor dp = new ClientDataProcessor();
>> console.setDataProcessor(dp);
>> proc.launch();
>>
>> The process is launched OK (validates true), but SampleTarget
>> terminates, reporting that it does not have the required command line
>> parameter.
>>
>> The AgentController log shows that it has got the parameter OK:
>>
>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>> src="105"><startProcess
>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>> severity="5" version="1.0.1">
>> <sourceComponentId component="ProcessController"
>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>> line 794" instanceId="100" location="Study" locationType="IPV4"
>> processId="3068" subComponent="ProcessController" threadId="812" /> -
>> <situation categoryName="ReportSituation">
>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:type="ReportSituation" /> </situation>
>> </CommonBaseEvent>
>>
>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46276 is a reply to message #46246] Mon, 12 December 2005 23:25 Go to previous messageGo to next message
Eclipse UserFriend
David,
The fix is in.
As regards the setLocation you have to escape the "\".

Example:

IProcess proc = ac.createProcess();
proc.setExecutable("SampleClient.exe");
proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");

Thanks,
Guru

David Read wrote:
> Thanks Guru, that was quick :-)
> I did search Bugzilla, but missed it somehow.
>
> Another problem I'm having is setting the location where the executable
> is located on the target.
> It works setting it to ".", but trying "C:\Temp" doesn't (also tried
> "C:\Temp\").
> validateProcessToLaunch() fails with _validApp = false, and with
> _validWorkingDir = true.
> (yes I have put the exe in there :-)
>
> David
>
>
> Guru Nagarajan wrote:
>> David,
>> This is listed as a release note. I have the fix ready, I will be
>> checking the fix into CVS tonight.
>> If you can pick the daily build tomorrow morning - you will have the
>> necessary XML commands for launching a command.
>>
>> Thanks,
>> Guru
>>
>> David Read wrote:
>>
>>> Using the New Technology Agent Controller
>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>> process that takes a single command line parameter, but this
>>> parameter does not appear to be passed on.
>>>
>>> The code, essentially stolen from the TPTPProcess.java sample, does
>>> something like this:
>>>
>>> proc = agentController.createProcess();
>>> proc.setExecutable("SampleTarget.exe");
>>> proc.setParameter("2000");
>>> proc.setLocation(".");
>>> boolean b = proc.validateProcessToLaunch();
>>> if(b){System.out.println("Validate Process - True");
>>> /*_done=false;*/}
>>> else{System.out.println("Validate Process -
>>> False");/*_done=false;*/}
>>> console = proc.getConsole();
>>> IDataProcessor dp = new ClientDataProcessor();
>>> console.setDataProcessor(dp);
>>> proc.launch();
>>>
>>> The process is launched OK (validates true), but SampleTarget
>>> terminates, reporting that it does not have the required command line
>>> parameter.
>>>
>>> The AgentController log shows that it has got the parameter OK:
>>>
>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>> src="105"><startProcess
>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>> severity="5" version="1.0.1">
>>> <sourceComponentId component="ProcessController"
>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>> processId="3068" subComponent="ProcessController" threadId="812" /> -
>>> <situation categoryName="ReportSituation">
>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:type="ReportSituation" /> </situation>
>>> </CommonBaseEvent>
>>>
>>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46365 is a reply to message #46276] Tue, 13 December 2005 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Guru,
Is there a binary build with the fix in, or do I have to build it myself, and if so from where?. I could only find daily builds of TPTP 4.2.0.

As for the setLocation, I had already tried escaping the "\", but it didn't work.
A bit more background:
I am talking to the AC (the C++ "New Technology" one) from a Java client - actually an EMF generated model that picks up things like 'location' and exe names from properties.
Looking in the Eclipse debugger, just after doing a proc.launch(), I can see:

_ac= AgentController (id=73)
_agents= Vector<E> (id=530)
_console= null
_consoleDataConnectID= 0
_destID= 100
_eclipseLock= Object (id=531)
_exe= "SampleTarget.exe"
_isActive= false
_isComplt= false
_launcherLock= Object (id=532)
_listeners= Vector<E> (id=533)
_location= "C:\\\\Temp"
_name= null
_node= NodeImpl (id=105)
_noSuchAliasExceptionThrown= false
_param= "2000"
_processId= 0
_processInfo= null
_processListener= null
_requireEclipseLock= false
_srcID= -1
_UUID= null
_validApp= false
_validWorkingDir= true
_variables= Vector<E> (id=536)
TPTP_AC= true



This was using proc.setLocation("C:\\Temp");
If I use "C:\Temp" then _location= "C:\\Temp" so perhaps this is not the problem.

In your example, you show setting the location to "C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\", which is the equivalent of ".", because that is where the TPTPProcessController.exe is running from.

Have you ever tried a different location?

The only way I can get it to work (and get _validApp= true) is to put my exe in the bin directory.

David



Guru Nagarajan wrote:
> David,
> The fix is in.
> As regards the setLocation you have to escape the "\".
>
> Example:
>
> IProcess proc = ac.createProcess();
> proc.setExecutable("SampleClient.exe");
> proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");
>
> Thanks,
> Guru
>
> David Read wrote:
>
>> Thanks Guru, that was quick :-)
>> I did search Bugzilla, but missed it somehow.
>>
>> Another problem I'm having is setting the location where the
>> executable is located on the target.
>> It works setting it to ".", but trying "C:\Temp" doesn't (also tried
>> "C:\Temp\").
>> validateProcessToLaunch() fails with _validApp = false, and with
>> _validWorkingDir = true.
>> (yes I have put the exe in there :-)
>>
>> David
>>
>>
>> Guru Nagarajan wrote:
>>
>>> David,
>>> This is listed as a release note. I have the fix ready, I will be
>>> checking the fix into CVS tonight.
>>> If you can pick the daily build tomorrow morning - you will have the
>>> necessary XML commands for launching a command.
>>>
>>> Thanks,
>>> Guru
>>>
>>> David Read wrote:
>>>
>>>> Using the New Technology Agent Controller
>>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>>> process that takes a single command line parameter, but this
>>>> parameter does not appear to be passed on.
>>>>
>>>> The code, essentially stolen from the TPTPProcess.java sample, does
>>>> something like this:
>>>>
>>>> proc = agentController.createProcess();
>>>> proc.setExecutable("SampleTarget.exe");
>>>> proc.setParameter("2000");
>>>> proc.setLocation(".");
>>>> boolean b = proc.validateProcessToLaunch();
>>>> if(b){System.out.println("Validate Process - True");
>>>> /*_done=false;*/}
>>>> else{System.out.println("Validate Process -
>>>> False");/*_done=false;*/}
>>>> console = proc.getConsole();
>>>> IDataProcessor dp = new ClientDataProcessor();
>>>> console.setDataProcessor(dp);
>>>> proc.launch();
>>>>
>>>> The process is launched OK (validates true), but SampleTarget
>>>> terminates, reporting that it does not have the required command
>>>> line parameter.
>>>>
>>>> The AgentController log shows that it has got the parameter OK:
>>>>
>>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>>> src="105"><startProcess
>>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>>> severity="5" version="1.0.1">
>>>> <sourceComponentId component="ProcessController"
>>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>>> processId="3068" subComponent="ProcessController" threadId="812" />
>>>> - <situation categoryName="ReportSituation">
>>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xsi:type="ReportSituation" /> </situation>
>>>> </CommonBaseEvent>
>>>>
>>>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46396 is a reply to message #46365] Tue, 13 December 2005 12:51 Go to previous messageGo to next message
Eclipse UserFriend
David,
You are right - the workingDir is not getting picked and the
directory I used for my quick test was the bin dir.
The workaround is to "Concatenate" the location with the executable.
I have opened a bugzilla against this.

As regards the build - pls. pick up
http://eclipse.org/tptp/home/downloads/drops/TPTP-4.2.0-2005 12130100.html

Thanks,
Guru
David Read wrote:
> Guru,
> Is there a binary build with the fix in, or do I have to build it
> myself, and if so from where?. I could only find daily builds of TPTP
> 4.2.0.
>
> As for the setLocation, I had already tried escaping the "\", but it
> didn't work.
> A bit more background:
> I am talking to the AC (the C++ "New Technology" one) from a Java client
> - actually an EMF generated model that picks up things like 'location'
> and exe names from properties.
> Looking in the Eclipse debugger, just after doing a proc.launch(), I can
> see:
>
> _ac= AgentController (id=73)
> _agents= Vector<E> (id=530)
> _console= null
> _consoleDataConnectID= 0
> _destID= 100
> _eclipseLock= Object (id=531)
> _exe= "SampleTarget.exe"
> _isActive= false
> _isComplt= false
> _launcherLock= Object (id=532)
> _listeners= Vector<E> (id=533)
> _location= "C:\\\\Temp"
> _name= null
> _node= NodeImpl (id=105)
> _noSuchAliasExceptionThrown= false
> _param= "2000"
> _processId= 0
> _processInfo= null
> _processListener= null
> _requireEclipseLock= false
> _srcID= -1
> _UUID= null
> _validApp= false
> _validWorkingDir= true
> _variables= Vector<E> (id=536)
> TPTP_AC= true
>
>
>
> This was using proc.setLocation("C:\\Temp");
> If I use "C:\Temp" then _location= "C:\\Temp" so perhaps this is not the
> problem.
>
> In your example, you show setting the location to
> "C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\", which is the
> equivalent of ".", because that is where the TPTPProcessController.exe
> is running from.
>
> Have you ever tried a different location?
>
> The only way I can get it to work (and get _validApp= true) is to put my
> exe in the bin directory.
>
> David
>
>
>
> Guru Nagarajan wrote:
>> David,
>> The fix is in.
>> As regards the setLocation you have to escape the "\".
>>
>> Example:
>> IProcess proc = ac.createProcess();
>> proc.setExecutable("SampleClient.exe");
>> proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");
>>
>> Thanks,
>> Guru
>>
>> David Read wrote:
>>
>>> Thanks Guru, that was quick :-)
>>> I did search Bugzilla, but missed it somehow.
>>>
>>> Another problem I'm having is setting the location where the
>>> executable is located on the target.
>>> It works setting it to ".", but trying "C:\Temp" doesn't (also tried
>>> "C:\Temp\").
>>> validateProcessToLaunch() fails with _validApp = false, and with
>>> _validWorkingDir = true.
>>> (yes I have put the exe in there :-)
>>>
>>> David
>>>
>>>
>>> Guru Nagarajan wrote:
>>>
>>>> David,
>>>> This is listed as a release note. I have the fix ready, I will be
>>>> checking the fix into CVS tonight.
>>>> If you can pick the daily build tomorrow morning - you will have the
>>>> necessary XML commands for launching a command.
>>>>
>>>> Thanks,
>>>> Guru
>>>>
>>>> David Read wrote:
>>>>
>>>>> Using the New Technology Agent Controller
>>>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>>>> process that takes a single command line parameter, but this
>>>>> parameter does not appear to be passed on.
>>>>>
>>>>> The code, essentially stolen from the TPTPProcess.java sample, does
>>>>> something like this:
>>>>>
>>>>> proc = agentController.createProcess();
>>>>> proc.setExecutable("SampleTarget.exe");
>>>>> proc.setParameter("2000");
>>>>> proc.setLocation(".");
>>>>> boolean b = proc.validateProcessToLaunch();
>>>>> if(b){System.out.println("Validate Process - True");
>>>>> /*_done=false;*/}
>>>>> else{System.out.println("Validate Process -
>>>>> False");/*_done=false;*/}
>>>>> console = proc.getConsole();
>>>>> IDataProcessor dp = new ClientDataProcessor();
>>>>> console.setDataProcessor(dp);
>>>>> proc.launch();
>>>>>
>>>>> The process is launched OK (validates true), but SampleTarget
>>>>> terminates, reporting that it does not have the required command
>>>>> line parameter.
>>>>>
>>>>> The AgentController log shows that it has got the parameter OK:
>>>>>
>>>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>>>> src="105"><startProcess
>>>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>>>> severity="5" version="1.0.1">
>>>>> <sourceComponentId component="ProcessController"
>>>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>>>> processId="3068" subComponent="ProcessController" threadId="812" />
>>>>> - <situation categoryName="ReportSituation">
>>>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xsi:type="ReportSituation" /> </situation>
>>>>> </CommonBaseEvent>
>>>>>
>>>>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46514 is a reply to message #46396] Wed, 14 December 2005 07:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Guru,
Thanks, concatenating the location works.
Back to my original problem. I picked up the daily build, but the parameter is still not passed on to the target exe.
The prerequisites for the build say Eclipse 3.2.0 M3, and I'm still on 3.1.1, but I'm hoping this has nothing to do with it, as I only updated the Agent Controller.
I'm going to try using an environment variable, and pick it up using envp
Do you know if IProcess.appendEnvironmentVariable works?

David


Guru Nagarajan wrote:
> David,
> You are right - the workingDir is not getting picked and the directory
> I used for my quick test was the bin dir.
> The workaround is to "Concatenate" the location with the executable.
> I have opened a bugzilla against this.
>
> As regards the build - pls. pick up
> http://eclipse.org/tptp/home/downloads/drops/TPTP-4.2.0-2005 12130100.html
>
> Thanks,
> Guru
> David Read wrote:
>
>> Guru,
>> Is there a binary build with the fix in, or do I have to build it
>> myself, and if so from where?. I could only find daily builds of TPTP
>> 4.2.0.
>>
>> As for the setLocation, I had already tried escaping the "\", but it
>> didn't work.
>> A bit more background:
>> I am talking to the AC (the C++ "New Technology" one) from a Java
>> client - actually an EMF generated model that picks up things like
>> 'location' and exe names from properties.
>> Looking in the Eclipse debugger, just after doing a proc.launch(), I
>> can see:
>>
>> _ac= AgentController (id=73)
>> _agents= Vector<E> (id=530)
>> _console= null
>> _consoleDataConnectID= 0
>> _destID= 100
>> _eclipseLock= Object (id=531)
>> _exe= "SampleTarget.exe"
>> _isActive= false
>> _isComplt= false
>> _launcherLock= Object (id=532)
>> _listeners= Vector<E> (id=533)
>> _location= "C:\\\\Temp"
>> _name= null
>> _node= NodeImpl (id=105)
>> _noSuchAliasExceptionThrown= false
>> _param= "2000"
>> _processId= 0
>> _processInfo= null
>> _processListener= null
>> _requireEclipseLock= false
>> _srcID= -1
>> _UUID= null
>> _validApp= false
>> _validWorkingDir= true
>> _variables= Vector<E> (id=536)
>> TPTP_AC= true
>>
>>
>>
>> This was using proc.setLocation("C:\\Temp");
>> If I use "C:\Temp" then _location= "C:\\Temp" so perhaps this is not
>> the problem.
>>
>> In your example, you show setting the location to
>> "C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\", which is the
>> equivalent of ".", because that is where the TPTPProcessController.exe
>> is running from.
>>
>> Have you ever tried a different location?
>>
>> The only way I can get it to work (and get _validApp= true) is to put
>> my exe in the bin directory.
>>
>> David
>>
>>
>>
>> Guru Nagarajan wrote:
>>
>>> David,
>>> The fix is in.
>>> As regards the setLocation you have to escape the "\".
>>>
>>> Example:
>>> IProcess proc = ac.createProcess();
>>> proc.setExecutable("SampleClient.exe");
>>> proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");
>>>
>>> Thanks,
>>> Guru
>>>
>>> David Read wrote:
>>>
>>>> Thanks Guru, that was quick :-)
>>>> I did search Bugzilla, but missed it somehow.
>>>>
>>>> Another problem I'm having is setting the location where the
>>>> executable is located on the target.
>>>> It works setting it to ".", but trying "C:\Temp" doesn't (also tried
>>>> "C:\Temp\").
>>>> validateProcessToLaunch() fails with _validApp = false, and with
>>>> _validWorkingDir = true.
>>>> (yes I have put the exe in there :-)
>>>>
>>>> David
>>>>
>>>>
>>>> Guru Nagarajan wrote:
>>>>
>>>>> David,
>>>>> This is listed as a release note. I have the fix ready, I will be
>>>>> checking the fix into CVS tonight.
>>>>> If you can pick the daily build tomorrow morning - you will have
>>>>> the necessary XML commands for launching a command.
>>>>>
>>>>> Thanks,
>>>>> Guru
>>>>>
>>>>> David Read wrote:
>>>>>
>>>>>> Using the New Technology Agent Controller
>>>>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>>>>> process that takes a single command line parameter, but this
>>>>>> parameter does not appear to be passed on.
>>>>>>
>>>>>> The code, essentially stolen from the TPTPProcess.java sample,
>>>>>> does something like this:
>>>>>>
>>>>>> proc = agentController.createProcess();
>>>>>> proc.setExecutable("SampleTarget.exe");
>>>>>> proc.setParameter("2000");
>>>>>> proc.setLocation(".");
>>>>>> boolean b = proc.validateProcessToLaunch();
>>>>>> if(b){System.out.println("Validate Process - True");
>>>>>> /*_done=false;*/}
>>>>>> else{System.out.println("Validate Process -
>>>>>> False");/*_done=false;*/}
>>>>>> console = proc.getConsole();
>>>>>> IDataProcessor dp = new ClientDataProcessor();
>>>>>> console.setDataProcessor(dp);
>>>>>> proc.launch();
>>>>>>
>>>>>> The process is launched OK (validates true), but SampleTarget
>>>>>> terminates, reporting that it does not have the required command
>>>>>> line parameter.
>>>>>>
>>>>>> The AgentController log shows that it has got the parameter OK:
>>>>>>
>>>>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>>>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>>>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>>>>> src="105"><startProcess
>>>>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>>>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>>>>> severity="5" version="1.0.1">
>>>>>> <sourceComponentId component="ProcessController"
>>>>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>>>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>>>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>>>>> processId="3068" subComponent="ProcessController" threadId="812"
>>>>>> /> - <situation categoryName="ReportSituation">
>>>>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xsi:type="ReportSituation" /> </situation>
>>>>>> </CommonBaseEvent>
>>>>>>
>>>>>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46704 is a reply to message #46514] Wed, 14 December 2005 20:55 Go to previous messageGo to next message
Eclipse UserFriend
David,
I checked the code in for the parameters - I will test the daily build
tonight to make sure the fix got in.

The implementation to pass the env variable is not there in the 4.1 GA.

The workaround to have the processes launched with a specific
environment variable is in the AgentController - serviceconfig.xml file
located in the AC_Install/config directory.

Add the following XML fragment to the serviceconfig.xml file. Edit the
"Name" attribute to the name of your environment variable and attribute
"value" to contain the value of the env. variable. You can create a list
of a number of env. variables. For illustration I have created two
sample entries.
------------------------------------------------------------ ----------------
<AgentControllerEnvironment>
<Variable name="YOUR_ENV" value="/home/app" position="replace"/>
<Variable name="YOUR_APP_DEPENDENCY" value="/var/app" position="replace"/>
</AgentControllerEnvironment>
------------------------------------------------------------ -----------------

Thanks,
Guru

David Read wrote:
> Hi Guru,
> Thanks, concatenating the location works.
> Back to my original problem. I picked up the daily build, but the
> parameter is still not passed on to the target exe.
> The prerequisites for the build say Eclipse 3.2.0 M3, and I'm still on
> 3.1.1, but I'm hoping this has nothing to do with it, as I only updated
> the Agent Controller.
> I'm going to try using an environment variable, and pick it up using envp
> Do you know if IProcess.appendEnvironmentVariable works?
>
> David
>
>
> Guru Nagarajan wrote:
>> David,
>> You are right - the workingDir is not getting picked and the
>> directory I used for my quick test was the bin dir.
>> The workaround is to "Concatenate" the location with the executable.
>> I have opened a bugzilla against this.
>>
>> As regards the build - pls. pick up
>> http://eclipse.org/tptp/home/downloads/drops/TPTP-4.2.0-2005 12130100.html
>>
>> Thanks,
>> Guru
>> David Read wrote:
>>
>>> Guru,
>>> Is there a binary build with the fix in, or do I have to build it
>>> myself, and if so from where?. I could only find daily builds of TPTP
>>> 4.2.0.
>>>
>>> As for the setLocation, I had already tried escaping the "\", but it
>>> didn't work.
>>> A bit more background:
>>> I am talking to the AC (the C++ "New Technology" one) from a Java
>>> client - actually an EMF generated model that picks up things like
>>> 'location' and exe names from properties.
>>> Looking in the Eclipse debugger, just after doing a proc.launch(), I
>>> can see:
>>>
>>> _ac= AgentController (id=73)
>>> _agents= Vector<E> (id=530)
>>> _console= null
>>> _consoleDataConnectID= 0
>>> _destID= 100
>>> _eclipseLock= Object (id=531)
>>> _exe= "SampleTarget.exe"
>>> _isActive= false
>>> _isComplt= false
>>> _launcherLock= Object (id=532)
>>> _listeners= Vector<E> (id=533)
>>> _location= "C:\\\\Temp"
>>> _name= null
>>> _node= NodeImpl (id=105)
>>> _noSuchAliasExceptionThrown= false
>>> _param= "2000"
>>> _processId= 0
>>> _processInfo= null
>>> _processListener= null
>>> _requireEclipseLock= false
>>> _srcID= -1
>>> _UUID= null
>>> _validApp= false
>>> _validWorkingDir= true
>>> _variables= Vector<E> (id=536)
>>> TPTP_AC= true
>>>
>>>
>>>
>>> This was using proc.setLocation("C:\\Temp");
>>> If I use "C:\Temp" then _location= "C:\\Temp" so perhaps this is not
>>> the problem.
>>>
>>> In your example, you show setting the location to
>>> "C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\", which is the
>>> equivalent of ".", because that is where the
>>> TPTPProcessController.exe is running from.
>>>
>>> Have you ever tried a different location?
>>>
>>> The only way I can get it to work (and get _validApp= true) is to put
>>> my exe in the bin directory.
>>>
>>> David
>>>
>>>
>>>
>>> Guru Nagarajan wrote:
>>>
>>>> David,
>>>> The fix is in.
>>>> As regards the setLocation you have to escape the "\".
>>>>
>>>> Example:
>>>> IProcess proc = ac.createProcess();
>>>> proc.setExecutable("SampleClient.exe");
>>>> proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");
>>>>
>>>> Thanks,
>>>> Guru
>>>>
>>>> David Read wrote:
>>>>
>>>>> Thanks Guru, that was quick :-)
>>>>> I did search Bugzilla, but missed it somehow.
>>>>>
>>>>> Another problem I'm having is setting the location where the
>>>>> executable is located on the target.
>>>>> It works setting it to ".", but trying "C:\Temp" doesn't (also
>>>>> tried "C:\Temp\").
>>>>> validateProcessToLaunch() fails with _validApp = false, and with
>>>>> _validWorkingDir = true.
>>>>> (yes I have put the exe in there :-)
>>>>>
>>>>> David
>>>>>
>>>>>
>>>>> Guru Nagarajan wrote:
>>>>>
>>>>>> David,
>>>>>> This is listed as a release note. I have the fix ready, I will
>>>>>> be checking the fix into CVS tonight.
>>>>>> If you can pick the daily build tomorrow morning - you will have
>>>>>> the necessary XML commands for launching a command.
>>>>>>
>>>>>> Thanks,
>>>>>> Guru
>>>>>>
>>>>>> David Read wrote:
>>>>>>
>>>>>>> Using the New Technology Agent Controller
>>>>>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>>>>>> process that takes a single command line parameter, but this
>>>>>>> parameter does not appear to be passed on.
>>>>>>>
>>>>>>> The code, essentially stolen from the TPTPProcess.java sample,
>>>>>>> does something like this:
>>>>>>>
>>>>>>> proc = agentController.createProcess();
>>>>>>> proc.setExecutable("SampleTarget.exe");
>>>>>>> proc.setParameter("2000");
>>>>>>> proc.setLocation(".");
>>>>>>> boolean b = proc.validateProcessToLaunch();
>>>>>>> if(b){System.out.println("Validate Process - True");
>>>>>>> /*_done=false;*/}
>>>>>>> else{System.out.println("Validate Process -
>>>>>>> False");/*_done=false;*/}
>>>>>>> console = proc.getConsole();
>>>>>>> IDataProcessor dp = new ClientDataProcessor();
>>>>>>> console.setDataProcessor(dp);
>>>>>>> proc.launch();
>>>>>>>
>>>>>>> The process is launched OK (validates true), but SampleTarget
>>>>>>> terminates, reporting that it does not have the required command
>>>>>>> line parameter.
>>>>>>>
>>>>>>> The AgentController log shows that it has got the parameter OK:
>>>>>>>
>>>>>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>>>>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>>>>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>>>>>> src="105"><startProcess
>>>>>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>>>>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>>>>>> severity="5" version="1.0.1">
>>>>>>> <sourceComponentId component="ProcessController"
>>>>>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>>>>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>>>>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>>>>>> processId="3068" subComponent="ProcessController" threadId="812"
>>>>>>> /> - <situation categoryName="ReportSituation">
>>>>>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>> xsi:type="ReportSituation" /> </situation>
>>>>>>> </CommonBaseEvent>
>>>>>>>
>>>>>>> Has anyone else tried something similar?
Re: Using command line parameters with IProces and new Agent Controller [message #46821 is a reply to message #46704] Thu, 15 December 2005 11:37 Go to previous message
Eclipse UserFriend
Hi Guru,
Thanks for the info on the environment variables.
Unfortunately, I'm starting two instances of the same exe, and each exe runs a server, so needs a different port number.
Now that I know what works and what doesn't, I can work around it.
Thanks for all your help.

David.

Guru Nagarajan wrote:
> David,
> I checked the code in for the parameters - I will test the daily build
> tonight to make sure the fix got in.
>
> The implementation to pass the env variable is not there in the 4.1 GA.
>
> The workaround to have the processes launched with a specific
> environment variable is in the AgentController - serviceconfig.xml file
> located in the AC_Install/config directory.
>
> Add the following XML fragment to the serviceconfig.xml file. Edit the
> "Name" attribute to the name of your environment variable and attribute
> "value" to contain the value of the env. variable. You can create a list
> of a number of env. variables. For illustration I have created two
> sample entries.
> ------------------------------------------------------------ ----------------
>
> <AgentControllerEnvironment>
> <Variable name="YOUR_ENV" value="/home/app" position="replace"/>
> <Variable name="YOUR_APP_DEPENDENCY" value="/var/app" position="replace"/>
> </AgentControllerEnvironment>
> ------------------------------------------------------------ -----------------
>
>
> Thanks,
> Guru
>
> David Read wrote:
>
>> Hi Guru,
>> Thanks, concatenating the location works.
>> Back to my original problem. I picked up the daily build, but the
>> parameter is still not passed on to the target exe.
>> The prerequisites for the build say Eclipse 3.2.0 M3, and I'm still on
>> 3.1.1, but I'm hoping this has nothing to do with it, as I only
>> updated the Agent Controller.
>> I'm going to try using an environment variable, and pick it up using envp
>> Do you know if IProcess.appendEnvironmentVariable works?
>>
>> David
>>
>>
>> Guru Nagarajan wrote:
>>
>>> David,
>>> You are right - the workingDir is not getting picked and the
>>> directory I used for my quick test was the bin dir.
>>> The workaround is to "Concatenate" the location with the executable.
>>> I have opened a bugzilla against this.
>>>
>>> As regards the build - pls. pick up
>>> http://eclipse.org/tptp/home/downloads/drops/TPTP-4.2.0-2005 12130100.html
>>>
>>>
>>> Thanks,
>>> Guru
>>> David Read wrote:
>>>
>>>> Guru,
>>>> Is there a binary build with the fix in, or do I have to build it
>>>> myself, and if so from where?. I could only find daily builds of
>>>> TPTP 4.2.0.
>>>>
>>>> As for the setLocation, I had already tried escaping the "\", but it
>>>> didn't work.
>>>> A bit more background:
>>>> I am talking to the AC (the C++ "New Technology" one) from a Java
>>>> client - actually an EMF generated model that picks up things like
>>>> 'location' and exe names from properties.
>>>> Looking in the Eclipse debugger, just after doing a proc.launch(), I
>>>> can see:
>>>>
>>>> _ac= AgentController (id=73)
>>>> _agents= Vector<E> (id=530)
>>>> _console= null
>>>> _consoleDataConnectID= 0
>>>> _destID= 100
>>>> _eclipseLock= Object (id=531)
>>>> _exe= "SampleTarget.exe"
>>>> _isActive= false
>>>> _isComplt= false
>>>> _launcherLock= Object (id=532)
>>>> _listeners= Vector<E> (id=533)
>>>> _location= "C:\\\\Temp"
>>>> _name= null
>>>> _node= NodeImpl (id=105)
>>>> _noSuchAliasExceptionThrown= false
>>>> _param= "2000"
>>>> _processId= 0
>>>> _processInfo= null
>>>> _processListener= null
>>>> _requireEclipseLock= false
>>>> _srcID= -1
>>>> _UUID= null
>>>> _validApp= false
>>>> _validWorkingDir= true
>>>> _variables= Vector<E> (id=536)
>>>> TPTP_AC= true
>>>>
>>>>
>>>>
>>>> This was using proc.setLocation("C:\\Temp");
>>>> If I use "C:\Temp" then _location= "C:\\Temp" so perhaps this is not
>>>> the problem.
>>>>
>>>> In your example, you show setting the location to
>>>> "C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\", which is the
>>>> equivalent of ".", because that is where the
>>>> TPTPProcessController.exe is running from.
>>>>
>>>> Have you ever tried a different location?
>>>>
>>>> The only way I can get it to work (and get _validApp= true) is to
>>>> put my exe in the bin directory.
>>>>
>>>> David
>>>>
>>>>
>>>>
>>>> Guru Nagarajan wrote:
>>>>
>>>>> David,
>>>>> The fix is in.
>>>>> As regards the setLocation you have to escape the "\".
>>>>>
>>>>> Example:
>>>>> IProcess proc = ac.createProcess();
>>>>> proc.setExecutable("SampleClient.exe");
>>>>> proc.setLocation("C:\\temp\\agntctrl.win_ia32.sdk-TPTP-4.1.0\\bin\\ ");
>>>>>
>>>>> Thanks,
>>>>> Guru
>>>>>
>>>>> David Read wrote:
>>>>>
>>>>>> Thanks Guru, that was quick :-)
>>>>>> I did search Bugzilla, but missed it somehow.
>>>>>>
>>>>>> Another problem I'm having is setting the location where the
>>>>>> executable is located on the target.
>>>>>> It works setting it to ".", but trying "C:\Temp" doesn't (also
>>>>>> tried "C:\Temp\").
>>>>>> validateProcessToLaunch() fails with _validApp = false, and with
>>>>>> _validWorkingDir = true.
>>>>>> (yes I have put the exe in there :-)
>>>>>>
>>>>>> David
>>>>>>
>>>>>>
>>>>>> Guru Nagarajan wrote:
>>>>>>
>>>>>>> David,
>>>>>>> This is listed as a release note. I have the fix ready, I will
>>>>>>> be checking the fix into CVS tonight.
>>>>>>> If you can pick the daily build tomorrow morning - you will have
>>>>>>> the necessary XML commands for launching a command.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Guru
>>>>>>>
>>>>>>> David Read wrote:
>>>>>>>
>>>>>>>> Using the New Technology Agent Controller
>>>>>>>> (agntctrl.win_ia32.sdk-TPTP-4.1.0.zip), I am trying to launch a
>>>>>>>> process that takes a single command line parameter, but this
>>>>>>>> parameter does not appear to be passed on.
>>>>>>>>
>>>>>>>> The code, essentially stolen from the TPTPProcess.java sample,
>>>>>>>> does something like this:
>>>>>>>>
>>>>>>>> proc = agentController.createProcess();
>>>>>>>> proc.setExecutable("SampleTarget.exe");
>>>>>>>> proc.setParameter("2000");
>>>>>>>> proc.setLocation(".");
>>>>>>>> boolean b = proc.validateProcessToLaunch();
>>>>>>>> if(b){System.out.println("Validate Process - True");
>>>>>>>> /*_done=false;*/}
>>>>>>>> else{System.out.println("Validate Process -
>>>>>>>> False");/*_done=false;*/}
>>>>>>>> console = proc.getConsole();
>>>>>>>> IDataProcessor dp = new ClientDataProcessor();
>>>>>>>> console.setDataProcessor(dp);
>>>>>>>> proc.launch();
>>>>>>>>
>>>>>>>> The process is launched OK (validates true), but SampleTarget
>>>>>>>> terminates, reporting that it does not have the required command
>>>>>>>> line parameter.
>>>>>>>>
>>>>>>>> The AgentController log shows that it has got the parameter OK:
>>>>>>>>
>>>>>>>> - <CommonBaseEvent creationTime="2005-12-12T21:15:15.968000Z"
>>>>>>>> globalInstanceId="A19F8A30453748DCA5B6BE9485CF7F4E" msg="Agent
>>>>>>>> 'ProcessController' parsed xml cmd <Cmd ctxt="4" dest="100"
>>>>>>>> src="105"><startProcess
>>>>>>>> iid="org.eclipse.tptp.processController"><launchInfo><Application
>>>>>>>> executable="SampleTarget.exe"/><commandLineArgs>2000</commandLineArgs ><workingDir>.</workingDir><keepRunning>0</keepRunning> <noNotices>0</noNotices></launchInfo><consoleConnectID>5006 </consoleConnectID></startProcess></Cmd>"
>>>>>>>> severity="5" version="1.0.1">
>>>>>>>> <sourceComponentId component="ProcessController"
>>>>>>>> componentIdType="TPTPComponent" componentType="Eclipse_TPTP"
>>>>>>>> executionEnvironment=" D:\cygwin\home\build\TPTP\4.1.0\TPTP-4.1.0-200511170100\agnt ctrl\src\agents\agentBase\BaseAgentImpl.cpp,
>>>>>>>> line 794" instanceId="100" location="Study" locationType="IPV4"
>>>>>>>> processId="3068" subComponent="ProcessController" threadId="812"
>>>>>>>> /> - <situation categoryName="ReportSituation">
>>>>>>>> <situationType reasoningScope="INTERNAL" reportCategory="LOG"
>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xsi:type="ReportSituation" /> </situation>
>>>>>>>> </CommonBaseEvent>
>>>>>>>>
>>>>>>>> Has anyone else tried something similar?
Previous Topic:how do you use this stuff?
Next Topic:Why AGR did not record any thing while changing to ther editors?
Goto Forum:
  


Current Time: Mon Jul 14 12:01:23 EDT 2025

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

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

Back to the top