Constant_info: invalid tag value

scmuser created the topic: CONSTANT_info: invalid tag value Hi, While Doing Instrumentation of jar file, I got following Error…Any help? [code language=”css”] [instr] processing instrumentation path … [instr] package [org/w3c/dom]…

Read more »

Com.vladium.emma.EMMARuntimeException

scmuser created the topic: com.vladium.emma.EMMARuntimeException Hi, I have J2EE application. Whenever I am trying to instrument my jar file, I am getting following Error… Any Help on this com.vladium.emma.EMMARuntimeException: com.vladium.emma.EMMARuntimeException…

Read more »

Instrument class files from all subdirectory

rajeshkumar created the topic: instrument class files from all subdirectory Hi, is there any possibilities to instrument classes from all sub-directory instead of single class directory? Any sample code? Regards,…

Read more »

Java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT

rajeshkumar created the topic: “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” I got sometime following error while using emma… “java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT” Solution can be found in… devnet.jetbrains.net/thread/275232 Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn Rajesh…

Read more »

Ant Example code for Emma Instrumentation and reports

rajeshkumar created the topic: Ant Example code for Emma Instrumentation and reports In-place instrument a certain subset of already compiled classes using overwrite mode and several coverage filters: [code language=”css”]…

Read more »

How to verify of cobertura.jar file is loaded into jvm

scmuser created the topic: How to verify of cobertura.jar file is loaded into jvm How to verify of cobertura.jar file is loaded into jvm? I have instrumented class but Automated…

Read more »

Cobertura – how to check if class file is instrumented or not?

scmuser created the topic: Cobertura – how to check if class file is instrumented or not? Hi, Could you please tell me how to check if class file is instrumented…

Read more »

Cobertura merge two instrumented data file

scmuser created the topic: cobertura merge two instrumented data file Hi, Is it possible to merge two diff data file “cobertura.ser” file from two diff instrumentation? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud…

Read more »

Could not find or load main class net.sourceforge.cobertura.instrument

scmuser replied the topic: Could not find or load main class net.sourceforge.cobertura.instrument Still could not resolve the issues as below; [code language=”css”] C:\Users\rkumar11>cd C:\cobertura [/code] [code language=”css”] C:\cobertura>cobertura-check.bat Error: Could…

Read more »

Npm module “grunt-open” not found. Is it installed?

scmuser created the topic: Npm module “grunt-open” not found. Is it installed? I am getting following error… [code language=”css”] grunt lite [31m>> [39mLocal Npm module “grunt-open” not found. Is it…

Read more »

Instrumentating class file using Ant in Cobertura

rajeshkumar created the topic: Instrumentating class file using Ant in Cobertura Instrumentating class file using Ant in Cobertura Cobertura’s documentation gives the following example to show how instrumentation can be…

Read more »

Just to test Order and Unorder list

rajeshkumar created the topic: Just to test Order and Unorder list First Digit – should be incremented by 1 Second Digit – if its 0, no change but with others…

Read more »

A simple Ruby method to send email

scmuser created the topic: A simple Ruby method to send email A simple Ruby method to send email [code language=”css”] require ‘net/smtp’ def send_email(to,opts={}) opts[:server] ||= ‘localhost’ opts[:from] ||= ’email@example.com’…

Read more »

Add each array element to the lines of a file in ruby

scmuser created the topic: Add each array element to the lines of a file in ruby Add each array element to the lines of a file in ruby Either use…

Read more »

What is the way to iterate through an array in Ruby?

scmuser created the topic: What is the way to iterate through an array in Ruby? What is the way to iterate through an array in Ruby? This will iterate through…

Read more »

Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed

scmuser created the topic: Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed Short Notes – Ruby Arrays- Insert, Append, length, Index, Removed Create a Ruby Array [code language=”css”]…

Read more »

Common ways to read a file in Ruby?

scmuser created the topic: Common ways to read a file in Ruby? [code language=”css”] File.open(“my/file/path”, “r”) do |f| f.each_line do |line| puts line end end # File is closed automatically…

Read more »

How to process every line in a text file with Ruby

scmuser created the topic: How to process every line in a text file with Ruby Example 1 [code language=”css”] # ruby sample code. # process every line in a text…

Read more »

Script for time stamp update.

scmuser created the topic: Script for time stamp update. write a batch Script for time stamp update? sgadmin replied the topic: Re:Script for time stamp update. [code language=”css”] data=data.txt tfile=`cat…

Read more »

%~dp0 VS %cd%

rajeshkumar created the topic: %~dp0 VS %cd% Use of %~dp0 and Use of %cd% They are not equivalent. %cd% is available either to a batch file or at the command…

Read more »

Send mail using batch script thorugh SMTP

scmuser created the topic: Send mail using batch script thorugh SMTP Hello, hi i wnt to create batch file that will automtcally send my email through outlok express at 5…

Read more »

DOS Command to display time without prompting for New time

scmuser created the topic: DOS Command to display time without prompting for New time I think most of us know the DOS command “time/T” which displays current system time without…

Read more »

Call perl script from vbscript

rajeshkumar created the topic: Call perl script from vbscript Call perl script from vbscript Set oShell = CreateObject(“WScript.Shell”) sProgDir = “C:\Program Files\My Programs\perl\” sArgs = “-i” sExec = “””” &…

Read more »

Call batch script from vbscript

rajeshkumar created the topic: call batch script from vbscript Call batch script from vbscript dim shell set shell=createobject(“wscript.shell”) shell.run “INSTALL.bat” set shell=nothing Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn Rajesh…

Read more »

How to run scripts as administrator in Windows using VBS?

rajeshkumar created the topic: How to run scripts as administrator in Windows using VBS? How to run scripts as administrator in Windows using VBS? Set WshShell = WScript.CreateObject(“WScript.Shell”) If WScript.Arguments.length…

Read more »

How to Run a Program as an Administrator in Windows

rajeshkumar created the topic: How to Run a Program as an Administrator in Windows How to Run a Program as an Administrator in Windows Good URL- www.sevenforums.com/tutorials/11841-run-administrator.html Regards, Rajesh Kumar…

Read more »

Passing command line arguments separated by comma

scmuser created the topic: passing command line arguments separated by comma Any sample code in vb script to pass command line arguments separated by comma??? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert…

Read more »

Function in vb script

rajani created the topic: function in vb script Develop a function that accepts a string of names separated by comma add those names in an array and display the names…

Read more »

Throw new Error(‘npm.load() required’)

rajeshkumar created the topic: throw new Error(‘npm.load() required’) Error: C:\Program Files\nodejs\node_modules\npm\lib\npm.js:37 throw new Error(‘npm.load() required’) ^ Error: npm.load() required at Object.npm.config.get (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:37:11) at exit (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:49:27) at process.errorHandler (C:\Program…

Read more »

Check the exit code of the last command in batch file?

rajeshkumar created the topic: check the exit code of the last command in batch file? Test for a return code greater than or equal to 1: if ERRORLEVEL 1 echo…

Read more »