dependencies

Gradle dependencies with file directories

二次信任 提交于 2019-12-21 05:08:08
问题 I'm writing an EJB jar module for a jboss ear application. I'm using gradle and I don't want to try to declare all of the different dependencies that the jar would rely on at runtime from JBoss. Is there a way to declare dependencies on all files within a directory tree. 回答1: In the dependencies section of your build.gradle file you can use a FileTree reference. For example: dependencies { compile fileTree(dir: "${jbossDir}/client", includes: ['*.jar']) } This will include all of the JAR

How to represent form options that depend on other forms

陌路散爱 提交于 2019-12-21 05:06:58
问题 I have a form that is suposed to help to user to choose a specific thing at the end, but as the user fills the first options, the others below change. Something like this: Type: { t1:{ Number of X:{ 1:{...} 2:{...} } Number of Y:{...} } t2:{ Number of X:{ 100:{...} 200:{...} } Number of Y:{...} } } The user has the field Type with the options t1 and t2, when they choose t1, the field "Number of X" will be filled with 1 and 2, if they choose t2, the field "Number of X" will be filled with 100

61 Duplicate classes in classes.jar, WHERE is classes.jar located?

荒凉一梦 提交于 2019-12-21 04:49:46
问题 So, I have a noob problem with my app I've been working on for about two weeks. All of a sudden, it began to produce errors on launch! The app is almost done, and now it don't work anymore. The problem seem to be in classes.jar folder! And I can't find this folder, as the noob I am! I've tried pretty much all I've found on this thread, but nothing solves it... And i'm not even joking, I counted EACH ONE of those freaking errors. 61 (YES) duplicates?! What the heck is going on.. Duplicate

Exclude base library inclusions from Doxygen dependency graph?

守給你的承諾、 提交于 2019-12-21 04:29:30
问题 I'm documenting a c++ project for college with Doxygen, and everything is correct, but the dependency graph shows like this: I would like that the graph doesn't show inclusions such as list, map or string, and only includes custom Classes i created for the project, but i can't find anything online or on the docs. Does anyone know how to do this? 回答1: Since you want to exclude the stdlib container classes, you should probably add the std:: namespace to your doxyfile: EXCLUDE_SYMBOLS = std::*

OpenWRT - package missing dependencies when recompiling

荒凉一梦 提交于 2019-12-21 04:15:12
问题 If anybody can help me with this I would really appreciate it because it's driving me insane. When I compile an OpenWRT image from scratch including my packages, usually, everything works fine. Otherwise, when I then try to recompile, I keep getting missing dependency errors. The only solution I have found which works is to place my package into a completely clean OpenWRT environment and compile everything again. This is not helpful considering it takes over an hour to compile the entire

How can I manage OSGi build dependencies?

安稳与你 提交于 2019-12-21 03:53:05
问题 We've embedded an OSGi runtime (Equinox) into out custom client-server application to facilitate plugin development and so far things are going great. We've been using Eclipse to build plugins due to the built-in manifest editor, dependency management, and export wizard. Using Eclipse to manager builds isn't very conducive to continuous integration via Hudson. We have OSGi bundles which depend on other OSGi bundles. I'd really hate to hardcode build order in a custom ANT build. We've done

angularjs module dependencies

左心房为你撑大大i 提交于 2019-12-21 03:52:39
问题 I've defined my main module as such: angular.module('domiciliations', ['domiciliations.service', 'loggerService', 'person.directives']). config(['$routeProvider', function ($routeProvider) { $routeProvider. when('/domiciliations/mandats', { templateUrl: 'domiciliations/views/mandats.html', controller: mandatsCtrl }). when('/domiciliations/mandats/:rum', { templateUrl: 'domiciliations/views/mandat.html', controller: mandatCtrl }). otherwise({ redirectTo: '/domiciliations/mandats' }); }]).

How to tell what packages you have used in R

五迷三道 提交于 2019-12-21 03:33:38
问题 I have a very long R script with many if statements and exception cases. As i've been going, if been importing and testing libraries as I've gone and haven't really documented them very well. The problem is that if I run this from a clean installation, i'm not sure which statements the script will run, and so which libraries will be needed. My question is: Is there any R function to test which libraries are being used in a script? EDIT: I have not used all of the libraries that have been

Application will not run on device: DELETE_FAILED_INTERNAL_ERROR?

僤鯓⒐⒋嵵緔 提交于 2019-12-21 03:24:52
问题 Problem : I made some changes to my gradle file and whenever I try to run my application I keep getting the error DELETE_FAILED_INTERNAL_ERROR after being told that the application path must be uninstalled then re-installed to run the app. I approve the uninstall and then the DELETE_FAILED_INTERNAL_ERROR is thrown and execution just outright stops. Here is my gradle file: apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig {

Mockito, JUnit, Hamcrest, Versioning

三世轮回 提交于 2019-12-21 03:20:19
问题 By default, the required version of Hamcrest for: JUnit 4.11 Hamcrest 1.3 Mockito-core 1.9.5 Hamcrest 1.1 There were not insiginifcant API changes between Hamcrest 1.1 and 1.3. Currently my test cases attempt to run JUnit 4.11 with Hamcrest 1.1, but I'm reasonably sure that this is a bad idea. For similar reasons, I suspect that trying to use Mockito-core 1.9.5 with Hamcrest 1.3 is also a bad idea. What to do? Use Hamcrest 1.1 with the latest JUnit and Mockito Use Hamcrest 1.3 with the latest