I wonder whether I can setting up a private maven repository based on my svn.
The svn can be accessed via http.
If yes, then what should I do? Just uploading the architypes is enough?
I have a bunch of interconnected projects which share the same project tree. I'm looking for a version control system which provides a possibility to checkout a subset of the project tree.
If my the full project tree looks like this:
Project Root
|-Feature1
| |-SubFeature11
| \-SubFeature12
|-Feature2
| |-SubFeature21
| \-SubFeature22
…
I am new to DDD. In my mini-project, I have a structure that looks like this (different from the actual names):
EntryClassificationGroup
EntryClassification
Entry
EntryType
Should I have just one repository class for all these 4 entities, since they are all related? Or should I have individual repositories for each one?
I'm wondering if there is a way to create a diff of a repository that you've checked out and save it to a diff file so that you can contribute it to a project as a full patch. I'm using Tortoise SVN, but if it has to be at the command line, that's OK too.
We've got the following repository method
public IList<Foo> GetItems(int fooId, int pageIndex, int pageSize
, string sortField, string sortDir, out int totalItems)
{
// Some code
}
My question is: is it ok to use out in this way. I'm somewhat uncomfortable with out, but can't come up with a better way to write this as a single call.
Our company would like to mirror our Maven 2 Repository inside of the Amazon network.
What software should one use to do this?
We have looked into a Wagon-S3 but that sort of functionality is not desirable... we want the artifacts to already be present when we are ready for a build.
Just need to clarify this one, If I have the below interface
public interface IRepository<T>
{
T Add(T entity);
}
when implementing it, does checking for duplication if entity is already existing before persist it is still a job of the Repository, or it should handle some where else?
sudo apt-get update && sudo apt-get install netflix-desktop gives the error
The following packages have unmet dependencies:
netflix-desktop : Depends: wine-browser-installer but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
but dpkg --get-selections | grep hold shows nothing.
I'm running…
I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package tutorials are assuming you have a source tarball you want to compile. Then I've found this short tutorial (german).
Afterwards, I created a small…
user@chrubuntu:~$ sudo apt-get install wine1.7
[sudo] password for user:
user
Sorry, try again.
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the…
I'm fairly new to Ubuntu and wanted to setup a server running ZFS/XBMC - The XBMC install went fine, however I ran into trouble getting ZFS working.
Configuration : Ubuntu 13.10 (GNU/Linux 3.12.0-rc7+ x86_64)
I attempted to install ZFS native using :
sudo add-apt-repository ppa:zfs-native/stable
sudo apt-get update
sudo apt-get…
Assume the following simple POCOs, Country and State:
public partial class Country
{
public Country()
{
States = new List<State>();
}
public virtual int CountryId { get; set; }
public virtual string Name { get; set; }
public virtual string CountryCode { get; set; }
public virtual…
I have a problem with sudo apt-get update that I can't seem to fix and It's causing problems with alot of installations I want to do. I run Ubuntu 12.04.
Ign http://ftp.availo.se precise InRelease
Ign http://ftp.availo.se precise-updates InRelease
Ign http://ftp.availo.se precise-backports…
I have multiple Ubuntu machines at home and a pretty slow internet connection, and sometimes multiple machines need to be updated at once (especially during new Ubuntu releases.)
Is there a way where only one of my machines needs to download the packages, and the other machines can use the first machine to get the…
I'm running a Ubuntu server (9.0.4 'Jaunty') as a VMware image.
It's a real pain on the odd occasion I need to install a new package to have to fish out the install CD-ROM, and make it available to the VMware image so I can continue the package install.
Is there any way to take the original installation media out…
There is an issue, for every package that I try to install.
I am using VMWare Player 3.16 & I have installed Ubuntu 12.04.
The error is:
E:Unable to locate package (PACKAGE NAME)
Also, another problem is that there are some configuration errors. So I have to use the CLI rather than the GUI. Now if this is a…
I have multiple Ubuntu machines at home and a pretty slow internet connection, and sometimes multiple machines need to be updated at once (especially during new Ubuntu releases.)
Is there a way where only one of my machines needs to download the packages, and the other machines can use the first machine to get…
While configuring my new 13.10 installation, I chose to change the default update server using the "Software & Updates" GUI tool available in the System settings panel.
Before this change the selected update server was "Server for Italy" (I live there). Now it's one of the mirrors available in the list of…
Just created an acc on SO to ask this :)
Assuming this simplified example: building a web application to manage projects...
The application has the following requirements/rules.
1) Users should be able to create projects inserting the project name.
2) Project names cannot be empty.
3) Two projects can't have…
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…
I am developing a Database File System.
I am using -
.Net framework 3.5
Entity Framework 3.5
WPF with MVVM pattern
The project spans across multiple assemblies each using same model.
One assembly,let's call it a "server", only adds data to the database using EF i.e. same model.Other assemblies…
I am developing a Database File System.
I am using -
.Net framework 3.5
Entity Framework 3.5
WPF with MVVM pattern
The project spans across multiple assemblies each using same model.
One assembly,let's call it a "server", only adds data to the database using EF i.e. same model.Other assemblies…
I am developing a Database File System.
I am using -
.Net framework 3.5
Entity Framework 3.5
WPF with MVVM pattern
The project spans across multiple assemblies each using same model.
One assembly,let's call it a "server", only adds data to the database using EF i.e. same model.Other assemblies…
There are several similar questions on this matter, by I still haven't found enough reasons to decide which way to go.
The real question is, is it reasonable to abstract the NHibernate using a Repository pattern, or not?
It seems that the only reason behind abstracting it is to leave yourself an…
I'm working on using the Repository methodology in my App and I have a very fundamental question.
When I build my Model, I have a Data.dbml file and then I'm putting my Repositories in the same folder with it.... IE:
Data.dbml
IUserRepository.cs
UserRepository.cs
My question is…