FAQ Database Discussion Community


AngularJS: Failed to instantiate module error

javascript,angularjs,module,controller,dependencies
i know this question has already been asked, but i could not find the answer to my personal case. I'm sure it's a stupid thing i didn't notice but i'm not getting out of it. I'll post all the code i have (it's not that much) because i can not...

Circular dependency on inheritance in C++

c++,dependencies,circular
I have already searched a lot on the web, but I haven't found anything that might solve my problem. I have these classes: File: A.h #include "B.h" class A { ... B method(); } File: B.h #include "A.h" class B : public A { ... } I'm getting this error...

The method is undefined for the type [Class Name]

java,maven,dependencies,maven-plugin
I have to projects both contains the pom.xml , Let say Project A and Project B. In project B I added project A as dependency in its pom.xml. In project A there is a class Mirror.java, in this class I added method and then updated the Project B by right...

Confused with Gradle Dependencies

gradle,dependencies,dependency-management
I am trying to add my dependencies to Gradle Dependencies library in eclipse, and when I run this, it downloads these dependencies, however my other dependencies are in the Gradle Dependencies folder under Gradle Project in eclipse but this one is not. Please help, I just need to add a...

How to exclude dependencies of other subproject in Gradle build?

java,eclipse,gradle,dependencies,dependency-management
I am developing a sub-project that is a part of the huge multi-project Gradle build. I need some Java classes from these other sub-projects, but I do not need any dependencies they drag in because some libraries I use require different versions of these. I initially configured the needed subprojects...

How to make sure a maven dependency is in a given scope?

java,maven,dependencies
In a project I'm working on, we discovered Oracle coherence product was used by our EAR as a compile dependency. This triggered weird classpath issues that have been detected and coherence is now a provided dependency. However, I would like to make sure nobody ever do again the mistake of...

Removing elements before and after a list

list,python-3.x,dependencies
I start from a list that looks like this: ['package1:', 'package2:', 'package1,', 'package2', '|', 'package4', 'package3:', 'package2', '|', 'package1,', 'package3'] Since i'm working with dependencies and the | means or, when i find one i create a sublist so that i can work on it later. For now the output...

PHP Composer not installing - Your requirements could not be resolved to an installable set of packages

php,dependencies,composer-php,slimframework
I just set up Slim Framework for PHP, and I'm having a hard time installing the slim/views library through composer.json My composer.json looks like this: { "name": "slim/slim", "type": "library", "description": "Slim Framework, a PHP micro framework", "keywords": ["microframework","rest","router"], "homepage": "http://github.com/codeguy/Slim", "license": "MIT", "authors": [ { "name": "Josh Lockhart", "email":...

Does it make sense to optimize data hazards if a processor supports out-of-order execution?

optimization,data,dependencies,processor
Is there still a possibility for programmers to optimize data hazards for processors that support full out-of-order executionn?

Where is the source code of for the task `gradle dependencies`

gradle,dependencies,source
Gradle has a dependencies task to show the dependencies of a project as a tree. I want to look into the source code to see how is it implemented, but can't find it. Where can I find them?...

using Composites with Shell for java in eclipse with maven

java,eclipse,maven,dependencies,swt
I have a java maven project in eclipse that is using some Composites, however I am having trouble when creating a main method to launch my widgets. I added the following dependency: <dependency> <groupId>org.eclipse.rap</groupId> <artifactId>org.eclipse.rap.rwt</artifactId> <version>3.0.0-M5</version> </dependency> And this is my main method (where MainWindow is my composite) public static...

How to resolve dependencies while installing application on linux (CentOS 7.1)

linux,centos,dependencies
When I tried install deluge on my CentOS 7.1 I was facing dependecy problems due to some el6 which are not meant for CentOS 7.1. So, I found this page: https://gist.github.com/dasgoll/111f6f3364e2ab97bc08 His instructions: Centos 7.1 yum -y install wget wget hxxp://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpm yum -y install deluge-web systemctl start...

Incorrect liferay-plugins dependency

gradle,dependencies,liferay,liferay-6.2
In https://github.com/liferay/liferay-plugins/blob/6.2.x/build-plugins.gradle#L9 following dependency is defined: dependencies { classpath group: "com.liferay.portal", name: "portal-service", version: "7.0.0-SNAPSHOT" } How can a 6.2.x version have a dependency on 7.0.0 version? Is it a bug? When I peek to the history of the file, the dependency has always been there. I am not able...

How do you edit a dependency/external library in android studio? [duplicate]

java,android,dependencies,external,edit
This question already has an answer here: How do I add a library project to the Android Studio? 24 answers There is a lot of information about adding libraries and dependencies, but I haven't been able to find any useful information on being able to actually edit a library....

Composer: Package that extends another from a fork

git,dependencies,fork,composer-php
I've the following situation: There is package author/package1 on GitHub and Packagist. I decided to fork it into tcb13/package1 to add some code (that will eventually get merged into the original project, however it will take time). Later on, I developed another package, tcb13/package1-extension that extends the fork tcb13/package1 by...

php - Iterate through array and order by dependencies

php,dependencies
I was wondering if there is a known class/functions or any tutorials out there that can help in ordering an array by its dependency (stored as there value of the key pair). i.e. (please note these are not actual dependancies) Array ( [blueimp-canvas-to-blob] => Array ( ) [blueimp-load-image] => Array...

Django migrations missing way to declare “needed_by”?

django,dependencies,database-migration,django-south
If you have two apps: core_app plugin_app The core does not need the optional plugin. Up to now we used south and could use needed_by if a migration of the plugin needs to run before a migration of the core app. I could not find something in the docs: https://docs.djangoproject.com/en/1.8/topics/migrations/...

Cannot resolve symbol 'AndroidJUnit4'

android,gradle,dependencies,build.gradle,android-uiautomator
Obviously I need the correct import statment to solve this problem. According to the docs for AndroidJUnit4, this should be import android.support.test.runner.AndroidJUnit4; When I do that, Android Studio highlights runner in red and complains "Cannot resolve symbol 'runner'". Background I got to this point by following the tutorials on the...

Is there a more efficient way to satisfy project dependencies than pip?

python,linux,django,dependencies,pip
I work on a system and the hosting guys don't want to use an install script that uses pip. Now we have a large pip requirements file that install the dependencies. Is there any other way to do it than using pip? Can it be done using yum or apt-get...

RequireJS extract list of all modules

module,requirejs,dependencies
How can one extract a list of all modules from a project using RequireJS? I am interested in getting the structure of the project, looking at modules and their dependencies.

Is it possible to install x11 without pulling in hundreds of other packages?

dependencies,x11,rpm,opensuse,xterm
I'm sure this is a stupid question, but I'm going to ask anyway. Is it possible to install the xterm and xorg-x11-fonts packages on an OpenSuSE machine without pulling in a ton of other packages that it seems to depend on? Is everything in that host of packages truly needed?...

How do I fix this dependency issue in Clojure?

clojure,dependencies,jackson,leiningen
I'm having a lot of trouble fixing an issue where the dependencies for two different packages are colliding. My project.clj's dependencies look like this: :dependencies [[org.clojure/clojure "1.6.0"] [itsy "0.1.1"] [amazonica "0.3.22" :exclusions [commons-logging org.apache.httpcomponents/httpclient com.fasterxml.jackson.core/jackson-core]]]) My namespace looks like this: (ns crawler.core (:require [itsy.core :refer :all]) (:require [itsy.extract :refer :all])...

Inter-dependencies between static libraries

eclipse,gcc,linker,dependencies,static-libraries
I am trying to link two libraries libA.a and libB.a along with a main.c file. libB has dependencies on libA, and main has dependencies on both. I am able to compile the libraries independently, but when I try to link them together to create the final executable, I get the...

Is there a fast way to figure out the source of all dependencies in my node.js / npm project?

node.js,dependencies,npm
npm is capable of installing dependencies from the official npm registry, git urls, HTTP urls, and other sources. Is there a fast way to recursively determine where all of the dependencies in my project came from? Basically I need to make sure that all of my dependencies are coming form...

Angularjs: How to inject dependency from resolve routeProvider

angularjs,routes,dependencies,code-injection,resolve
I have a problem injecting resolve parameters from the routing into the controller. I'm setting the resolve value to an object {name: 'Banner', slug: 'banner'}, but I get an error. App.js var app = angular.module('CMS', ['fields', 'ngRoute']); app.controller('ModuleController', ['$http', 'properties', function($http, properties) { var module = this; module.properties = properties;...

Eclipse - How to add a project as a Maven dependency to another, instead of adding as a jar?

java,eclipse,maven,dependencies,dependency-management
I have two Maven projects. One should be a dependency to another. Both have pom.xml files. When I search repository, it sees the local project and automatically added. The pom.xml entry when I add it: <dependencies> <dependency> // for another dependency, an external jar <groupId>..</groupId> <artifactId>..</artifactId> <version>...</version> </dependency> <dependency> //...

Gradle + bintray: Specifying Dependencies of dependencies correctly

java,maven,gradle,dependencies
I have the following scenario: I want to use a project of mine (hosted on bintray.com) in another project of mine. I set up a maven repository, uploaded artifacts and pom files and then was able to utilize the jar file(s) uploaded to the bintray maven repo just fine, with...

Python: import of Modules with mutual dependency

python,dependencies
I have two files rest_api.py and Contact.py. Contact is similar to a domain object (contains Contact class), while rest_api has functions for setting up the application. In rest_api I have the following lines: from Contact import Contact ... client = MongoClient('localhost',27017) collection = client.crypto_database.test_collection def dbcollection(){ return collection } ......

using libraries in Golang

go,dependencies,packages
First of all and to be clear I come from the Java world, and I have been programming on go for a while and I really love it. I have a small question about the packaging system and the imports, if I am importing a library which uses another library...

Can't use RecyclerView in my Android library project

android,gradle,dependencies,recyclerview,android-library
I have an Android library project and want to include a class that extends RecyclerView.Adapter. My build.gradle file includes the following: apply plugin: 'com.android.library' dependencies { compile 'com.android.support:recyclerview-v7:21.0.+' } Despite this, I cannot import RecyclerView in any java file; it even does not show up in the code completions popup...

Laravel 5 Resolving dependencies in ServiceProvider

php,dependencies,laravel-5,ioc-container,service-provider
I have a class which acts like a storage (add/get item). I try to bind it as a singleton in one service provider, and resolve it in another's boot method. The code is changed for simplicity. app/Providers/BindingProvider.php <?php namespace App\Providers; use Illuminate\Support\Facades\Facade; use Illuminate\Support\ServiceProvider as ServiceProvider; class MyBindingFacade extends Facade...

Maven dependencies on release

maven,dependencies
I'm trying to make a release with maven. I got one project ws-client in 2.4-SNAPSHOT (I allready have released this one). This project is in dependencies of metier project (still in 2.3-SNAPSHOT). Here is the dependency in pom.xml : <dependency> <groupId>${project.groupId}</groupId> <artifactId>ws-client</artifactId> <version>2.4-SNAPSHOT</version> </dependency> When I'm trying to release the...

Gradle & local Ivy repository not finding transitive dependencies

maven,gradle,dependencies,ivy,dependency-management
I am building a Spring Boot web application and in my setup I have a local repository that hosts all my thirdparty JARs - the repository is ivy format. I have been able to build the WAR file whilst connecting to Maven Central repository, and I now need to be...

Find the functional dependencies that hold in a relation

sql,database,dependencies,normalization
There is a question in my book that asks the following: Suppose we have relation R ( A ,B ,C ,D ,E ) , with some set of Functional Dependencies (FD's), and we wish to project those FD’s onto relation S(A, B, C). Give the FD’s that hold in S...

Staying up to date with software releases of dependencies

dependencies,monitoring,updates,dependency-management,software-release
I think everybody uses some third party software (dependencies) in his projects. Often you drop in one version at a time and never update it, cause you don't know there is a new version and if there is you may have some migration work. Most of these 3rd party projects...

java.exe finished with non-zero exit value 2

android,dependencies,android-gradle
My previous play service version is 6.5.87 and I upgraded to 7.0.0 then Got this error com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdkx.x.x_xx\bin\java.exe'' finished with non-zero exit value 2 compile 'com.google.android.gms:play-services:6.5.87' I have upgraded play service Then....Now my gradle is dependencies { compile project(':com_facebook_android') compile project(':pullToRefreshLib') compile project(':smoothProgressbarLib') compile...

Best way to work with online dependencies in Java

java,eclipse,maven,intellij-idea,dependencies
First of all, sorry about my bad english. Well, I've got a Minecraft server and, for those who don't know, it works with Java plugins. To create a plugin, it's needed to import a dependency(the jar that runs the server). Since I need to modify those dependencies sometimes, I've got...

How to hook to action of another Orchard Module

model-view-controller,module,dependencies,orchardcms
Given: Module A and Module B up and running in Orchard CMS Objective: Execute some code from Module B when action of Module A is invoked Details: Module A updates the UserPartRecord table and Module B should update other tables when a new record is created I see that i...

Where can I find the document for `(*)` and `1.7.6 -> 1.7.7` in the output of `gradle dependencies`

gradle,dependencies
For a gradle project with simple build.gradle file: apply plugin: 'java' repositories.jcenter() dependencies { compile "org.springframework.boot:spring-boot-starter-web:1.1.5.RELEASE" compile 'org.slf4j:slf4j-api:1.7.1' } When I run gradle dependencies, it will show: :dependencies ------------------------------------------------------------ Root project ------------------------------------------------------------ archives - Configuration for archive artifacts. No dependencies compile - Compile classpath for source set 'main'. +---...

Error:Execution failed for task ':app:dexDebug'…' finished with non-zero exit value 2

android,android-studio,google-api,dependencies
Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_75\bin\java.exe'' finished with non-zero exit value 2 I read some suggestion i try all of them but still i can not the problem.Plz help Here dependencies -> dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile files('libs/google-play-services.jar') compile files('libs/Parse-1.3.2.jar')...

Eclipse Dependency is not in pom.xml but still under “Maven Dependencies” group

java,eclipse,maven,dependencies
I added a dependency using Maven to my Java project in Eclipse. I added one version of the dependency from repository, then I saw that version is not what I want, then added an higher version (that doesn't exist in repositories) manually using maven's commands. And finally I deleted the...

Setting Dependencies/Triggers in bamboo?

automation,dependencies,bamboo
Im wondering if I can get some help in relation to Bamboo. I am very very new to this system. I am able to make plans etc but now I need to Automate 1 of those plans instead of manually kicking it off. Unlike the other plans I cant time...

Why do the JBoss/wildfly BOMs not contain all of the provided modules?

jboss,dependencies,pom.xml,wildfly,wildfly-8
Wildfly 8.x ships with BOMs for easy dependency management: https://github.com/wildfly/boms These are useful for the module-based classloading described here: https://docs.jboss.org/author/display/WFLY8/Implicit+module+dependencies+for+deployments However, when I look in $JBOSS_HOME\modules\system\layers\base, I see many, many more included modules. For example, dozens of org.apache modules like commons-lang, etc. are included. These deps are also not in...

What parameters can I pass to `gradle dependencies`

gradle,dependencies
When I run gradle dependencies, I can show the dependency tree of a gradle project. Is there any parameter I can pass? I know just one --configuration compile from somewhere, but can't find any documentation...

Scss dependency inside scss file using bower

sass,dependencies,bower
I'm developing a scss framework similar to bootstrap for my own projects. This project is a registered bower package. And in my scss files I'm depending on another bower package that i need to @import in my other scss files. It seems that just declaring dependency in the bower.json file...

Android: Proguard rules for dependencies and modules

android,dependencies,proguard
I have a project with a couple of modules, some jar dependencies in libs folder and some some other gradle dependencies. I am trying to build a release apk with proguard enabled but i am getting a lot of warnings during the build process for certain dependencies. e.g this: Warning:org.codehaus.jackson.jaxrs.JacksonJsonProvider:...

Laravel + git, contributers have different enviroment

php,git,laravel,dependencies,composer-php
Me and my coworker are trying to use local git repo for our Laravel project. I am using Ubuntu, with PHP 5.5.9-1ubuntu4.9, and he is using Debian with PHP 5.4.39. When I pulled his commited version, I get an error when trying to run composer update: [email protected]:/var/www/frontend$ composer install Loading...

maven same transitive dependency but different version

maven,dependencies,transitive-dependency
I am running into a problem where I have the following 2 dependencies: org.apache.felix » org.apache.felix.utils » 1.6.0 and com.github.rotty3000 » phidias » 0.3.2 they both have transitive dependency on org.osgi.core, felix depends on version 4.1.0 and phidias depends on version 5.0.0 we need version 5.0.0 for our code to...

Android Studio: ActionBarActivity becomes deprecated when adding a dependency?

android,dependencies,deprecated,android-actionbaractivity,floating-action-button
I'm somewhat of a newbie so do excuse me if this is really basic. Anyway, in an attempt to add a Floating Action Button (FAB) to my layout, I decided to add a dependency to a library, like this: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2...

Javascript import just for development

javascript,dependencies,gulp,bower,wiredep
I come from a Java background where it's pretty common to have dependencies for testing and not for production, however, using I'm finding it hard to understand how this can be achieved with Javascript and HTML. I really would like to be able to develop some javascript which only runs...

PL SQL Find Dependencies on Table Field

database,oracle,plsql,dependencies
I am needing to find all references to a table's field, and I have hundreds of stored procedures to search through. The goal is to find where it is being used in where clauses and add an extra value to the in statement. For example, where myTable.Field_X in (1,2,3) needs...

How to get a list of all packages required by another package

delphi,dependencies,packages,delphi-2007
My application uses runtime packages and I would like to get a list of all packages that are required by one of these. Example: PackA.bpl requires PackB.bpl and PackC.bpl. How can I get packages required from PackA.bpl at runtime? (In this example, they would be PackB.bpl and PackC.bpl)...

Adding BaseGamesUtils causes gradle to not sync

android,dependencies,playback
I am using android studio and I am attempting to add baseGamesUtils from github to a game I have made to add leaderboards. Following the tutorial at googles developer site, I downloaded and added the baseGameUtils Module to the project and added the dependency in the module gradle file. But...

Issue resolving gradle dependency in android studio?

android,android-studio,gradle,dependencies
I am trying to add a styled progress bar from https://android-arsenal.com/details/1/1375 There it says: Add the specific repository to your build file: repositories { maven { url "https://jitpack.io" } } Add the dependency in your build file (do not forget to specify the correct qualifier, usually 'aar'): dependencies { compile...

How to add libs to Eclipse CDT-managed projects

c,dependencies,eclipse-cdt
I am using the Eclipse CDT plugin to write simple C programs, and no where in the documentation can I find info on how to: Import C standard libraries such as assert.h, etc. Import non-standard, 3rd party libraries, such as glib, or even perhaps my own local libraries In Java-land,...

Why class declaration ordering still matters with prototyping?

c++,class,header,dependencies
I was struggling with a 'field "player" has incomplete type" error with my code. My class "game_session" contains a single "player" and I declare them both in the same header file as shown below: #ifndef HEADER_H #define HEADER_H #include <iostream> #include <vector> using std::vector; class Player; class GameSession; class GameSession{...

My project uses over 100 git submodules, which submodule alternative can handle a lot of repositories gracefully

git,dependencies,repository,workflow,git-submodules
I've been researching git subtree and other alternatives to git submodules. My project has well over 100 submodules and it's very unwieldy to manage them all. Can anyone recommend a workflow that works really well with a large number of repositories that need to be kept in sync....

Android Studio - Can't Resolve Dependencies

android,android-studio,gradle,dependencies
I've updated my android studio to v1.1.0 and since then i have a problem. when i try to import for example this lib: compile 'com.nispok:snackbar:2.10.2' this error appears to me: Error:(28, 13) Failed to resolve: com.nispok:snackbar:2.10.2 I noticed that i cant import every custom library that recently uploaded to jcenter....

Include library without running composer dump-autoload for a Laravel 4.x project in production

php,laravel,laravel-4,dependencies,composer-php
I'm developing for a Laravel project and we've recently started working with our DevOps team to bring our WebApp up on a staging server. The DevOps team is not familiar with Laravel and is fairly averse to running command line operations on the project to get it up and running....

Proper use of optional package features and dependencies

r,dependencies,r-package
I'm trying to provide some optional, convenient features to a package foo but I struggle with the dependencies of the dependencies. Specifically, I'd like to use some features from the bioconductor KEGGgraph-package if it is installed. KEGGgraph itself depends on the graph-package. From what I read (although it is not...

Maven copy dependendencies of dependency

java,maven,jar,copy,dependencies
I'm having troubles with Maven. Let's say I have some Java (Maven) projects: X Y I would like to include project Y in project X as a dependency. However, I want to copy all "lib" dependencies of Y project as well. Has anybody any idea ?...

Breaking cyclic dependency in constructor

java,dependency-injection,dependencies,circular-dependency,decoupling
I'm writing a Java class to manage a hex map (class GameMapImpl implements GameMap) that contains Cell objects. Cell objects are saved in a HashMap<Hex,Cell>, where the key is the position on the hex map. The whole thing used to be very tightly coupled between cells and GameMap, with a...

Is there a simple way to remove unrequired jars from 'libs' folder for Android project?

android,jar,dependencies
I'm working on Android app which uses 3rd-party library with dependencies. So i had to copy lot's of jar files as dependencies to libs folder. Is there any simple way to remove unneeded ones (i'm not sure which ones are unneeded actually)? I'm not using Gradle or Maven in this...

Node js Express doesn't recognize npm inside projectfolder

node.js,express,dependencies,npm
I'm trying to install express through cmd in windows. My problem is installing dependencies after i've successfully installed express and built a skeleton of the framework. It requires to install dependencies. It even tells me the code line cd Myprojectname && npm install But it says npm is not recognized...

NPM installing nested dependency when already satisfied by parent

node.js,dependencies,npm,transitive-dependency
I'm having an issue with NPM installing two copies of React in my project. Here are the relevant parts of the dependencies: My package.json: "dependencies": { "react": "0.12.2", "tcomb-form": "0.4.5" } tcomb-form's package.json: "peerDependencies": { "react": ">=0.12.0" } I would not expect tcomb-form to get it's own copy of React,...

Assembly Dependencies Change After Installation

.net,visual-studio,dependencies,installer,.net-assembly
I have a .NET application that seems to have some of its dependency versions change between debugging and running as an installed release app. I'll just focus on the Castle.Core assembly for my details, but the same issue occurs with a couple others as well. A NuGet package I'm using...

Is there a Pythonic generic “null dependency”?

python,dependencies
I often find myself in a situation where a class has an optional dependency. For example, the notifier in the following. class Example(object): def __init__(self, notifier=None): self._notifier = notifier or DummyNotifier() def doTheBusiness(self): doSomeWork() self._notifier.notifyComplete() As the notifier is optional, I have two choices: If no notifier is supplied, put...

Using Opam to manage project dependencies

dependencies,ocaml,opam
I am a complete newbie to OCaml. Other languages I have used (for instance Scala, Clojure, Javascript on Node.js) have package managers that allow one to start a project as a clean slate that has a declared set of dependencies of known versions. I am trying to do something of...

Creating objects and their reference from text input without losing informations

python,algorithm,oop,python-3.x,dependencies
Basically what i'm trying to do is to implement a dependency resolving algorithm. Suppose I have a list like the following: package1: package2: package1 package3: package1, package2 package4: package1 package5: package1, package2 Basically, package1 depends just on itself, package2 depends on package1, package3 depends on 1 and 2 and so...

Dealing with dependencies

design-patterns,dependencies
Is it considered a good practice to pass needed dependencies to method that requires them instead of passing those all dependencies to object constructor? Lets say I have a object that needs to be drawn. Is it considered a good idea to pass renderer to that object's draw() method or...

What is a good strategy for staying up-to-date with external API's?

ios,api,youtube,dependencies
My project is reliant on several API's, like Twitter and Youtube for example. Recently, Youtube deprecated their old API, and it caused issues with my team's iPad app. We could have stayed ahead of the change if we were paying attention to Youtube's announcements of the upcoming deprecation. But alas,...

Java project, include frontend library(Polymer)

javascript,java-ee,dependencies,frontend
I try to work on apache2 licensed project on github, it is a j2ee webap, as user UI I want to use Polymer libraries... Now I don't know to include all needed js/html files in depository or to leave only bowler file ? If i will include all files it...

Gradle can't find my dependencies in ~/.ivy2/local

gradle,dependencies,ivy
I use sbt publishLocal to publish some custom libraries into ~/.ivy2/local. After that, the directory structure is: $ pwd /Users/twer/.ivy2/local/com.thoughtworks $ tree . . └── pact-jvm-provider-spring-mvc_2.11 └── 0.1 ├── docs │   ├── pact-jvm-provider-spring-mvc_2.11-javadoc.jar │   ├── pact-jvm-provider-spring-mvc_2.11-javadoc.jar.md5 │   └── pact-jvm-provider-spring-mvc_2.11-javadoc.jar.sha1 ├── ivys │   ├── ivy.xml │  ...

building api only artifact with maven

java,maven,dependencies,modularity
Given our maven projet provides some api for clients to interact with it, those are just few java interfaces which are implemented in interal codebase... Now if we just build the jar and publish it anyone can see the internal classes we used for implementation, yet we only need few...

How can I know what requires yum to install those dependencies?

linux,dependencies,yum,fedora-21
Doing yum update I get the following: kernel-modules-extra x86_64 3.18.7-100.fc20 @updates/20 8.3 M Installing for dependencies: GeoIP-GeoLite-data noarch 2015.04-1.fc21 updates 347 k GeoIP-GeoLite-data-extra noarch 2015.04-1.fc21 updates 23 M R-core x86_64 3.1.3-1.fc21 updates 48 M R-core-devel x86_64 3.1.3-1.fc21 updates 100 k dleyna-connector-dbus x86_64 0.2.0-4.fc21 updates 24 k dleyna-core x86_64 0.4.0-3.fc21 fedora...

Can not find module “sleep”, with Leap motion

javascript,android,node.js,dependencies
I'm trying to connect my Android project with Leap motion controller and am using the procedure and source mentioned on this question as reference. I'm very new to Node.js and am unable to get the JavaScript file to work with Node and am unable to resolve dependencies. I tried node...

Am I using puppet contain correctly?

dependencies,puppet,contain
I am trying to create a dependancy relationship so that the phpwebserver profile is run before the silex_api profile. role: class roles::dev{ include profiles::phpwebserver include profiles::silex_api Class ['profiles::phpwebserver'] -> Class ['profiles::silex_api'] } silex_api profile: class profiles::silex_api{ class { '::silex' : package_version => '1.6.2', } class {'::composer' : command_name => 'composer.phar',...

How to get the checkout directory of project dependencies in TeamCity?

configuration,dependencies,teamcity
I am using TeamCity as build server and have a little trouble when configuring projects and their dependencies. Eventually I want to get the checkout directory of project dependencies to configure certain build steps. For that I have the variable %teamcity.build.checkoutDir% for the checkout directory of the project itself. However,...

Handling common dependencies between interdependent modules in Android Studio

android,module,android-studio,dependencies
Say I have 2 modules in my Android Studio project: ---- :A ---- :B Where :A is dependent on B: ---- :A ---> + :B ---- :B What complicates things is that both A and B require a library L: ---- :A ---> + :B + :L ---- :B --->...

Making one project a sub-project of another project in coq?

dependencies,coq
I am testing a coq project called corn, which requires another project MathClasses as a dependency. I was able to compile the dependency project MathClasses via a sudo make install kind-of process. However, there are certain features in the make install process that I don't like. Firstly, if I do...

About error: UNEXPECTED TOP-LEVEL EXCEPTION in android

android,dependencies
I have a couple of days with this problem and I've read a lot about it ... but I can not fix it. After updating android studio, I jump the following error: UNEXPECTED TOP-LEVEL EXCEPTION now I know it's a error shown When you are using different versions of the...

How to make python compatible on all computers?

python,dependencies,compatibility
I wrote an interesting script that I want to share with people, but it won't run on other computers unless they have the same dependencies installed. How do I bundle the dependencies into the script package so that other people don't need to install dependencies to run the script? Like,...

r package development imports not loaded

r,dependencies,packages
Hi I am new to writing R packages. I try to import dependencies via: Imports: forecast, ggplot2, dplyr When I click Build & Reload in Rstudio my library is built successfully. However when checking if the dependencies are loaded for real Rstudio tells me that they are not. In my...

Gradle build error with Simpleframework

gradle,dependencies,android-gradle,build.gradle,simple-framework
I upload my library module to jcenter and I use this module with my application project. I try to build my application it returns an error. I searched this issue and This issue is due to be aware of what simpleframework. I have to use this library both My library...

Dependency issues in reference project

android,android-studio,gradle,dependencies
I have an issue that dependencies of a project that is referenced as a dependency module in my android app seem not to be included into the .apk file of my android application. Project Setup Android App (Android studio & gradle) Java desktop application (IntelliJ/maven/gradle project) Java model (classes &...

PHP5 Class Property Overloading w/ Dependency Container

php,oop,reference,dependencies,overloading
----------------------UPDATE---------------------------------------------------- I didn't explain very well what I am ultimately trying to accomplish with this overloading. I basically just want to use the config object to store everything and only have one instance spawned of the database, also in config. Then when I load the page, I want to bootstrap...

running gradle jettyRun error

gradle,dependencies,spring-boot
I am trying to run my spring Boot Application using gradle jettyRun but when gradle is compilingJava these errors appear: [email protected]:~/Credito/PalmasServer$ gradle jettyRun :compileJava FAILURE: Build failed with an exception. What went wrong: Could not resolve all dependencies for configuration ':compile'. Could not find org.springframework.data:spring-data-rest-webmvc:. Required by: :PalmasServer:unspecified Could not...

Gradle dependencies for several projects

android,gradle,dependencies,dependency-management
I have some projects in directory Dir |____ Progect 1 |____ Progect 2 |____ Progect 3 In project 1 i need use class from project 2. How do I get the required dependencie on the project 1...

How to pass parameters in gulp dependencies

parameters,dependencies,task,gulp
I'd like to prepare a different versions of a software by passing a special parameters in gulp task. I've created tasks for css, js, etc. and made one to run then all: gulp.task('compile', ['css', 'twig', 'js', ....]); How to pass a parameter which will be passed also to the subtasks?...

GNU make - depend only on file existence and not modification time

linux,build,makefile,dependencies,gnu-make
I want to have a makefile in which I have a task a that can only run if a file b exists, but does not need to be re-run if b is updated. How do I do this?

Adding Dependency to Android Studio

android,maven,dependencies
Can anyone help me how to add this library to my android studio project. <dependency> <groupId>com.googlecode.mp4parser</groupId> <artifactId>isoparser</artifactId> <version>1.0.5.4</version> </dependency> ...

Switching branches in Git with external dependencies

git,maven,dependencies,git-branch
Has anyone had to deal with the issues of switching git branches in a project that has Maven (or any other external) dependencies? For example, suppose that in one branch I have a maven dependency, and in another I don't (or have a different version required). Would I have to...

How to find maven dependency compatibility with other maven dependency in Spring?

spring,hibernate,maven,dependencies
I am facing difficulty for dependencies related issue like: I have created a spring project in 4.1.1.RELEASE version. Now i want to use hibernate dependency for spring version 4.1.1.RELEASE. But which version of hibernate dependency is compatible with above version of spring? Is there any site for compatibility checking or...

Eclipse RCP: Unresolved Requirement

eclipse,dependencies,rcp
I have two local plugin projects in eclipse, both maven projects. AvgPowerTool AvgPowerCommon AvgPowerTool is dependent on AvgPowerCommon (It uses classes from AvgPowerCommon). When I run the application and try to instantiate a class from AvgPowerCommon the application exits with an exception: java.lang.RuntimeException: No application id has been found. Above...

Resolving Chef Dependencies

automation,dependencies,chef
In my lab, I am currently managing a 20 nodes cluster with Cobbler and Chef. Cobbler is used for OS provisioning and basic network settings, which is working fine as expected. I can manage several OS distributions with preseed-based NQA installation and local repo mirroring. We also successfully installed chef...

How to express Task dependencies in sbt 13

scala,dependencies,sbt,task
I am trying to express dependencies between two tasks in sbt 13.5. What I want to do is execute TaskB before TaskA will be executed. So I am trying to force the two Tasks to execute sequentially instead of parallel. In other words TaskA should wait for TaskB to finish....

Ignoring task dependencies in gulp.js

javascript,build,dependencies,gulp
I have the following task gulp.task('sass-build', ['clean-build'], function () { // do stuff }); which obviously requires clean-build to be finished before starting. However, I would also like to use this task with gulp.watch without the clean-build dependency. I'm aware that you could solve this with a helper task like...

MIPS sw dependency

dependencies,mips
I have question about MIPS code and dependency. If i have following MIPS code. How it works without any forwarding unit? How many stalls needed to be insert? 7 ADD $t5, $t4, $t5 8 SUB $t5, $t5, $t3 9 SW $t5, 24($t0) In my opinion: line 7-8 WAW, RAW dependency...

Does the “/MT” switch remove the need for vc runtime?

visual-c++,visual-studio-2012,dll,dependencies,vcredist
I am compiling my VS 2012 DLL with the /MT switch. Does that mean that I won't have to redistribute the VC runtimes (vcredist)? I am asking because my DLL cannot be registered on a clean XP SP3 client computer. If I distribute the VC 2012 runtime, it works. I...

How to import directory of .scala files in sbt (unmanaged)?

scala,import,dependencies,sbt
I have a directory that I want to use as a dependancy for an sbt project however its comprised of .scala files which means I can't place it inside a jar (from what I understand) so then how can I use it as a dependancy for my project? (sbt doesn't...