You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2004/02/04 18:30:08 UTC

cvs commit: cocoon-2.1/tools/instrumentation startclient.bat

sylvain     2004/02/04 09:30:08

  Added:       tools/instrumentation startclient.bat
  Log:
  Quickly hacked startup file for the instrumentation client
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/tools/instrumentation/startclient.bat
  
  Index: startclient.bat
  ===================================================================
  @echo off
  setlocal
  
  rem (%~dp0 is expanded pathname of the current script under NT/XP).
  
  set dist=%~dp0
  
  set jars=%dist%\lib\altrmi-client-impl-0.9.2.jar;%dist%\lib\altrmi-client-interfaces-0.9.2.jar;%dist%\lib\excalibur-instrument-client-2003-03-31.jar
  
  set core=%dist%\..\..\lib\core
  
  set jars=%jars%;%core%\logkit-1.2.jar;%core%\avalon-framework-4.1.4.jar;%core%\excalibur-instrument-manager-interfaces-1.0.jar;%core%\..\optional\altrmi-common-0.9.2.jar
  
  %JAVA_HOME%\bin\java -Dsun.java2d.noddraw=true -cp %jars% -Dsun.java2d.noddraw=true org.apache.excalibur.instrument.client.Main %*
  
  endlocal
  
  
  

Re: cvs commit: cocoon-2.1/tools/instrumentation startclient.bat

Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.02.2004 19:21, Sylvain Wallez wrote:

>> Hello Sylvain,
>>
>> having additional start scripts is not nice IMO. Therefore I removed 
>> some time ago the bin/runclient.bat and .sh for the instrumentation 
>> client 
>> (http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/instrumentation/bin/Attic/) 
>> and added a target "start-instrumentation-client" into a build file 
>> named "instrumentation-build.xml" 
>> (http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/targets/instrumentation-build.xml). 
>> This makes the startup independent on the OS. You only have to type 
>> "build start-instrumentation-client" in Cocoon root (this makes even 
>> changing the directory unnecessary :) ).
>>
>> I would like to see this file removed again.
> 
> 
> 
> No problem. As I wasn't aware of this, I added a readme.txt in the 
> tools/instrumentation directory to instruct users of this super-secret 
> build target.

Thanks. The OS-independency is it worth :) I also had a look for 
documentation on the instrumentation client - there is absolutely none, 
no official, no wiki, no nothing.

Joerg

Re: cvs commit: cocoon-2.1/tools/instrumentation startclient.bat

Posted by Sylvain Wallez <sy...@apache.org>.
Joerg Heinicke wrote:

> Hello Sylvain,
>
> having additional start scripts is not nice IMO. Therefore I removed 
> some time ago the bin/runclient.bat and .sh for the instrumentation 
> client 
> (http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/instrumentation/bin/Attic/) 
> and added a target "start-instrumentation-client" into a build file 
> named "instrumentation-build.xml" 
> (http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/targets/instrumentation-build.xml). 
> This makes the startup independent on the OS. You only have to type 
> "build start-instrumentation-client" in Cocoon root (this makes even 
> changing the directory unnecessary :) ).
>
> I would like to see this file removed again.


No problem. As I wasn't aware of this, I added a readme.txt in the 
tools/instrumentation directory to instruct users of this super-secret 
build target.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



Re: cvs commit: cocoon-2.1/tools/instrumentation startclient.bat

Posted by Joerg Heinicke <jo...@gmx.de>.
Hello Sylvain,

having additional start scripts is not nice IMO. Therefore I removed 
some time ago the bin/runclient.bat and .sh for the instrumentation 
client 
(http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/instrumentation/bin/Attic/) 
and added a target "start-instrumentation-client" into a build file 
named "instrumentation-build.xml" 
(http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/tools/targets/instrumentation-build.xml). 
This makes the startup independent on the OS. You only have to type 
"build start-instrumentation-client" in Cocoon root (this makes even 
changing the directory unnecessary :) ).

I would like to see this file removed again.

Joerg

On 04.02.2004 18:30, sylvain@apache.org wrote:
> sylvain     2004/02/04 09:30:08
> 
>   Added:       tools/instrumentation startclient.bat
>   Log:
>   Quickly hacked startup file for the instrumentation client