天道酬勤,学无止境

dependencies

Git subrepositories

I am a member of a small firmware team and we use a private Git server for version control. Our codebase typically has folders for platform specific code, common code used by multiple platforms and an SDK provided by the manufacturer of the microprocessor we develop on. Currently our repositories are centered around common code; each platform has a folder in the repository. This has at least two serious consequences; When we push changes for one platform it's visible for all other platforms which share the same common code. This clutters the commit history with releases for multiple platforms

2021-06-14 14:18:44    分类:问答    git   dependencies   repository

Visual Studio: how to handle project dependencies right?

I'm writing a program (in C++), which requires several VS projects, that I would like to put in the same VS solution. I'm using Visual Studio 2010. Here is simply the wanted architecture : I'm using a 3rd party library (A) for my project, I have all the headers and .lib files, that I compiled with the source code. With this library, I'm writing my own classes and function. That is my project (B). Then I would like to develop two interfaces for the users: A command line interface (C1) and a GUI interface (C2), that are using the classes and functions defined in (B). A <-- B <-- C1 <-- C2 I'm

2021-06-14 11:41:43    分类:问答    c++   visual-studio   dependencies   project

ejb with client artifact - runtime dependency?

Our company creates an ejb in two artifacts. The impl artifact contains the implementations and the client artifact contains all the interfaces. This means that the impl artifact has a compile dependency on the client artifact. Now at runtime, the client artifact needs the impl artifact - otherwise the container cannot inject the required objects. This means that an ear needs to contain the impl artifacts for all client artifacts. Does this mean that the client artifact should have a runtime dependency on the impl artifact? Or should these "circular" dependencies be avoided, even if one

2021-06-14 10:57:59    分类:问答    java   maven   dependency-injection   dependencies

Mixing different versions of Java libraries

My project uses Java libraries that have their own dependencies (Hadoop, Jetty for example). I end up with different versions of the same dependencies, like ant 1.4.5, 1.4.6. My project may want to use ant 1.4.7. This is a small example, can get more complicated with larger dependencies like HTTP Commons. How do I get all the libraries and dependencies to play nice? Is there a way to isolate each library (Hadoop, Jetty) so they only use their dependencies?

2021-06-14 08:21:02    分类:问答    java   dependencies

How to manage version dependencies in a C#/.NET Project?

Suppose you have Project A, and this has various dll dependencies, but the tree looks something like this: Project A => Project B => Project C => Project D => Project C => Project E => Project C, v2 Is there a way to use Project E since it relies on a newer version of Project C (dll) even though the rest of the project is using an older version of that same library? If there is not a way, or one that would cause much gnashing of teeth, is there a forward thinking solution to preventing this from happening on future projects?

2021-06-14 06:26:55    分类:问答    .net   dependencies   reference

List of possible classifiers and types in dependencies

I have searched the net for the all the possible values that you can put in the scope tag inside dependency tag, but I haven't found any list with the same data for the classiffier and the type. Anybody knows what I can and cannot put inside this tags? Just to be clear, I am not asking what does the classifier tag or the type tag do, I just want a list of the data that this tag accepts or where can I find it. Thanks!

2021-06-14 06:23:55    分类:问答    maven-2   dependencies   classification

What is a good way to deploy a Perl application?

I posted this question looking for something similar to Buildout for Perl. I think Shipwright is what I'm looking for but I'm not really sure. I've played around with it and I created a project, imported all of my source and dependencies and I've exported everything to a vessel then the documentation sort of just stopped. What do I do with a shipyard vessel? Do I do my actual development work in the vessel, or do I do my development in the Shipyard? I'm assuming that the vessel is only for deployment, but how do I actually deploy a vessel to a web server (say I'm using linux, apache and just

2021-06-14 03:16:23    分类:问答    perl   deployment   dependencies

How to import FromString for joda-time?

I try to use joda-time library for easier measuring the execution time of my program (not for profiling, just for the user). But when I compile my project I get error about missing dependency -- the "FromString" class is missing. I tried to explicitly import it, but while typing intellisense (IntelliJ) does not even detect it, on the other hand there is only one jar for download from joda-time site. How do I resolve this dependency? I am aware of wrapper for JT but for now I would like to use it directly.

2021-06-14 02:56:34    分类:问答    scala   dependencies   jodatime

How to fix a missing ld library for -lfl while compiling?

I am trying to translate my .spl file into a C file (because there is no compiler). I have an example "Hello World" .spl file, and I have downloaded the Shakespeare Programming Language .tar and extracted it, but I have no idea what to do next. I can't seem to find instructions in any documentation. Can anyone help? Edit: When I type make -f "Makefile", I get the following output: bison --verbose -d grammar.y gcc -O2 -Wall -c grammar.tab.c gcc -O2 -Wall -c makescanner.c gcc makescanner.o -O2 -Wall -o makescanner ./makescanner include > scanner.l flex -Cem -t scanner.l > scanner.c scanner.l:600

2021-06-13 23:32:13    分类:问答    compiler-errors   compiler-construction   dependencies   bison   flex-lexer

azure functions with nuget packages that have different versions of the same dependency

I am writing an Azure Function that is using 2 nuget packages (A and B) from my private feed. Package A uses Dapper version 1.50.2 directly and package B uses Dapper.SimpleCrud 1.13.0 which has a dependency on Dapper version [1.42.0, 2.0.0). Within the Azure Function I have added project.json where I specify package A and B and their versions. When I look at the installed packages within the azure function I see Dapper 1.42.0 and 1.50.2 are both installed. when I attempt to call methods in package A and B I get an error on the azure function logs saying that it could not find Dapper version 1

2021-06-13 19:15:09    分类:问答    azure   dependencies   nuget-package   azure-functions