在system.out.println的代码中查找位置(Find the location in code of a system.out.println)
假设我正在一个非常大的项目中工作,并且注意到一个空的打印行,所以我假设有一个System.out.println(“”); 位于代码的某处。 我该如何去弄清楚它在哪里,仅仅搜索整个项目中的所有System.out.println?
Lets say I'm working in a very large project, and have noticed an empty print line, so I'm assuming there is a System.out.println(""); located somewhere in the code. How would I go about trying to figure out where it is, short of just searching the entire project for all occurrences of System.out.println?
原文:https://stackoverflow.com/questions/25711648
最满意答案
该进程被命名为WCELOAD.EXE。 这里是MSDN页面的更多信息: http : //msdn.microsoft.com/en-us/library/ms933760.aspx 。
如果您需要支持“Pocket PC”(OS版本4.x才称为Windows Mobile),它会变得更加复杂。 Pocket PC不支持压缩的CAB文件,并且某些WCELOAD.EXE命令行参数未实现。
我发现将CAB文件设置为只读是最好的方法。 如果用户通过文件浏览器轻击CAB文件,则系统将在安装完成后删除CAB文件。 当您以编程方式调用WCELOAD时,可以使用/ delete 0来防止发生此情况。
The process is named WCELOAD.EXE. Here is the MSDN page for more information: http://msdn.microsoft.com/en-us/library/ms933760.aspx.
It gets more complicated if you have a requirement to support "Pocket PC" (the OS version 4.x before it was called Windows Mobile). Pocket PC does not support compressed CAB files and some of the WCELOAD.EXE command line parameters are not implemented.
I've found setting the CAB file to read-only is the best approach. If the user taps on the CAB file via File Explorer then the system will delete the CAB file after installation is complete. When you're calling WCELOAD programmatically, you can use /delete 0 to prevent this from happening.
相关问答
更多-
ActiveX cab替代方案(ActiveX cab alternative)[2022-04-27]
Internet Explorer中唯一可用的组件选项是ActiveX组件。 当然,如果您知道已经或很可能在客户端上安装了现有的ActiveX实现主机(如Silverlight或Flash),那么它们可能是一种选择。 Silverlight将允许您使用各种.NET语言编写代码,并通过套接字与服务器通信,但限制是您只能访问端口4502-4534。 其他浏览器(如Firefox)提供了其他选项来创建不涉及cab的扩展。 The only component option available to you in ... -
.NET CF中的FileStream和ObjectDisposedException(FileStream and ObjectDisposedException in .NET CF)[2021-11-06]
也许你的FileStream在你的文件正在使用时抛出IOException那部分时间, 或许在其他时候,你得到ObjectDisposedException因为你的数组没有被初始化。 显然,我无法测试这个理论。 看看你是否可以复制粘贴这个效果很好: public byte[] GetFile(string filename) { byte[] binFile = null; try { using (var aStream = File.Open(filename, FileMode.O ... -
在fedora中使用synce-install-cab来安装cab文件(Using synce-install-cab in fedora to install cab file)[2021-11-23]
好的,两件事。 首先,你确定这是你想要的命令吗? 此命令用于将.cab文件中的软件安装到Windows CE设备。 如果你没有,也许你想要cabextract (当然,这不会使Windows软件实际上在Fedora上运行 )。 第二......我不知道这个实际的命令(因为我没有Windows CE设备),但是,从您链接的手册页,没有理由运行synce-install-cab - install .cab data.cab - 这不是说明 ,它只是文件顶部的摘要。 实际的命令似乎就是这样 synce-inst ... -
您要做的是首先提取CAB文件的内容。 您可以自己编写代码或使用第三方库。 我个人没有使用过这个,但我在本网站和其他网站上已经多次提及: http : //www.codeproject.com/KB/files/CABCompressExtract.aspx 要自己编写,请参考此处的文档: http : //msdn.microsoft.com/en-us/library/cc483132%28EXCHG.80%29.aspx What you are looking to do is to extract ...
-
要能够在WinCE 6上安装CAB文件,请将CAB文件安装程序/卸载程序 (SYSGEN_WCELOAD)目录项添加到映像中。 安装它的应用程序是wceload 。 如何添加目录项 你去目录,检查你想要的项目。 然后做一个Sysgen( Build → Advanced Build Commands → Sysgen )。 在Sysgen阶段完成后,您应该能够安装cab文件 To have the ability to install CAB files on WinCE 6 add the CAB Fil ...
-
该进程被命名为WCELOAD.EXE。 这里是MSDN页面的更多信息: http : //msdn.microsoft.com/en-us/library/ms933760.aspx 。 如果您需要支持“Pocket PC”(OS版本4.x才称为Windows Mobile),它会变得更加复杂。 Pocket PC不支持压缩的CAB文件,并且某些WCELOAD.EXE命令行参数未实现。 我发现将CAB文件设置为只读是最好的方法。 如果用户通过文件浏览器轻击CAB文件,则系统将在安装完成后删除CAB文件。 当 ...
-
此问题已在WizCab.exe中注册为错误: 智能设备CAB项目包含错误的本地化资源 。 我发现解决问题的最佳方法是: 使用将资源文件复制到唯一(文件)名称的本地化资源将后构建事件添加到项目中: 复制“$(TargetDir)sv \ $(TargetName).resources.dll”“$(TargetDir)sv \ sv _ $(TargetName).resources.dll” 对于每种现有语言。 执行构建并用空文件覆盖这些唯一的资源文件 - 否则visual studio GUI将不允许您重 ...
-
思考客户端上的硬盘几乎完全充满了吗? 听起来我觉得它有足够的空间来安装它然后当你再次尝试执行它时,它在硬盘上找不到足够的可用空间。 Is the hard drive on the think client almost completely full? It sounds to me like it has just enough space to install it and then when you try to execute it again, it can't find enough free ...
-
是的,嵌入式Compact 2013不再支持SQL Server Compact,您可以使用sqlite代替https://cesqlite2013.codeplex.com/ Yes, SQL Server Compact is no longer supported with Embedded Compact 2013, you can use sqlite instead https://cesqlite2013.codeplex.com/
-
我恢复了安装应用程序的工作人员,在CAB解压缩文件后手动单击setup.exe。 原因是Win CE 6.0没有特定的SDK。 我已经在这个问题上奋斗了2天,现在没有任何解决方案。 希望这可以节省一些时间和精力。 I reverted to making the staff that installs the app, click on setup.exe manually after the CAB unpacks the files. The reason being is that there is ...