用于删除SourceSafe绑定的实用工具?(Utility for removing SourceSafe bindings?)
我正在寻找一个实用程序,它会根据解决方案文件的位置自动删除SourceSafe绑定。 我发现了几个提到这个工具:
http://codebetter.com/blogs/darrell.norton/archive/2008/05/16/sourcesafe-binding-remover.aspx
这看起来正是我所需要的 - 删除.scc文件并修改.sln和。* proj文件。 但是,我无法弄清楚如何真正得到这个实用程序 - 这个帖子上的附件似乎实际上并不存在。
有没有人有这个工具的副本,或知道我可以在我自己重写之前找到类似的东西? 我有137种解决方案解除绑定,因此手动执行此操作不是一个有吸引力的选择。
I'm looking for a utility that will remove SourceSafe bindings automatically given the location of the solution file. I found several mentions of this tool:
http://codebetter.com/blogs/darrell.norton/archive/2008/05/16/sourcesafe-binding-remover.aspx
That looks like exactly what I need - deletes .scc files and modifies .sln and .*proj files. However, I can't figure out how to actually get the utility - the attachment on that post seems to not actually be there.
Does anyone have a copy of this tool or know where I can find something similar before I rewrite it myself? I have 137 solutions to de-bind so doing this manually is not an attractive option.
原文:https://stackoverflow.com/questions/878409
最满意答案
如何调用
x
取决于它的API以及x
是否与y
在同一节点中运行。
如果
x
在与y
相同的节点中运行,并且声明了应用程序依赖关系,使得x
在y
开始之前启动,则可以简单地调用x
的模块,与调用任何其他本地模块相同。如果
x
在不同的节点中,那么是的,使用rpc
模块调用它是一个可行的选择。 只要y
节点可以通过分布式Erlang连接到x
节点,rpc
就可以在没有任何额外设置的情况下工作。我提到了API,因为通常情况下模块通过将其进程ID注册到某种名称注册表来完成其工作,例如通过
erlang:register/2
, 全局注册表或其他注册表(如gproc)erlang:register/2
本地注册表,以及呼叫者可能需要首先直接或间接访问注册表以找到他们试图呼叫的目标。 例如,在调用gen_server
实例时 ,通常需要将要尝试调用的实例的名称或pid作为参数传递,对于远程调用,还需要目标节点名称。How you call
x
depends both on its APIs and on whether or notx
is running in the same node asy
.
If
x
is running in the same node asy
and your application dependencies are declared such thatx
starts beforey
starts, you can simply call into a module ofx
the same as calling any other local module.If
x
is in a different node, then yes, using therpc
module to call into it is one viable option. As long as they
node can connect to thex
node via Distributed Erlang,rpc
will work without any extra setup.I mention the API because it's frequently the case that modules do their work by registering their process ids into some sort of name registry, such as the local registry via
erlang:register/2
, the global registry, or alternative registries such as gproc, and callers may need to first access the registry directly or indirectly to find the target they're trying to call. For example, when calling agen_server
instance you typically need to pass as an argument the name or pid of the instance you're trying to call, and for remote calls, the target node name is needed as well.
相关问答
更多-
是否可以同时运行不同的Erlang OTP版本?(Is it possible to run different Erlang OTP version at the same time?)[2019-06-09]
在阅读本文时请记住,您应该真正找到一种方法来更新现有服务,以便及时了解更新的运行时。 我只是因为有人认为他们需要以一种无法升级的方式在某个地方分叉某个模块而处理遗留运行时的问题 - 这只是一场噩梦。 TL; DR :(但无论如何你应该读它) 是的,我刚刚确认您可以通过disterl连接R17和R20节点并发送消息: R17节点: ceverett@changa:/opt/erlang/R17.5/bin$ ./erl -name bar -cookie walnut Erlang/OTP 17 [erts- ... -
没有夜间建筑。 据我所知,测试应该在你的机器上传递。 也许有些东西是错误的配置? 拉请求在GitHub上: https : //github.com/erlang/otp/pulls ,还有一个erlang-bugs邮件列表: http : //erlang.org/mailman/listinfo/erlang-bugs 。 这是关于Erlang错误报告的维基页面: https : //github.com/erlang/otp/wiki/Bug-reports There are no nightly ...
-
Erlang OTP应用程序设计(Erlang OTP application design)[2023-07-19]
如果我的问题不对,我很抱歉。 我可以提出一些建议来引导您朝着正确的方向发展(或者我认为这是一个正确的方向:) 1(相对较小,但仍然很重要)我建议将inets启动代码从该worker中移出并将其放入应用程序statup代码(appname_app.erl)中。 据我可以告诉你使用螺纹钢模板,所以你应该有这些。 2现在,到基本部分。 为了充分利用OTP的监督者模型,假设你想产生大量的爬虫,使用simple_one_for_one监督者而不是one_for_one会很有意义 (请阅读http://www.erla ... -
Erlang热代码升级在两种情况下很有用: 当您拥有单个关键节点时,无法停止。 当您在交换机或路由器上运行Erlang时,情况就是这样,这对您的基础架构或在无人机上升级软件时至关重要,同时它仍在飞行 。 当你真的想保留运行节点的状态(并做一些改动)。 与处理复杂的升级相比,以这种方式设计系统通常更容易,您不需要这样做。 最好避免热代码升级,因为它很难,但有时它是必要的。 在那些时候,您将努力编写和测试升级。 而且你会很高兴,它可以完成! 在您的情况下,您有一个没有状态的节点集群,因此最简单的升级方法是从集群 ...
-
如何使用已从模块运行的OTP应用程序?(How do I use an OTP application that's already running from a module?)[2022-07-22]
如何调用x取决于它的API以及x是否与y在同一节点中运行。 如果x在与y相同的节点中运行,并且声明了应用程序依赖关系,使得x在y开始之前启动,则可以简单地调用x的模块,与调用任何其他本地模块相同。 如果x在不同的节点中,那么是的,使用rpc模块调用它是一个可行的选择。 只要y节点可以通过分布式Erlang连接到x节点, rpc就可以在没有任何额外设置的情况下工作。 我提到了API,因为通常情况下模块通过将其进程ID注册到某种名称注册表来完成其工作,例如通过erlang:register/2 , 全局注册表或 ... -
以下是stdlib如何组织其ct测试套件 。 Here is how the stdlib organises its ct test suites.
-
如何创建一个不是Erlang OTP应用程序的钢筋模块?(How to create a rebar module that is not an Erlang OTP app?)[2023-12-26]
Erlang库是应用程序。 然而,它们被称为库应用程序。 您可以使用rebar create-lib libid=myprojectlib创建示例库应用程序。 Erlang libraries are apps. They are however called library apps. You can create a sample library app with rebar create-lib libid=myprojectlib. -
听起来你正试图重新实现牛仔中的接受器池。 这个应用程序伪装成一个小的HTTP服务器,但它的核心只是一个套接字服务器,看看Andrew Thompson如何将它用于自己的gen_smtp 。 It sounds like you are trying to reimplement the acceptor pool found in Cowboy. This application masquerades itself as a small HTTP server but it is really just ...
-
Erlang OTP究竟是什么?(What exactly is Erlang OTP?)[2021-06-23]
你其实在问题中有你的答案 首先Erlang是一种编程语言,其他编程语言的例子 走 蟒蛇 红宝石 编程语言是程序员用来开发应用程序,脚本或其他计算机执行指令的特殊语言。 第二个OTP是在构建用erlang编写的应用程序时可以使用的一组工具和库 在编程中,库是程序员可以在程序中使用的已编译代码的集合。 库对于存储经常使用的代码特别有用。 Python有Python标准库 Ruby有Ruby标准库 现在OTP代表开放式电信平台,虽然这是称为一组库的奇怪名称,但这个名称最大的原因是Erlang编程语言是在爱立信计算 ... -
对于包含OTP模块,您可以以可行的价格使用SMS服务提供商和订阅包。 我的建议是https://www.ssdindia.in/transactional-sms/ 。 转到交易短信,以便向所有用户发送OTP消息,否则您的OTP将无法到达已为其手机号码激活DND的用户。 请参阅文档和示例代码,以在您的应用程序中包含API。 For including an OTP module there are SMS service providers and subscription packages that yo ...