dependencies

MsBuild does not look in the good directory for custom task's second-level dependencies

♀尐吖头ヾ 提交于 2019-12-30 06:42:06
问题 I wrote a MsBuild Task : MyTask. In my solution, I have the Task project and others projects. MyTask references a project (say ProjA) which references third assemblies, say (dep1 and dep2). The projects all builds well and I have the outputs in one directory (Compil). In this directory i have all the dll's I want : MyTask.dll, ProjA.dll, dep1.dll, dep2.dll and others. In my MsBuild file i include the custom task assembly with : <UsingTask AssemblyFile="..\Compil\MyTask.dll" TaskName=

Does git need to be present on a server to use it?

我怕爱的太早我们不能终老 提交于 2019-12-30 06:32:08
问题 When I started with git, one of the most prominent benefits my colleagues told me, was that git didn't need to be present on a server opposed to svn. But is this really true? In another thread I read that at least a git-upload-pack or git-receive-pack would be necessary. On the other hand, I can safely have a git repository on an usb stick. So, does the server need to have any software installed except to ssh or not? 回答1: No, you're correct when you're saying you can serve a git repository

Android strict dependency checks in SDK 17

牧云@^-^@ 提交于 2019-12-30 05:59:19
问题 This is not a question because I already found the answer . The new Android SDK 17 has a stricter dependency check on jar files. At the same time, they added a jar that I think wasn't there before. My project encountered a conflict between the new annotations.jar in the SDK and one that I already used. Replacing one by the other would work, if they have the same origin. My annotations.jar is from jetbrains, via a Guice dependency, so replacing it doesn't work. This is the error I got: [2012

Dependencies of references not copied to output directory

。_饼干妹妹 提交于 2019-12-30 05:43:05
问题 I have a CommonUtils lib I have built into a dll which I file reference from several of my projects. CommonUtils depends on log4net.dll which was set as a file reference and copy-local=true when CommonUtils.dll was built. log4net.dll and CommonUtils.dll are not in GAC. Everything works fine in MyWorkingProject where I only have a file reference to CommonUtils.dll - log4net.dll shows up in the output directory (as it is a dependency of CommonUtils.dll but not referenced from MyWorkingProject).

Finding missing Maven artifacts

扶醉桌前 提交于 2019-12-30 04:26:09
问题 I'm new to Maven, and struggling with adding dependencies. I'm trying to convert an existing project to Maven, and after adding the dependencies for all the jars in my referenced libraries, I'm receiving an error message about missing artifacts: Missing artifact stax:stax:jar:1.0 Missing artifact clover:clover:jar:1.3-rc4 Missing artifact log4j:log4j:bundle:1.2.16 Missing artifact stax:stax-ri:jar:1.0 From reading this post: How to handle Maven missing artifact errors?, it sounds like I need

In setup.py or pip requirements file, how to control order of installing package dependencies?

末鹿安然 提交于 2019-12-30 04:11:07
问题 I've got a Python package with its setup.py having dependencies declared via the usual way, in install_requires=[...]. One of the packages there, scikits.timeseries, has a setup.py expecting numpy to already be installed, thus, I'd like some way to have numpy installed first. For this case and in general, can the order of dependency installation be controlled? How? Currently the order in which setup.py pulls down dependencies (as listed in the arg install_requires) seems practically random.

How can I build a 'dependency tree diagram' from my .NET solution

自古美人都是妖i 提交于 2019-12-30 03:13:43
问题 I can get easily see what projects and dlls a single project references from within a Visual Studio .NET project. Is there any application or use of reflection that can build me a full dependency tree that I can use to plot a graphical chart of dependencies? 回答1: In addition to NDepend, you can also try this addin for Reflector for showing assembly dependency graph. 回答2: NDepend comes with an interactive dependency graph coupled with a dependency matrix. You can download and use the free

How to Check all stored procedure is ok in sql server?

余生长醉 提交于 2019-12-29 10:29:08
问题 How to check all stored procedure is ok in sql server if I drop a table or fields? 回答1: I found Cade's answer useful in formulating my own script for checking objects in a database, so I thought I'd share my script as well: DECLARE @Name nvarchar(1000); DECLARE @Sql nvarchar(1000); DECLARE @Result int; DECLARE ObjectCursor CURSOR FAST_FORWARD FOR SELECT QUOTENAME(SCHEMA_NAME(o.schema_id)) + '.' + QUOTENAME(OBJECT_NAME(o.object_id)) FROM sys.objects o WHERE type_desc IN ( 'SQL_STORED_PROCEDURE

Dependency exception when deploying maven project

二次信任 提交于 2019-12-29 09:09:09
问题 I' trying to deploy my maven project to Glassfish 4 but I get the following exception when it fails to deploy: Severe: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: CDI deployment failure:WELD-001408 Unsatisfied dependencies for type [IterableProvider<InjectionResolver<Object>>] with qualifiers [@Default] at injection point [[BackedAnnotatedParameter] Parameter 2 of [BackedAnnotatedConstructor] @Inject org.glassfish.jersey.internal.inject

How to deal with multiple versions of dependencies?

旧巷老猫 提交于 2019-12-29 08:17:10
问题 Hi I have a problem with a dependency hierarchy I am unsure how to solve: alt text http://img525.imageshack.us/my.php?image=56330713it2.jpg http://img525.imageshack.us/my.php?image=56330713it2.jpg The problem is with how I should reference these dependencies from MyProject project. I have built BaseProject and the CommonUtil(version 1.0) it was built with into assemblies. Now in MyProject I am using classes from CommonUtil and I am unsure if I should reference the CommonUtil.v.1.0 or if I