Subversion Server on CentOS
Install a couple of packages via yum : $ sudo yum install httpd subversion mod_dav_svn ...
Install a couple of packages via yum : $ sudo yum install httpd subversion mod_dav_svn ...
...
2013-03-28 Update : This plugin is now hosted on GitHub 2010-09-29 Update : This plugin has been moved from subversion to git, and now has a dedicated project page . Subversion updates will be discontinued, so please update your links to point to the latest version! ...
2013-03-28 Update : This plugin is now hosted on GitHub 2010-09-29 Update : This plugin has been moved from subversion to git, and now has a dedicated project page. Subversion updates will be discontinued, so please update your links to point to the latest version! ...
I recently had trouble importing the com.sun.media.jai imaging library into appfuse : The import com.sun.media.jai cannot be resolved To add a dependency in your pom.xml, first add the new repository (may not be strictly necessary if the library is already in the default appfuse repositories) : ...
If you want to assign a complex class (such as a HashMap / ArrayList etc) as a constant in Java, use the static initializer block construct : ...
To set the default value of a field with Hibernate, you can use the columnDefinition argument : ...
If you want to (for example) delete all users with the guest role from your database : DELETE FROM user WHERE EXISTS ( SELECT * FROM role WHERE role.id = user.role_id AND role.name = 'guest' );
To get the complete, exploded source of an AppFuse application, run : $ mvn appfuse:full-source
If you are getting a failed to lazily initialize a collection of role error in AppFuse , you need to un-comment the lazyLoadingFilter filter and associated filter-mapping in src/main/webapp/WEB-INF/web.xml . <filter> <filter-name>lazyLoadingFilter</filter-name> <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class> </filter> <filter-mapping> <filter-name>lazyLoadingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>