From: Ravishankar, C. <Cha...@nd...> - 2013-01-21 09:30:31
|
Hi Steve, The cobertura 1.9.4.1 uses Generics, annotations etc.. , the features available from 1.5. How it will be possible to compile them using 1.4? Did you try by changing the javac.target to 1.4 in the build.properties? Regards, Chandan From: Steve Christou [mailto:sch...@gm...] Sent: Monday, January 21, 2013 11:58 AM To: Ravishankar, Chandan Cc: cob...@li... Subject: Re: [Cobertura-devel] Cobertura 1.9 performance improvements An issue I forgot to mention was I got a compilation error "unable to locate the java compiler com.sun.tools.javac.Main, please change your classloader settings". To resolve this you can't compile cobertura using openjdk, but instead using the sun/oracle jdk because it's looking for the lib/tools.jar folder from your $JAVA_HOME/jre directory. On Mon, Jan 21, 2013 at 12:25 AM, Ravishankar, Chandan <Cha...@nd...<mailto:Cha...@nd...>> wrote: Oh OK. Let me give a try. Regards, Chandan From: Steve Christou [mailto:sch...@gm...<mailto:sch...@gm...>] Sent: Monday, January 21, 2013 11:53 AM To: Ravishankar, Chandan Cc: cob...@li...<mailto:cob...@li...> Subject: Re: [Cobertura-devel] Cobertura 1.9 performance improvements I was actually able to compile the latest version of cobertura using javac 1.4 as an argument. I just checked out the latest version of the source code: http://cobertura.svn.sourceforge.net/viewvc/cobertura/trunk/cobertura/ and opened the build.xml file, changed all the javac1.5 versions to 1.4, ran the default ant target and had no compilation issues. On Sun, Jan 20, 2013 at 11:47 PM, Ravishankar, Chandan <Cha...@nd...<mailto:Cha...@nd...>> wrote: Hi Steve, Thanks for the reply. Unfortunately that is not possible. To work on Java 5 we need to port new JVM to our device and it won't be possible as we have many constraints :(. So the only option for me is to use 1.9 with Java 1.4. Regards, Chandan From: Steve Christou [mailto:sch...@gm...<mailto:sch...@gm...>] Sent: Monday, January 21, 2013 11:15 AM To: Ravishankar, Chandan Cc: cob...@li...<mailto:cob...@li...> Subject: Re: [Cobertura-devel] Cobertura 1.9 performance improvements Would it be possible to upgrade to using Java 5? Version 1.9.4.1 I believe still has support for java 5 according to the ChangeLog and Bug 2962599. On Sun, Jan 20, 2013 at 11:31 PM, Ravishankar, Chandan <Cha...@nd...<mailto:Cha...@nd...>> wrote: Hi All, Please let me know if you think it is worth to invest time in this area or if any other alternatives. Regards, Chandan From: Ravishankar, Chandan Sent: Thursday, January 17, 2013 6:33 PM To: 'cob...@li...<mailto:cob...@li...>' Subject: Cobertura 1.9 performance improvements Hi All, I am using cobertura 1.9 (As we use Java 1.4) for the code coverage. The software becomes slow when I run with the instrumented classes. I wanted to see if I can optimize cobertura and still use it on Java 1.4. I see in the latest versions we use concurrent collections instead of synchronized ones. Any other good starting points? Regards, Chandan Ravishankar | Desk: 64529 | Cell: +91 994 550 1674<tel:%2B91%20994%20550%201674> ________________________________ This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the pos...@nd...<mailto:pos...@nd...> and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. An NDS Group Limited company. www.nds.com<http://www.nds.com> ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET<http://ASP.NET>, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Cobertura-devel mailing list Cob...@li...<mailto:Cob...@li...> https://lists.sourceforge.net/lists/listinfo/cobertura-devel |