Questions tagged [dependencies]

A dependency exists between two elements if changes to the definition of one element may cause changes to the other.

A dependency exists between two elements if changes to the definition of one element may cause changes to the other.

To quote from the 3rd edition of UML Distilled:

An element C (the client) depends on an element S (the supplier) if and only if changes to the definition of S may cause changes to C.

If the elements are classes, only the direct cause for change (i.e. not through a ripple effect) is called a dependency, i.e. the relation is not transitive.

For packages, C depends on S if a class in C depends on a class in S. Sometimes, the transitive closure is taken, i.e. the dependency of C on a package T can be caused by C depending on S depending on T via class dependencies.

References:

  1. Understanding Dependencies
  2. What is the difference between dependency and association?
12826 questions
5
votes
1 answer

How to distribute C run-time (CRT) Libraries

I'm building an application after converting VC++ 6 workspace on Visual C++ 2008 express. Build in itself goes successfully but real problem I have is with the generated manifests which looks like this:
amit
  • 103
  • 2
  • 4
5
votes
1 answer

How do I get Lein to work with JFreeChart and Dejcartes?

I'm trying to understand how to use lein with clojure and get it to download the correct .jar files on Win7 x64. As a specific example, I'm trying to use JFreeChart and Dejcartes. My questions are generic and not specific to JfreeChart. I…
Sonicsmooth
  • 2,673
  • 2
  • 22
  • 35
5
votes
1 answer

Are the C# reference dependencies different to VB?

Consider we have 3-tier app and have got three projects named P1, P2, P3. Dependency: P1(Data) << P2(Business Logic) << P3(Presentation) P2 has got a base class X that was inherited in an other class Y in P2. So, we add the ref P1 to P2. However, P3…
Onur Gazioğlu
  • 501
  • 2
  • 12
5
votes
2 answers

Is there any way to prevent Boost.Build from recursively scanning header files for #include directives?

Is there a way to limit the header files that Boost.Build recursively scans for #include directives to a particular directory or set of directories? I.e. I'd like it to recursively scan the header files within my project only. I know that they…
Will Baker
  • 2,747
  • 4
  • 20
  • 17
5
votes
1 answer

How to find out which dependency is missing after DllNotFoundException?

I want to write a small .Net MAUI application which makes use of a C# SDK NuGet Package (implementing Hyperledger Anoncreds). When running the App on Android (emulator or device) most of the SDK method calls work, but certain calls still throw a…
HPe
  • 91
  • 5
5
votes
1 answer

How to prevent indirect feature dependencies with cargo?

When compiling a Rust workspace composed of multiple packages, is there a way to make cargo error when the succesfull compilation of a package foo depends on features that are not enabled by foo nor its dependencies? Let me give a concrete example.…
Federico
  • 1,925
  • 14
  • 19
5
votes
1 answer

Find where dependencies are coming from in Python?

When I run pip install . I get all dependencies installed, including transitive dependencies, but the problem is that there are two modules that depend on two different versions of lxml. How can I figure out who is requiring what with pip or any…
guidoism
  • 7,820
  • 8
  • 41
  • 59
5
votes
1 answer

Python Pip: pip install cannot find a version that satisfies a requirement - despite present in pyproject.toml

Python3 Pip error + Poetry Packaging I am working in a python library that I am trying to publish to TestPypi. So far, there have been no issues with publishing my Poetry builds. For context, as a beginner, I come from these websites…
coldenate
  • 79
  • 1
  • 9
5
votes
3 answers

How do I reference play framework third party modules without referencing an absolute path?

Here is my situation. I have a play app which uses the guice module. In order to work with the guice module: I installed it using play install guice. This installs it in the $PLAY_HOME/modules which is fine by me. I don't want to edit the module…
SaM
  • 2,410
  • 1
  • 19
  • 19
5
votes
2 answers

Searching for dependency of TimeDoctor2 at Ubuntu 22

I am using the time doctor 2 application for a long time. I am using it to track my and my team's working time. Because they are working for me remotely. 2 days ago I update my ubuntu from 20 to 22, then that application stop working. The view is…
5
votes
0 answers

Is it possible to override one Yarn resolution with another?

Is there some sort of rule of specificity like CSS for example? Is it possible to use resolutions for your entire project except one dependency? I've tried code like this (with and without nohoist) but I never have luck getting the correct…
Slbox
  • 10,957
  • 15
  • 54
  • 106
5
votes
1 answer

How to exporting targets fetched with FetchContent

I'm trying to use FetchContent CMake helper to automate building required dependencies in case they are not installed/available through find_package, but hitting a wall at how to handle exporting the build targets. My own project e.g. needs TinyXML2…
joaocandre
  • 1,621
  • 4
  • 25
  • 42
5
votes
0 answers

Applying DependencyResolutionManagement configuration from a java gradle plugin to define a Version Catalog

I am trying to develop a grade plugin in java to configure version catalogs. The plugin can configure a version catalog in one of two ways. Add a file to libs.versions.toml to the dependent projects gradle folder. Apply a version catalog as part of…
5
votes
0 answers

Swift Package Manager: two similar targets different only with the dependencies

I'm migrating a library built and tested as an Xcode Project to Swift Package Manager. The project contains 3 targets: the library itself, the same library but with different dependency and the test (application) target. So far, porting the library…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
5
votes
2 answers

Flutter - android - Execution failed for task ':app:checkDebugDuplicateClasses'

I am not able to use flutter_html: ^2.2.1 and audio_manager: ^0.8.2 in one project. It shows error Execution failed for task ':app:checkDebugDuplicateClasses'. A failure occurred while executing…
Ankit Solanki
  • 51
  • 1
  • 5