<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6861644995953698522</id><updated>2011-11-27T15:56:20.626-08:00</updated><category term='Cruise Control  for Ant Build'/><category term='to existing repo'/><category term='sudo'/><category term='cvs to svn'/><category term='cvs'/><category term='setup cruisecontrol'/><category term='selected project'/><category term='cvs2svn'/><category term='sudo: must be setuid root'/><category term='how to cruise control'/><category term='svn'/><title type='text'>e-navikan</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://e-navikan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://e-navikan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>anoopL</name><uri>http://www.blogger.com/profile/18287966039050776270</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6861644995953698522.post-4074497022482691718</id><published>2009-07-14T05:35:00.000-07:00</published><updated>2009-07-14T05:42:12.316-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='to existing repo'/><category scheme='http://www.blogger.com/atom/ns#' term='cvs to svn'/><category scheme='http://www.blogger.com/atom/ns#' term='cvs'/><category scheme='http://www.blogger.com/atom/ns#' term='selected project'/><category scheme='http://www.blogger.com/atom/ns#' term='cvs2svn'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>CVS to SVN import  selected project to existing repo</title><content type='html'>1. Take a dump of the CVS repo(the projetc needed using):&lt;br /&gt;&lt;br /&gt;cvs2svn --dumpfile=a_dump_file_name.dump --trunk=name_for_trunk  --trunk-only path_to_CVS_repo/needed_project &lt;br /&gt;&lt;br /&gt;Where --trunk=name_for_trunk means the name of trunk needed instead of having directory named 'trunk', It was my project name for me and I used --trunkonly since I have no use of branch or tags. and path_to_CVS_repo/needed_project is the path to myproject on CVS directory structure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Load the created svn dump using svnadmin load command to an existing svn repo:&lt;br /&gt;&lt;br /&gt;svnadmin load /SVN &lt; itilnewdump1.dump&lt;br /&gt;&lt;br /&gt;/SVN is the existing svn repo path, it not url its directory path!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6861644995953698522-4074497022482691718?l=e-navikan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://e-navikan.blogspot.com/feeds/4074497022482691718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e-navikan.blogspot.com/2009/07/cvs-to-svn-import-selected-project-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/4074497022482691718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/4074497022482691718'/><link rel='alternate' type='text/html' href='http://e-navikan.blogspot.com/2009/07/cvs-to-svn-import-selected-project-to.html' title='CVS to SVN import  selected project to existing repo'/><author><name>anoopL</name><uri>http://www.blogger.com/profile/18287966039050776270</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6861644995953698522.post-7377953019892229203</id><published>2009-07-07T23:23:00.000-07:00</published><updated>2009-07-08T02:32:01.854-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='how to cruise control'/><category scheme='http://www.blogger.com/atom/ns#' term='setup cruisecontrol'/><category scheme='http://www.blogger.com/atom/ns#' term='Cruise Control  for Ant Build'/><title type='text'>Cruise Control  for Ant Build</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:130%;"&gt;Cruise Control  for Ant Build&lt;br /&gt;========================&lt;br /&gt;&lt;/span&gt;Ref. url:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;http://cruisecontrol.sourceforge.net/gettingstartedsourcedist.html#Before_you_Start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;http://cruisecontrol.sourceforge.net/download.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Should Have Java and Ant installed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Copy the downloaded cruisecontrol-2.8.2.zip file &amp;amp; unzip to your installation folder.&lt;br /&gt;&lt;br /&gt;2. change directory to cc_unzipped folder/main&lt;br /&gt;&lt;br /&gt;3. enter the command ant -Dtest.skip=true&lt;br /&gt;*I disabled Junit test after the compilation since it doesn't work for me&lt;br /&gt;&lt;p&gt;After building, to confirm that the installation is consistent, start a command         shell and run the following command (make sure you replace         &lt;code&gt;INSTALL_DIR&lt;/code&gt; with the actual installation directory):&lt;/p&gt;          &lt;pre&gt;java -jar INSTALL_DIR/main/dist/cruisecontrol-launcher.jar&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**DON'T worry this should show an error saying config.xml is not found!&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;4. Create a directory  "work" under the cruise-control root folder(ie, the unzipped folder)&lt;br /&gt;&lt;br /&gt;5. change directory to the newly created 'work' directory and create three new folders named as: artifacts, logs, projects. Then copy our project folder to work/project&lt;br /&gt;&lt;br /&gt;6. Create a new build.xml  (vi/touch work/build.xml)&lt;br /&gt;* I tried to paste my build.xml but it is truncated. So please mail me if you need one @ anpl1980@gmail.com&lt;br /&gt;&lt;br /&gt;please read this : http://brennan.offwhite.net/blog/2004/04/29/lessons-for-ant-and-cruise-control/&lt;br /&gt;&lt;!--&lt;br /&gt;&lt;!-- Delegating build script, used by cruisecontrol to build Zikzana_beta.      Note that the basedir is set to the checked out project --&gt; &lt;project name="Your-projectname" default="build" basedir="projects/Your-projectname"&gt;&lt;project name="Your-project-name" default="build" basedir="projects/Your-project-name"&gt;7. Create work/config.xml&lt;br /&gt;Eg:&lt;br /&gt;&lt;cruisecontrol&gt;&lt;/cruisecontrol&gt;&lt;/project&gt;&lt;/project&gt;* I tried to paste my build.xml but it is truncated. So please mail me if you need one @ anpl1980@gmail.com&lt;br /&gt;&lt;project name="Your-projectname" default="build" basedir="projects/Your-projectname"&gt;&lt;project name="Your-project-name" default="build" basedir="projects/Your-project-name"&gt;&lt;cruisecontrol&gt;&lt;project name="Your-project-name" buildafterfailed="true"&gt;&lt;plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"&gt;&lt;listeners&gt;&lt;currentbuildstatuslistener file="logs/Your-project-name/status.txt"&gt;&lt;/currentbuildstatuslistener&gt;&lt;!-- Bootstrappers are run every time the build runs,         *before* the modification checks --&gt;&lt;bootstrappers&gt;&lt;/bootstrappers&gt;&lt;!-- Defines where CruiseControl looks for changes, to decide          whether to run the build --&gt;&lt;!--&lt;modificationset quietperiod="10"&gt;&lt;br /&gt;      &lt;cvs localworkingcopy="projects/Your-project-name"&gt;&lt;br /&gt;    &lt;/modificationset&gt;&lt;br /&gt;  --&gt;&lt;!--ficationset quietperiod="10"&gt;&lt;br /&gt;      &lt;svn localworkingcopy="projects/Your-project-name"&gt;&lt;br /&gt;    &lt;/modificationset&gt;&lt;br /&gt;--&gt;&lt;modificationset quietperiod="10"&gt;&lt;filesystem folder="projects/Your-project-name"&gt;&lt;/filesystem&gt;Note: I have commented out so many lines like e-mail etc.... uncomment  and use it as needed.&lt;br /&gt;--&gt;&lt;br /&gt;8. start cc_dir/main/bin/cruisecontrol.sh from "work" dir&lt;br /&gt;&lt;br /&gt;9. Copy reporting web app to tomcat/webapps (reporting/jsp/dist/cruisecontrol.war)&lt;br /&gt;&lt;br /&gt;10. Edit TOMCAT_HOME/webapps/cruisecontrol/WEB-INF/web.xml&lt;br /&gt;&lt;!--&lt;br /&gt;&lt;param-name&gt;logDir&lt;/param-name&gt;&lt;br /&gt;&lt;param-value&gt;WORK_DIR/logs&lt;/param-value&gt;&lt;br /&gt;&lt;br /&gt;&lt;param-name&gt;rootDir&lt;/param-name&gt;&lt;br /&gt;&lt;param-value&gt;WORK_DIR/artifacts&lt;/param-value&gt;&lt;br /&gt;&lt;br /&gt;eg:&lt;br /&gt;&lt;param-name&gt;logDir&lt;/param-name&gt;&lt;br /&gt;&lt;param-value&gt;/home/anoop/installs/cruisecontrol-2.8.2/work/logs&lt;/param-value&gt;&lt;br /&gt;&lt;br /&gt;&lt;param-name&gt;rootDir&lt;/param-name&gt;&lt;br /&gt;&lt;param-value&gt;/home/anoop/installs/cruisecontrol-2.8.2/work/artifacts&lt;/param-value&gt;&lt;br /&gt;--&gt;&lt;br /&gt;Done!&lt;br /&gt;checkout  http://yourserveraddress:8080/cruisecontrol&lt;br /&gt;&lt;br /&gt;Happy coding!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS:&lt;/modificationset&gt;I had an error on acceesing the webinterface:&lt;br /&gt;&lt;br /&gt;type Exception report&lt;br /&gt;&lt;br /&gt;message&lt;br /&gt;&lt;br /&gt;description The server encountered an internal error () that prevented it from fulfilling this request.&lt;br /&gt;&lt;br /&gt;exception&lt;br /&gt;&lt;br /&gt;javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature&lt;br /&gt;org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)&lt;br /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;br /&gt;&lt;br /&gt;root cause&lt;br /&gt;&lt;br /&gt;java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/jasper/servlet/JasperLoader) of the current class, org/apache/jsp/index_jsp, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature&lt;br /&gt;org.apache.jsp.index_jsp._jspInit(index_jsp.java:48)&lt;br /&gt;org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)&lt;br /&gt;org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)&lt;br /&gt;org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)&lt;br /&gt;org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)&lt;br /&gt;org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)&lt;br /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;br /&gt;&lt;br /&gt;Fixed by:&lt;br /&gt;remove TOMCAT_HOME/webapps/cruisecontrol/WEB-INF/lib and remove el-api.jar&lt;br /&gt;&lt;br /&gt;_^_ (namaskaram ;))&lt;br /&gt;Anoop&lt;br /&gt;&lt;br /&gt;&lt;project name="Your-projectname" default="build" basedir="projects/Your-projectname"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;target name="build"&gt;&lt;br /&gt;   &lt;!-- Get the latest from CVS --&gt;&lt;br /&gt;   &lt;!-- &lt;cvs command="up -d -P"&gt; --&gt;&lt;br /&gt;   &lt;!-- Call the target that does everything --&gt;&lt;br /&gt;   &lt;!-- This calls buil.xml inside your project and in this case the target is named 'war' edit as per your projetcs build.xml targets --&gt;&lt;br /&gt;            &lt;ant antfile="build.xml" target="war"&gt;&lt;br /&gt;&lt;/ant&gt;&lt;br /&gt;&lt;/target&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/project&gt;&lt;/listeners&gt;&lt;/plugin&gt;&lt;/project&gt;&lt;/cruisecontrol&gt;&lt;/project&gt;&lt;/project&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6861644995953698522-7377953019892229203?l=e-navikan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://e-navikan.blogspot.com/feeds/7377953019892229203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e-navikan.blogspot.com/2009/07/cruise-control-for-ant-build.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/7377953019892229203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/7377953019892229203'/><link rel='alternate' type='text/html' href='http://e-navikan.blogspot.com/2009/07/cruise-control-for-ant-build.html' title='Cruise Control  for Ant Build'/><author><name>anoopL</name><uri>http://www.blogger.com/profile/18287966039050776270</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6861644995953698522.post-9186469950169381837</id><published>2009-06-16T01:02:00.000-07:00</published><updated>2009-06-16T01:09:49.145-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sudo: must be setuid root'/><category scheme='http://www.blogger.com/atom/ns#' term='sudo'/><title type='text'>errors/fixes on linux</title><content type='html'>Error:  sudo: must be setuid root&lt;br /&gt;&lt;br /&gt;1.chown root:root /usr/bin/sudo&lt;br /&gt;2.chmod 4111 /usr/bin/sudo&lt;br /&gt;3.If this doesnt work make sure that the commnd used (eg:sudo gem  list) is added to user's permission at /etc/sudoers and check the command path is correct say gem can be on /usr/local/bin/gem or /usr/bin/gem. The same can be happened with other commands too. You may find the path of a command by $which gem (the command name)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6861644995953698522-9186469950169381837?l=e-navikan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://e-navikan.blogspot.com/feeds/9186469950169381837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e-navikan.blogspot.com/2009/06/errorsfixes-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/9186469950169381837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6861644995953698522/posts/default/9186469950169381837'/><link rel='alternate' type='text/html' href='http://e-navikan.blogspot.com/2009/06/errorsfixes-on-linux.html' title='errors/fixes on linux'/><author><name>anoopL</name><uri>http://www.blogger.com/profile/18287966039050776270</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
