dependencies

Build module with different versions of libs in Maven

那年仲夏 提交于 2019-12-11 20:26:37
问题 I have a Netbeans' module ( Module.jar ) with a lot of dependencies declared on its pom.xml : <groupId>com.company</groupId> <artifactId>module</artifactId> <packaging>nbm</packaging> ... <dependency> <groupId>org.netbeans.api</groupId> <artifactId>org-netbeans-modules-editor-lib</artifactId> <version>${netbeans.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.netbeans.api</groupId> <artifactId>org-netbeans-modules-editor-lib2</artifactId> <version>${netbeans

Maven finds artifact but cannot compile

会有一股神秘感。 提交于 2019-12-11 19:25:27
问题 When I run a mvn compile I get a list of errors from the compilation that all say a package is missing that I have as a dependency in my pom.xml. Pom.xml `<dependency> <groupId>com.fortysevendeg.android</groupId> <artifactId>swipelistview</artifactId> <version>1.0-SNAPSHOT</version> <type>apklib</type> </dependency>` Error error: package com.fortysevendeg.swipelistview does not exist I would really appreciate some help on this one. I have been banging my head against this for a while now. 回答1

InstallShield UseDLL() doesn't find dll dependencies in the same directory

二次信任 提交于 2019-12-11 19:16:48
问题 I have 1 dll file which I try to load during the installation with UseDLL() in one of my installscripts. this dll has 2 dlls it depends on. they both located on the same directory of the main dll. When in build the installation with an older installshield - it find it's dependencies and works fine. When I try to build it with IS2016, it fails because it doesn't find it's dependencies. (If I put these 2 dlls in SysWOW64 - it finds them and works fine). What is the problem? Thanks, Dudi 回答1: It

How to pull output (.dll) from one project to another?

白昼怎懂夜的黑 提交于 2019-12-11 18:44:17
问题 As the part of a bigger solution, I have two projects. One is c++ library packed as a DLL, and other is .NET wrapper for it. What would be the best way to indicate to Visual Studio that output DLL from first project is to be pulled into the destination folder of second project, and more: for projects that use wrapper, will they pick up also the DLL from the first one. I could do it with post-build steps, but I'm after something more sophisticated. Is that possible? EDIT: we could also ask:

yum complains (incorrectly?) of MySql dependencies - when installing zenoss

偶尔善良 提交于 2019-12-11 18:27:49
问题 I'm trying to install Zenoss Core - following the instructions in the installation manual, but it complains on dependencies which seems it should not. Looks like it is not looking at the locally installed packages. Could you suggest a way to change the yum command to get around this problem? To illustrate, even though all my installed MySql RPMs are of version 5.6.10-1.el6 [root@ip-10-110-175-98 tmp]# rpm -qa | grep -i mysql MySQL-server-5.6.10-1.el6.x86_64 MySQL-shared-5.6.10-1.el6.x86_64

How to avoid a class dependency monolith using Intents in Android?

我们两清 提交于 2019-12-11 18:23:40
问题 As I describe in this question I can not utilize Gradle's incremental compilation properly, as almost our whole codebase is dependent on each other. This causes almost 500 classes to compile all the time. I found out that many of the class dependencies are caused by the use of explicit Intents like such: Intent intent = new Intent(context, NewActivity.class); This creates a class dependency from the current class to NewActivity . Connecting activities in this way quickly form a class

testNG taskdef definition in Ant using Maven dependencies

◇◆丶佛笑我妖孽 提交于 2019-12-11 18:17:08
问题 I am trying to use Ant and Maven to build a project. I am using testNG for test units. As stated here ( http://testng.org/doc/ant.html ) I have defined the taskdef as follow: <taskdef resource="testngtasks" classpath="testng.jar"/> in Ant. In Maven I have added the following (as stated here: http://testng.org/doc/maven.html) <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.2</version> </dependency> Maven is getting the files from maven repository and I

register dependency Unity

守給你的承諾、 提交于 2019-12-11 18:06:44
问题 I just want to ask if there's a way to register dependencies in a simpliest way using unity. public class Module : IModule { IUnityContainer _container; IRegionManager _regionManager; public Module (IUnityContainer container, IRegionManager regionManager) { _container = container; _regionManager = regionManager; } public void initialize() { IRegion region = _regionManager.Regions[RegionNames.ContentRegion]; _container.RegisterType<"InterfaceHERE", "CLASSHERE">(); } I do have 30-40 classes and

How can I eliminate the dependency from of a ListView's onItemClick/getView and its row types?

血红的双手。 提交于 2019-12-11 18:05:23
问题 As a simplified example, consider a ListView that can contain both sub-categories and book titles. If a book title is clicked, a new activity should start that shows the cover image. If a sub-category is clicked, a new list of books and categories is displayed. A Row interface is defined as follows. interface Row { void onClick(); void draw(View v); } I would like to know how to prevent a dependency from the ListView 's ArrayAdapter as well as from the implementer of onItemClickListener on

Trying to find and install libstdc++.so.5 to run C++ with mex for MATLAB

放肆的年华 提交于 2019-12-11 18:01:26
问题 I am using the BGL libraries for MATLAB found here on fileexchange . I get this error when using a function from this library under Ubuntu 10.04 LTS (this error did not occur under Windows, where it worked normally). ??? Invalid MEX-file '/home/alex/Documents/MATLAB/MATLABsvnWorkingDir/Bloom/graphAnalysis/analysisAttempt2/functi onsDownloaded/matlab_bgl-4.0.1/matlab_bgl/private/components_mex.mexglx': libstdc++.so.5: cannot open shared object file: No such file or directory. Error in ==>