depends

Dependency walker hangs

三世轮回 提交于 2021-02-18 22:56:27
问题 I have a problem with my.xll addin when it loads on my clients PC. It crashes Excel at startup (possible because of missing dependent dlls). I know it is possible to use dependency walker in profile mode to find out what dlls are loaded when the .exe runs. When I try that dependency walker hangs when profiling Excel, and I can’t find out why. In a command window I ran this: C:\Program Files (x86)\Windows Kits\8.1\Tools\x86>start /wait depends.exe /c /f:1 /pb /pp:1 /pg:1 /oc:d:\temp\Log.txt "C

Spring Boot - Load bean only if it is enabled by a property

元气小坏坏 提交于 2020-01-04 14:35:14
问题 I have a Spring Boot application with different submodules which also contains spring components. And in the main web modules I use 70% of the beans from the submodules. It depends on the application.yml properties, if the property group (which points to a bean) is enabled or not. First I wanted to create Aspect-s, so when a method of a bean (which is not enabled by it's property) is called, then throw an exception. This solution could work, but then I would need to create Aspect classes,

jQuery validation depends

倾然丶 夕夏残阳落幕 提交于 2019-12-23 04:12:29
问题 Is it possible to add a depends onto an equalTo rule? i.e., rule { myFormFierld: if textbox name has been filled out add this equalTo rule.. } 回答1: The answer is yes . You just need to declare it that way billingAddress: { required:true, minlength:5 equalTo: { param: "#shippingaddress", depends: "#compare:checked" } } Simple and beautiful. Via this ticket. 来源: https://stackoverflow.com/questions/5725584/jquery-validation-depends

Why can't see all task when use 'tasks' task in Gradle?

大兔子大兔子 提交于 2019-12-22 12:39:11
问题 task startSession << { chant() } def chant() { ant.echo(message: 'Repeat after me...') } 3.times { task "yayGradle$it" << { println 'Gradle rocks' } } yayGradle0.dependsOn startSession yayGradle2.dependsOn yayGradle1, yayGradle0 task groupTherapy(dependsOn: yayGradle2) In my script I have startSession task, groupTherapy task and three dynamically generated tasks yayGradle0-3. When I am executing: gradle tasks Part of the output is: Other tasks ----------- groupTherapy Where are the other

Imports and Depends

北城余情 提交于 2019-12-20 10:28:16
问题 I have read two recent posts that discuss Depends and Imports Upcoming NAMESPACE, Depends, Imports changes for 2.14.0 (some definitions/use please) Better explanation of when to use Imports/Depends But I have four lingering, related questions: Suppose I want two packages to also be available to the end-user when they load in my package. Is there a good reason not to use Depends in this context? (The point here is to load all three packages via a command that loads just the one package.) Is it

Why can't see all task when use 'tasks' task in Gradle?

▼魔方 西西 提交于 2019-12-06 13:28:08
task startSession << { chant() } def chant() { ant.echo(message: 'Repeat after me...') } 3.times { task "yayGradle$it" << { println 'Gradle rocks' } } yayGradle0.dependsOn startSession yayGradle2.dependsOn yayGradle1, yayGradle0 task groupTherapy(dependsOn: yayGradle2) In my script I have startSession task, groupTherapy task and three dynamically generated tasks yayGradle0-3. When I am executing: gradle tasks Part of the output is: Other tasks ----------- groupTherapy Where are the other tasks? If I execute the command above with parameter --all they are visible but not as indipendant tasks

How to make Debian package install dependencies?

為{幸葍}努か 提交于 2019-12-03 09:14:38
问题 I want to make a simple Debian package to install a simple tool that depends on Qt4 libs. In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it says that the dependency could not be met. Question: How can I make Debian trigger apt to install the dependencies as well? Can't find that the documentation however I know that apt-get does that. 回答1: If you want to avoid creating a local APT repository, you can do: dpkg -i mypackage.deb apt-get

How to make Debian package install dependencies?

浪子不回头ぞ 提交于 2019-12-03 00:48:49
I want to make a simple Debian package to install a simple tool that depends on Qt4 libs. In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it says that the dependency could not be met. Question: How can I make Debian trigger apt to install the dependencies as well? Can't find that the documentation however I know that apt-get does that. If you want to avoid creating a local APT repository, you can do: dpkg -i mypackage.deb apt-get install --fix-missing If you do want to create a local repository, you can use reprepro for this. If you

Imports and Depends

限于喜欢 提交于 2019-12-02 22:39:32
I have read two recent posts that discuss Depends and Imports Upcoming NAMESPACE, Depends, Imports changes for 2.14.0 (some definitions/use please) Better explanation of when to use Imports/Depends But I have four lingering, related questions: Suppose I want two packages to also be available to the end-user when they load in my package. Is there a good reason not to use Depends in this context? (The point here is to load all three packages via a command that loads just the one package.) Is it okay to specify a package in both the Depends and Imports fields? If a package is listed in Depends,

Jquery validate depend field

可紊 提交于 2019-11-27 20:35:09
Huy Guys, I am trying to use jQuery validation plugin and specify that one field is required only when 3 other fields are blank (not filled). the thing is that the rule is working but it still remain requiring the field even when I type value on it. Thanks. This is my code: $("#ProspectDtlFrm").validate({ rules: { prsptEmail: { required: function(element) { return ( $("#prsptHomePhone").val() == '' && $("#prsptBusinessPhone").val() == '' && $("#prsptMobilePhone").val() =='') } } }, messages: { prsptEmail: "Please enter your first name" } }); You could use depends : $('#ProspectDtlFrm')