report

Why does my Eclipse Indigo crash on Ubuntu 13.04 with Oracle JDK 64bit?

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I installed jdk and eclipse on to Ubuntu 13.04. It stays open till I create a project and type some basic but then suddenly within a minute when I click somewhere like javadoc or Ctrl+Space, it immediately crashes with the following message. I had this problem with Juno and Ubuntu 12.04, but when I upgraded from Juno to Indigo, it was fine. But now after using Indigo and Ubuntu 13.04 it's all messed up. Even Juno won't work with Ubuntu 13.04, I need help. I need to get eclipse working. I just am ready to install/remove anything to get

TortoiseHG/Mercurial Project Statistics and Reports

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 02:23:24
I've been working for a couple months on cleaning up the backend of a system I'm working on. The previous code was awful so I've been refactoring and rewriting to get the code to a state where I can better add and improve functionality. I want to be able to quantify the work I've done for the client so he can get a sense of how much work has been done. So, I want to run some reports showing things like: number of lines removed, added, changed. I've used TortoiseHG/Mercurial all along and also have pushed the code up to bigbucket. What's the best way to generate these types of statistics from

maven jacoco: not generating code coverage report

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to setup jacoco for my project's code coverage My project is based on Java 1.8 Here is how things look in my project's pom.xml org . jacoco jacoco - maven - plugin 0 . 5.10 . 201208310627 file true jacoco - initialize prepare - agent jacoco - site verify report Then I run mvn test and see the following $ mvn test [ INFO ] Scanning for projects ... [ INFO ] [ INFO ] ------------------------------------------------------------------------ [ INFO ] Building pennyapp 1.0 - SNAPSHOT [ INFO ] ---------------------------------

Crystal Report: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I can not pass values to the report. This is my code: public void GLRPT () { try { ReportClass rptH = new ReportClass (); rptH . FileName = Server . MapPath ( "~/Rpts/G1.rpt" ); rptH . Load (); string df = Session [ "fromdate" ]. ToString (); string dt = Session [ "todate" ]. ToString (); DateTime fromdate = DateTime . Parse ( df ); DateTime todate = DateTime . Parse ( dt ); rptH . SetParameterValue ( "?Date_From" , fromdate ); rptH . SetParameterValue ( "?Date_To" , todate ); rptH . ExportToHttpResponse ( ExportFormatType .

Export JasperReports in HTML format

匿名 (未验证) 提交于 2019-12-03 01:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The code below gets a byte[] result, which works for PDF and XLSX. For HTML, an exception is raised. JasperPrint jasperPrint = JasperFillManager.fillReport(report, params, dataSource != null ? new JRMapArrayDataSource( dataSource) : new JREmptyDataSource()); ByteArrayOutputStream out = new ByteArrayOutputStream(); @SuppressWarnings("rawtypes") Exporter exporter; switch (format) { case PDF: exporter = new JRPdfExporter(); break; case XLSX: exporter = new JRXlsxExporter(); break; case HTML: exporter = new HtmlExporter(); break; default: throw

App shutdown with EXC_RESOURCE, WAKEUPS exception on iOS 8 GM

限于喜欢 提交于 2019-12-03 01:39:30
问题 Does anyone know what this kind of exception is on iOS 8? === from crash report === Exception Type: EXC_RESOURCE Exception Subtype: WAKEUPS Exception Message: (Limit 150/sec) Observed 206/sec over 300 secs Triggered by Thread: 14 Seems to only happen on iOS 8... Our app is shut down quite randomly at arbitrary intervals with this exception.. Any clues are welcome. Thanks! 回答1: Your app is sending a wakeup command to a particular thread in the app quite often - apparently an average of 206

Creating Crystal report with C# and Sql server

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using Crystal report to generate reports to my application, this is the code i used: private void button5_Click ( object sender , EventArgs e ) { ReportDocument cryRpt = new ReportDocument (); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos (); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo (); ConnectionInfo crConnectionInfo = new ConnectionInfo (); Tables CrTables ; cryRpt . Load ( "C:\\Documents and Settings\\Administrateur\\Mes documents\\MyApplication\\MyApplication\\CrystalReport1.rpt" ); crConnectionInfo .

实现在线预览PDF的几种解决方案

天大地大妈咪最大 提交于 2019-12-03 01:34:20
原文: 使用FastReport报表工具生成标签打印文档 在我们实际开发报表的时候,我们需要按一定的业务规则组织好报表的模板设计,让报表尽可能的贴近实际的需求,在之前的随笔中《 使用FastReport报表工具生成报表PDF文档 》介绍了FastReport生成常规报表的处理,本篇随笔回顾常规报表的处理效果,并介绍基于FastReport生成标签纸打印需要的报表格式。 1、常规报表的处理 我们一般处理报表的时候,大多数情况碰到的是明细报表,或者有主从表这种样式的报表格式,明细报表就是只需要设计一个表头,按列表展示即可,如下所示格式。 或者类似一个基于XtraReport报表的功能界面,如下面图示所示。 这里面涉及的字段,包括字符型、日期型,数值型、枚举类型等,还有统计值、打印时间(参数),因此也算一个比较完整的报表展示了。 或者一些有一条记录构建成的报表信息,如下报表所示,这些也只是设计模板上的差异,在模板里面绑定对应的字段或者参数即可实现。 还有一种是主表有信息,从表有明细的数据展示方式,这个在随笔《 使用FastReport报表工具生成报表PDF文档 》有介绍过。 2、基于标签信息报表的打印处理 之前在随笔《 在Winform开发中使用Grid++报表 》和《 在Bootstrap开发框架中使用Grid++报表 》中介绍了使用锐浪报表来设计展现标签打印报表的处理,如下效果所示。

How to properly use coverage.py in Python?

匿名 (未验证) 提交于 2019-12-03 01:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've just started using Coverage.py module and so decided to make a simple test to check how it works. Sample.py def sum ( num1 , num2 ): return num1 + num2 def sum_only_positive ( num1 , num2 ): if num1 > 0 and num2 > 0 : return num1 + num2 else : return None test.py from sample import sum , sum_only_positive def test_sum (): assert sum ( 5 , 5 ) == 10 def test_sum_positive_ok (): assert sum_only_positive ( 2 , 2 ) == 4 def test_sum_positive_fail (): assert sum_only_positive (- 1 , 2 ) is None As you see, all my code is covered

JUnit Reports — Test Method Descriptions

回眸只為那壹抹淺笑 提交于 2019-12-03 01:19:23
I am trying to see if there is a way to include "descriptive text" in my junit reports by way of javadocs. JUnit 4 doesnt seem to support the 'description' attribute for the @Test annotation like TestNG does. So far from what I have researched there is only one tool out there called javadoc-junit ( http://javadoc-junit.sourceforge.net/ ). However I could not get this to work since it seems to be incompatible with Junit 4. What I want is some way to provide a sentence or two of text with my each test method in the JUnit report. JavaDoc is no good since the target audience will have to swtich