repository

[Alfresco] property qualified-name in method getContentReader

Hi there, I first apologize for my poor english level and maybe for the stupidity of my question ;) I am on an alfresco project to learn how it works. I have to browse programatically my content repository and gather datas all along. In order to do that I guessed I had to use a ContentReader (I get from my ContentService) but the metho...

Design help for service and repository layers

I've been running into some problems with my design. Here is what I have now... Controller ... <AcceptVerbs(HttpVerbs.Post)> _ Public Function Edit(ByVal id As Integer, ByVal dryShots As Integer, ByVal clock As Integer) As ActionResult Dim job As Shift_Summary_Job = _shiftSummaryJobService.GetShiftSummaryJob(id) _shiftSummaryJ...

Side effect with the Alfresco content repository API ?

I'm studying Alfresco and particularly it's content repository Java API. I am trying to train with an example from the SDK "First Foundation Client". I took the code, I manage to handle it a bit but when I restart my alfresco server I get ugly stacktrace like ERROR [web.context.ContextLoader] Context initialization failed org.alfresco...

What are "Location" and "Repositories" in the VisualSVN?

I am trying to install VisualSVN to manage my code with other users. In the middle of the installation I have a window saying "Change if necessary installation path and initial VisualSVN Server setting". And after that (in the same window) I have two fields: "Location" and "Repositories". What these two parameters mean? I know URL where...

How to add second project to the repository?

Hi! I have setup subversion 1.6.5 on Fedora. I have decided to use a single repository for multiple projects. I have added one project, projA, to the repository. I will have more projects to add to the repository in future. If I try to add next project with the command 'svn import . file:///path/to/repos' gives svn: File already exists...

Maven Repository proxies third-party repositories, does this produce traffic?

We have a public Sonatype Nexus Maven Repository which is a proxy for several third-party repositories, such as JBOSS or the Scala-Repo. Does the downloading of artifacts which are located in one of the proxied repositories (JBOSS for example) produce traffic on the sever which runs our repository? ...

Merging updated code from parallel Subversion repository

I was wondering what steps people generally take when it comes to merging a live (continually updated) SVN respository with an offline one (updated less often), as an example, take my scenario: A while ago I downloaded the BugTracker.NET system when it was at version 3.2.3. I've subsequently make some enhancements to the code for our bu...

How to setup Xcode 3.1.4 with Perforce ?

Hi everyone, I've been trying to setup Xcode with Perforce for about 7 hours now and managed to get the Perforce Repository Authenticated within Xcode. The problem I have is, within the repositories window, I don't see any directories for me to check out. I can see the p4root login and client are ok with the tick on the repository log. ...

How to copy subversion repository as a new directory to existing repository?

I have two existing subversion repositories on different hosts (host-a and host-b) and I'd like to copy one directory from repo A to repo B. Basically https://host-a/repo/some/path/moduleA should be copied to https://host-b/repo/some/other/path/moduleA. All the history should be preserved and existing data in host-b should be preserved....

Checkout multiple revision of one file in CVS repository

Hi, To checkout I use the following command CVSROOT="/home/projects/stuff/" cvs co mywork with the mywork directory I have text files as well as pictures, i.e., looks something like this - paper.tex - pic1.jpg - pic2.jpg etc. In particular, I am interested in checking out all the version of paper.tex over time. Is there a way how I...

Upload a file to a Rails Application from a Ruby command-line application

I've been busy on a social networking site for developers for a while (like a mix of github and Facebook), and I want to implement a simple system to create repositories, like on github. For this, I want to create a command-line application in Ruby (not Rails), which will check if there were made any changes, then upload changed or new f...

Software Engineering Component Repository Tool

Hello, I'm working as a software engineer for a company. We are going to apply some software engineering standards in our development process. We need a tool which provides a repository for our peripheral products (functions, classes, libraries, ...) which is created during software development process for later use. The tool should prov...

How many lines of code have been committed to my SVN repository?

How could I check how many lines of code have been committed to my SVN repository across all commits? ...

Organizing multi level aggregate object or composite

Hye! I have Aggregate object that have more than one level. Aggregate root is Network object and it have collection of Nodes and Links. Node and Link have collection of Segments, and Segment have collection of Lanes. My domain is traffic network and this is only part of this aggregate: public class Network { private List<Node> nodes; ...

SVN update returns nothing, while it should

Hi everyone, First some background information; I've set up my SVN repository on my local server at home using VisualSVN Server. Using SSH on (or via php/shell script), i am able to check out a folder from this repository to the webserver, all goes well. Also updates and other svn commands execute normaly and return their messages. ...

Getting Revisions from CVS repository

Hi, I am trying to get somehow all the revision log that were made to a particular file, but I seem to stupid to do that :( To checkout a module I do the following CVSROOT="/home/projects/stuff/" cvs co myworkingdir within myworkingdir I have a testfile called paper.tex and from this I wanna try to get the revisions but I tried the ...

How does gitk view associate to the local and remote repository paths?

I am trying to find source code in our project and I have access to the view with gitk but I don't have a local copy. Now I want to get a local copy. How do I interpret gitk presentation to extract the code into my local repository? ...

EF4, self tracking, repository pattern, SQL Server 2008 AND SQL Server Compact

Hi, I am creating a project using Entity Frameworks 4 and self tracking entities. I want to be able to either get the data from a sql server 2008 database or from sql server compact database (with the switch being in the config file). I am using the repository pattern and I will have the self tracking entities sitting in a separate ass...

Simple Oracle File repository with folder hierarchy

I have an application that stores large amount of files (XML and binary) in folder hierarchies. Currently the main method is storing them in file system or using a legacy CMS, which we want to get rid of. The CMS supports Oracle and a customer wants to keep the files in Oracle because of enterprise policies (backup etc.) The question i...

Svn log - svn: '.' is not a working copy

I'm getting "svn: '.' is not a working copy" when i use the svn log command. I know that i need a working copy for the log command to work but can this be done directly on a repository? My goal is to display the information (change history) of a repository. I think updating the working copy whenever i need the log information is not ...