java.net maven repo – JMS artifact missing

Realizing that the Sun’s JARs are not on Maven central due to licensing issues, I added the following Maven repo to my POM Yeah, but http://download.java.net/maven/2/javax/ doesn’t have the jms artifact… The good news is that the JBoss Nexus repository does have it: <repository> <id>repository.jboss.org-public</id> <name>JBoss repository</name> <url>https://repository.jboss.org/nexus/content/groups/public</url> </repository>

Download Nuget Packages Without VS/NuGet Package Manager

How to download NuGet Package without Visual Studio or Nuget Package Manager: Search your desired package at NuGet Official Site. Copy the end of the URL of the package page. For Example: http://nuget.org/packages/EntityFramework => Package Name is “EntityFramework” Enter the URL: http://packages.nuget.org/api/v1/package/{Package Name} For Example: http://packages.nuget.org/api/v1/package/EntityFramework

Generic repository – IRepository or IRepository

The biggest difference is that IRepository<T> is bound to a single type while an IRepository is potentially bound to multiple types. Which one is appropriate is highly dependent upon your particular scenario. Generally speaking I find IRepository<T> to be more useful. At the time of use it’s extremely clear what the contents of IRepository<T> are … Read more

git push to remote repository “Could not read from remote repository”

In this case, using openssh over putty was key. Original answer (tips for debugging) I can log in via ssh with the git user. That means this works: ssh git@serverIp You do have a HOME variable defined, and ssh public/private keys (id_rsa / id_rsa.pub) in %HOME%/.ssh/. This question suggests a different url: git remote set-url … Read more

Should changes in a package.json file be commited to a repository as well?

You need to commit package.json. All other developers, after pulling the code, will just need to perform npm install to get the latest dependencies required for the project. Whenever you or someone else wants to add new dependencies to the project you perform npm install <dependencyName> or npm install –save-dev <dependencyName>. Then package.json is automatically … Read more

Folder structure for many projects in one SVN repository?

You have two options for this. The one you already mentioned, and that is to have a trunk for each project (option 1): https://simucal-projects.googlecode.com/svn/projectA/trunk/ https://simucal-projects.googlecode.com/svn/projectA/tags/ https://simucal-projects.googlecode.com/svn/projectA/branches/ https://simucal-projects.googlecode.com/svn/projectB/trunk/ https://simucal-projects.googlecode.com/svn/projectB/tags/ https://simucal-projects.googlecode.com/svn/projectB/branches/ Option 2 would be to have one trunk with each project being a subfolder under trunk: https://simucal-projects.googlecode.com/svn/trunk/projectA/ https://simucal-projects.googlecode.com/svn/tags/projectA/ https://simucal-projects.googlecode.com/svn/branches/projectA/ https://simucal-projects.googlecode.com/svn/trunk/projectB/ https://simucal-projects.googlecode.com/svn/tags/projectB/ https://simucal-projects.googlecode.com/svn/branches/projectB/ The advantage of option … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)