repository

How do I get Eclipse to play nice with my SVN checkout?

I have an SVN repository checked out and have an Eclipse project set up around it. When Eclipse builds it seems to be unsetting the svn:ignore '*' inside the output directory and also causing the source files to be copied into the output folders. Removing the directory and updating a new one from the repository fixes it until Eclipse bui...

SVN: Revert changes of a random revision, but preserve changes of all following ones

Situation: I've got a SVN repository with lets say 100 revisions, rev. 100 being the most recent one. I've done some changes in rev. 90 which need to be reverted now. The changes in rev. 90 are self-contained, so that they don't affect following revisions. Problem: I'd like to revert only the changes in rev. 90, but still want to have a...

Session Per ViewModel in Desktop Application with Repository

I have been writing a WPF DESKTOP application using NHibernate, WPF, Prism and Unity Container but have a problem in terms of Session Management in Services / Repositories and how to do it cleanly through dependency injection using Unity. Having read Building A Desktop To Do-Application With NHibernate I now have a Session Per ViewModel...

Assigning an ID to a new object

I've got a simple domain object, Movie, with the following constructor: public Movie(string title, int year = 0, Genre genre = Genre.None, int length = 0, IEnumerable<string> actors = null) { ... } There is no ID parameter, as there couldn't be a way to know up front what the ID would be. Movie does have an int Id property. This obje...

how to represent a oracle view with in ATG Repository structure

I have some queries which cross repositories in ATG. I am not aware of a way to link repositories together in order to provide data from one repository to the other. The queries do have some complicity to them such that trying to build them by hand will take a lot of lines of code. So my thought is that I could just create a view with...

In which layer should i put my repository?

Scenario Data Access Layer EF's generated .edmx and classes Used only to access the SQL Database and pass the data forward to the business layer Business Layer Business entities : contain all validation logic, marked with the [DataContract] attribute so that they can be passed as parameters to my web service Problem I wan...

Specify two working directories in Mercurial

I am a new user administrator of the HG Mercurial repository for our company. This is version 1.1.1. We have a Python script containing our source directory right now. Currently, the repository/store is: http://summer2010dev.just5clicks.com/hg/hgweb.py But this script only contains one working directory and I do not know how to ...

Pivotal Tracker + Assembla SVN

Is it possible to integrate Pivotal with Assembla? I want Pivotal to be able to see the commits made in the Assembla SVN repository ...

java.net maven repo - JMS artifact missing

I just created a new Maven project using the default archetype and added the following dependency to my POM file. <dependencies> <dependency> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> <version>1.1</version> <scope>compile</scope> </dependency> </dependencies> Realizing that the Sun's JARs are not on...

Setting & finding a svn repository on a system in LAN

Hi There, I have installed TortoiseSVN on machine 192.168.1.56, & want to synchronise with it from 192.168.1.60, when i insert the repository address in URL like this "file:///192.168.1.56/D:/Repository" and click finish, i get the message "Location information has been specified incorrectly" what is the proper format...Thanks inadvance ...

Where to put "domain services" in your domain model project

I've been working with S#arp Architecture but this can probably be applied to any DDD architecture (Domain / Core, Application Services, Infrastructure, and Presentation). There are many ASP.NET MVC examples that show the controller operating on the domain model through repository interfaces. In fact, the S#arp Architecture tutorial ha...

EntityFramework - Strategies to load childs objects

I got the 2 following entity : User and Post Simple version of user : public virtual int Id { get; set; } public virtual IList<Post> Posts { get; set; } Posts aren't load by default. In certain condition, I need to load the Posts (for example, I want to count the number of posts for that user). For now, I've add a method call LoadPo...

It's possible to put binary files on nexus repository?

Hi, At my work all development is over java techonology, and we use nexus for manage our maven repositories. But for a new project, it's necesary build dll's and exe's artifacts, so, it's possible to put those windows binary files into a nexus repository?, there some plugin to make this simplier?, it's a crazyness what i'm trying to do?...

Should I use artifacts from Maven repository or Spring repository

I have an application built with Maven 2 with duplicate dependencies from both SpringSource Enterprise Bundle Repository and Maven2 public repository. Fortunately they have the same version but I still would like to clean-up the duplicates. Should I favor Spring repository or Maven? My project uses Spring a lot (core, web flow, securit...

IQueryable Repository with StructureMap (IoC) - How do i Implement IDisposable?

If i have the following Repository: public IQueryable<User> Users() { var db = new SqlDataContext(); return db.Users; } I understand that the connection is opened only when the query is fired: public class ServiceLayer { public IRepository repo; public ServiceLayer(IRepository injectedRepo) { this.repo = injec...

EF4, Lambda, Repository pattern and DTOs

I have a semi complicated question regarding Entity Framework4, Lambda expressions, and Data Transfer Objects (DTO). So I have a small EF4 project, and following established OO principles, I have a DTO to provide a layer of abstraction between the data consumers (GUI) and the data model. VideoDTO = DTO with getters/setters, used by th...

Git: automatically keep a secondary repo in sync with a primary repo?

We have a two tier setup. We have a primary repository (called 'primary' below). And a secondary repository (called 'secondary' below) that was created like so: $ git clone --bare --shared $REPO_A/primary secondary.git People working on the secondary repository view the branches which originated from the primary repository as read o...

Which ORM supports mapping existing databases?

So I have a layered ASP.NET MVC proof-of-concept application with good separation between presentation concerns, business logic, and infrastructure concerns. Right now it is operating off of a fake repository (i.e. LINQ queries against static IQueryable objects). I would like to create a functional SQL repository now. That said, I don...

How to move svn folder one level up

I need to move svn folder to one level up and keep all history All files and directories from h_t_t_p_s://myserver.com/svn/Project/trunk/ into h_t_t_p_s://myserver/svn/Project/ I use a command: svn move h_t_t_p_s://myserver.com/svn/Project/trunk/ h_t_t_p_s://myserver/svn/Project/ but it says: svn: Cannot move path 'h_t_t_p_s://m...

repo: command not found ?

I am new to git and repo. I am in window 7 so I use cygwin. I have installed git from cygwin setup. After that I try to repo with the following command in cygwin. $ repo init-u git://android.git.kernel.org/platform/manifest.git error like these> bash : repo: command not found I think I need to make setup in cygwin for repo. What do...