Questions tagged [depends]
69 questions
39
votes
4 answers
Multiple depends in Ant task
If I have three targets, one all, one compile and one jsps, how would I make all depend on the other two?
Would it be:
...or would it be:
Or maybe something…

corsiKa
- 81,495
- 25
- 153
- 204
34
votes
3 answers
Dependency walker hangs
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…

Damian
- 4,395
- 4
- 39
- 67
24
votes
5 answers
Jquery validate depend field
I have 4 fields where the user should enter values in at least one of them. So I am trying to validate that each of these 4 fields will be required just when all of them are empty otherwise it won't be required.
The rule seems to be working for the…

cesar
- 241
- 1
- 2
- 3
20
votes
3 answers
How to start flyway after database initialization in Docker
I have following docker compose file(docker-compose-dev.yml):
version: '3'
services:
my_sql_db:
image: percona:latest
container_name: my_sql_db
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: abhs
ports:
…

gstackoverflow
- 36,709
- 117
- 359
- 710
19
votes
1 answer
Imports and Depends
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…

David Diez
- 679
- 1
- 6
- 13
18
votes
5 answers
How to make Debian package install dependencies?
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…

Nuno Santos
- 1,476
- 3
- 17
- 34
6
votes
2 answers
What happens to objects passed between dependent PHPUnit tests?
This isn't so much a question as an attempt to save somebody else the hour I just wasted on PHPUnit.
My problem was that my mock object, when used in a dependent test, was not returning the expected value. It seems that PHPUnit does not preserve…

Ian Phillips
- 2,027
- 1
- 19
- 31
6
votes
1 answer
Spring Boot - Load bean only if it is enabled by a property
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…

victorio
- 6,224
- 24
- 77
- 113
6
votes
1 answer
Package vignette depends on tikz/pgf
My R package vignette uses tikz/pgf graphics. The R CMD check command throws an error message on operating systems where the LaTeX package tikz/pgf is not installed. On a vanilla Ubuntu system, for example, the Ubuntu package 'pgf' must be installed…

Philip Leifeld
- 2,253
- 15
- 24
5
votes
1 answer
install a R package needed for your package upon installation
I'm developing a R package that depends on another R package being installed on the users system.
I've added a Depends:pkgname in the DESCRIPTION file and import(pkgname) in the NAMESPACE. What I was hoping this would do is check if pkgname is…

Sebastian
- 53
- 1
- 3
5
votes
2 answers
jQuery Validation Depends and Require from Group
I have rules that validate a group (requires one of 3). That works fine, however, I need to only have the 1 of 3 requirement depend on a selection in the form.
rules: {
cloudfront_7: {
require_from_group: {
depends: function(element) {
…

RPL
- 3,500
- 2
- 21
- 28
4
votes
2 answers
sp_depends in SQL Server, what are possible dependencies?
I have used sp_depends first time like this
sp_depends TestTable
As result I got some stored procedures and views. Now when I look (Ctrl F for TestTable) at script of stored procedures and views I do not see that they would be referring to…

Pritesh
- 1,938
- 7
- 32
- 46
3
votes
2 answers
Invalid count argument in terraform
I have a module that contains the following code.
resource "aws_s3_bucket" "main" {
bucket = var.bucket_name
acl = "private"
tags = var.tags
versioning {
enabled = var.versioning_enabled
}
}
resource "aws_s3_bucket_policy" "mod"…

gurpsone
- 463
- 7
- 17
3
votes
0 answers
FastAPI Depends use-case application
Let's consider the following code
class CommonDependency:
...
@app.on_event("startup")
async def start():
parser = ArgumentParser(...)
... # here dep are init with command line arguments
return dep
@app.get("/")
async def root(dep…

Antonio Santoro
- 827
- 1
- 11
- 29