dependency-management

How to do deployment for php application

梦想的初衷 提交于 2019-12-02 18:25:56
I am currently developing a php-application for a charity organization and I am now in the stage of defining the deployment practices. Our application is using both Zend Framework and Doctrine. The application will be rolled out to different servers, each with a different configuration file. The machines are both Windows and Linux (but all with Apache and php 5.2+). The source is available in a subversion repository and we want to build and store our packages on a Linux server. Preferably we want the update process to be as easy as running an update command in the application directory, where

Algorithm for dependency resolution

人走茶凉 提交于 2019-12-02 18:19:36
I'm in the process of writing a package manager, and for that I want the dependency resolution to be as powerful as possible. Each package has a list of versions, and each version contains the following information: A comparable ID Dependencies (a list of packages and for each package a set of acceptable versions) Conflicts (a list of packages and for each package a set of versions that cause issues together with this version) Provides (a list of packages and for each package a set of versions that this package also provides/contains) For the current state I have a list of packages and their

Why can't eclipse resolve class in same package?

自闭症网瘾萝莉.ら 提交于 2019-12-02 17:55:31
I hit F5 ~1000 times and restarted eclipse (also with -clean), deleted /bin, but nothing helps. Manually importing DoodleClient does not help. DoodleClient exists and is perfectly fine, everything worked before. Clicking on "Import 'DoodleClient' ..." does nothing. What I did before this problem occured: I added *.class to .gitignore git rm *.class On the next pull, hunderts of .class files were deleted by git samorai Alternatively, you can highlight the project : Choose Clean ... from Project menu and if you have activated the Build Automatically option (in the same menu), the classes will be

How to check pom.xml for updated dependencies

巧了我就是萌 提交于 2019-12-02 17:37:19
I am fairly new to Maven and pom.xml. Is there a way I can find out which of my dependencies that are outdated, so that I can update version numbers in my pom.xml. In other languages, for instance, Ruby has the command gem list outdated that gives me a list of dependencies (rubygems) I can update I am using IntelliJ Idea if that can help. Pascal Thivent You can do this with the Versions Maven Plugin . Check the following goals: versions:display-dependency-updates scans a project's dependencies and produces a report of those dependencies which have newer versions available. versions:display

Go dep and forks of libraries

老子叫甜甜 提交于 2019-12-02 17:28:16
问题 I'm trying to understand how to work with Golang and forks. The situation is the following, I'm writing a library project which depends on library github.com/other/some_dependency , which isn't mine. Because some_dependency is missing some methods that I need, I fork it to github.com/me/some_dependency . However, I can't just do go get github.com/me/some_dependency , the library references itself so it breaks. In this article they give a possible solution: go get github.com/other/some

dependencyManagement and scope

做~自己de王妃 提交于 2019-12-02 17:23:38
I usually put a <dependencyManagement> section in parent-project/pom.xml . This <dependencyManagement> section contains declaration and version for all dependencies of my children modules like this (i.e. without the <scope> element): <dependencyManagement> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> </dependency> </dependencies> </dependencyManagement> In all children modules (i.e. moduleX/pom.xml), I have: <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <

Python package dependency tree

半腔热情 提交于 2019-12-02 17:12:30
I would like to analyze the dependency tree of Python packages. How can I obtain this data? Things I already know setup.py sometimes contains a requires field that lists package dependencies PyPi is an online repository of Python packages PyPi has an API Things that I don't know Very few projects (around 10%) on PyPi explicitly list dependencies in the requires field but pip/easy_install still manage to download the correct packages. What am I missing? For example the popular library for statistical computing, pandas , doesn't list requires but still manages to install numpy , pytz , etc....

How to deploy OSGi apps and dependencies?

半城伤御伤魂 提交于 2019-12-02 16:38:34
OSGi seems to have an excellent benefit of having small deployable artifacts by not wrapping dozens of JAR dependencies into a lib directory. However, I can't find anything that tells me an easy, reliable way to deploy dependencies to a container. For instance, I have an application that uses CXF and several Spring subprojects. If I need to deploy this application to a new Glassfish server, what would be the best way to do so, ensuring that all dependencies get installed? I'm using Maven, and it would seem that there could be some way to have a hook that looks at the META-INF/maven directory

Maven Multi Module benefits over simple dependency

久未见 提交于 2019-12-02 16:11:32
I have some years of experience with maven projects, even with multi modules ones (which has made me hate the multi modules feature of maven (so the disclaimer is now done)) and even if I really like maven there is something I cannot get a clear answer about : What is a typical usecase of a multi module maven project ? What is the added value of such a structure compared to simple dependencies and parent pom ? I have seen a lot of configuration of multi module projects but all of them could have clearly been addressed by creating a simple structure of dependency library living their own life

Using maven for a dynamic web project

寵の児 提交于 2019-12-02 08:46:42
I'm newbie to maven and i'm used to create dynamic web project in eclipse with traditionnal jars. I downloaded maven and installed it on my Windows8 system as indicated on the documentation and as listed on Kepler doc too you don't have to install any maven plugin on eclipse because it's already installed. so when i test it by adding some dependecies like Hibernate it's ok it works until i added the Struts2 & Sitemesh framework when i was forced to add the jars to the lib folder to make it run . Is tehre any special configuration to do for that? I think you have a problem in deployment