Skip to main content

Posts

Showing posts with the label svn

ANT, ADF: Adding version info to my build and help about screen

Build I added two steps to my build (after everything was built) one to create the properties file and the other to package it: <antcall target="create-version-property" inheritAll="true" inheritRefs="true"/> <antcall target="inject-version-file" inheritAll="true" inheritRefs="true"/> Creating the file.   <target name="create-version-property">    <-- check that the jar file is available -->     <available file="${build.file.location}/lib/svnant.jar" property="SVN_ANT_AVAILABLE" />         <fail unless="SVN_ANT_AVAILABLE" message="Run jar target to generate the required task"/>        <-- load the svn ant plugin classpath -->         <taskdef resource="org/tigris/subversion/svnant/svnantlib.xml">             <classpath>         ...

SVN: Subversion apache configuration smackdown

All I wanted out of life was to authenticate off Active Directory, have everyone with a valid user be able to read my svn repo and have a build user defined in a file for my Continuos integration (Non active directory user) and have a couple of AD users have read/write permissions sounds simple but maybe not so much. This is my config file (in /etc/httpd/conf.d): <AuthnProviderAlias ldap adf-ldap-alias> #ldap config make sure the DN config is correct and the server is right   AuthLDAPURL "ldap://adserver.co.za:3268/OU=User Accounts,DC=company,DC=co,DC=za?sAMAccountName?sub?(objectClass=*)" NONE   AuthLDAPBindDN "svnuser@company.co.za"   AuthLDAPBindPassword supersecret </AuthnProviderAlias> <AuthnProviderAlias file adf-file-alias> #setup this file using  htpasswd   AuthUserFile /etc/subversion/adf-auth-file </AuthnProviderAlias> <Location /adfrepo>   DAV svn   AuthType Basic   AuthName "ADF Subversi...