Tags
android (7) anonymity (9) ant (10) apache (60) apple (9) atv (18) australia (8) bernardet (7) bombardier (7) book (7) browser (11) business (8) caliber30 (61) canon (9) captcha (8) cedricwalter (7) checklist (9) chrome (6) collection (8) comcontent (7) continuousbuild (28) design (13) designpattern (23) desktop (8) development (31) DIY (9) draganflyer5 (9) dslr (14) eclipse (30) ek4 (8) electronic (18) enfrancais (66) event (8) figures (14) firefox (20) firmware (8) flash (9) flickr (6) framework (12) fud (9) game (19) gaming (6) google (70) gpl (8) gps (9) hacking (25) hdtv (7) hollidays (15) homecinema (14) homepage (20) howto (75) innoveo (7) iphone (7) italy (10) itsatrap (8) java (80) javascript (11) joke (12) joomla (223) joomla15 (39) joomlacloud (7) junit (9) kde (11) kyosho (62) links (17) linux (127) LittleBigPlanet (16) mambo (18) manual (8) manurhin (9) maven (42) mediacenter (10) microsoft (53) modding (10) module (21) morespeed (16) motor (8) motorcycle (13) myhomepage (14) mysql (14) nas (14) neogeo (20) opencomment (27) opensource (63) opensuse (10) oss (8) p2p (7) panasonic (6) patch (32) pc (12) pdf (8) php (28) picasa (7) plugin (67) privacy (9) projector (11) protection (7) ps3 (43) publicity (9) quad (18) raptor30 (7) rchelicopter (161) release (7) review (32) robot (9) robotic (7) rss (8) safety (8) scooter (29) security (62) securityimage (8) securityimage3 (6) securityimage4 (21) securityimage5 (19) securityimages (19) securityimages5 (6) server (17) simulator (8) smugmug (13) snk (16) software (31) sony (39) spammer (7) statistics (13) storage (7) subversion (7) suse (12) switzerland (7) teamcity (16) testing (9) thundertiger (20) tips (31) tomcat (7) tomtom (7) translatetofrench (8) trip (17) troubleshooting (7) tutorial (9) twitter (7) upgrade (15) vespa (10) video (17) vintage (9) watercooling (9) web2.0 (28) windows (15) xbmc (7) xbox (10) zurich (18) zürich (11)
Latest Comments
Popular Post
items tagged with subversionContinuous Build for Joomla
Written By: Administrator Section: Joomla Category: Development 2008-12-02 21:11:18
Things get clearer in my mind...I will use a set of Open Sources software to reach this ambitious goal. BrainstormingMaintain a Single Source Repository. Either Subversion running locally on windows/Linux, but I will stay with www.joomlaCode.org at the beginning
Every Commit Should Build the Mainline on an Integration Machine I will use TeamCity continuous build server as it is free for personal use (limited to 20 concurrent build), run on Windows and Linux but require a java VM to run (may not be wanted in a PHP environment). Anyway with ANT, it will be possible to use another build server like Cruise Control or PHP Under Control. That is an objective :-) Test in a Clone of the Production Environment Joomla! Build farm
Make it Easy for Anyone to Get the Latest Executable Successful build (Artifacts) are only available if build is successful. Team City provide this with less effort (configuration) Everyone can see what's happening
That will be, auto publish to some demo site in a configurable way. At the moment, at http://demo.waltercedric.com and http://demo2.waltercedric.com for me :-) Final words
It seem that nobody is providing such a package as I am after only one day at the top of search results in Google "continuous build joomla" Install subversion on windows
Written By: Administrator Section: Joomla Category: How To 2008-08-03 16:53:05 In order to better develop for Joomla by having your own subversion local repositories. My second objective is to version different version of Joomla!/my components so I can Download the Subversion distribution for you operating system at: http://subversion.tigris.org/getting.html
Create a new directory using the file explorer or with Initialize it by issuing this command: # svnadmin create e:\xsubrversion Inside your new repository (e:\xsubrversion ) there is a directory called /conf. There you'll find a file Just uncomment the following lines by removing the #: [general]anon-access = read auth-access = write password-db = passwd In the same directory, you'll find another text file called passwd, if it do not exist, just create it and put all cedric.walter = xxxxxxx monkey.coder = yyyyyy Restart the service "Subversion Server" In Eclipse PDT/PHP Eclipse, you can now connect to Subversion with Subversive client (Subclipse is not part of URL: svn://localhost Joomla development, correct usage of subversion
Written By: Administrator Section: Joomla Category: Development 2008-05-29 19:26:46
What people are doing, most of the time, is committing the code they write to Joomla So these kind of subversion layout are not uncommon
All of these layout are highly not efficient...The point of SVN/CVS
With all of the above layout A, B or C, the code committed is not connected to the runtime The developer runtime is a running Joomla instance, and developer change their code directly
Recommended SVN layoutI am now using the recommended SVN layout: /trunk /tags /branches
I recommend you using Eclipse PDT (free), So I have created 2 new PHP project in eclipse:
This project is fully versioned (so even Joomla! and MYSQL dump). What could be disturbing at first but make sense Carefully commitWhile working in a team, not all file has to be committed to /trunk The configuration.php for example is a default one (mine), anybody can make change but shall not commit it to the trunk! -> DevelopmentWhen I develop, alone or in a team, I do daily before every change a Team synchronize on project securityimages4 in order I it highly recommended not to update without looking at what is coming from SVN, so anybody can give give feedback on As soon as I have no visible bug and all functionalities, I create a new release Create a new releaseWhen I want to make a new release, I launch in eclipse an ant build (right click – run as ant build on / securityimages4/build.xml) This create the deliverable (a component zip or N files as zip with a version number) that I can publish/version also in another project The deliverable are what I publish on my site. The ANT build file look like: 1: <?xml version="1.0" encoding="UTF-8"?> 2: <project name="securityimages" default="_build"> 3: <description>Create a new release of joomla component</description> 4:
5: <property name="workspace.dir" value="." /> 6: <property name="component.version" value="5.0.0RC2" /> 7: <property name="component.name" value="securityimages" /> 8:
9: <property name="destination.dir" value="c:\temp\${component.name}-${component.version}" /> 10:
11: <target name="_preparedirs"> 12: <mkdir dir="${destination.dir}" /> 13: </target> 14:
15: <target name="_build" depends="_preparedirs" description="deploy joomla component"> 16: <copy todir="${destination.dir}/components" filtering="on"> 17: <fileset dir="${workspace.dir}/administrator/components/com_${component.name}" includes="**/*.*" /> 18: <fileset dir="${workspace.dir}/components/com_${component.name}" includes="**/*.*" /> 19: <fileset dir="${workspace.dir}/plugins/seystem" includes="${component.name}.*" /> 20: </copy> 21: <copy todir="${destination.dir}/plugin" filtering="on"> 22: <fileset dir="${workspace.dir}/plugins/seystem" includes="${component.name}.*" /> 23: </copy> 24: </target> 25: </project> Its purpose it to build a new deliverable in one click without going through the file system over and over. I also version the project securityimages5 with the same version number, so I can then continue developing in trunk.
Branching an existing releaseIf someone report an issue, lets say in securityimages5.0.1.zip and code in /trunk is too far away in trunk or still unstable
I load the tag version 5.0.1 of the project securityimages5 in my eclipse workspace (Team replace with - tags) and open
When all issues are solved, after many commit to the branch (= to a trunk), I version the branch with a …. Tag, for example
Nasty back portingSomehow a bug in version 5.0.1 has a lot of chance of also being in the latest version (the code in /trunk). So I am forced to
Joomla Releasing new versionsJoomla release a new version? I install the new version of Joomla! in my eclipse project securityimages5 If securityimages still
Conclusions
You are now able to compare the trunk with any working/non working versions (tag or branches) of the past. See what has committed what
M2Eclipse Maven FAQ
Written By: Administrator Section: Java Category: Apache Maven 2009-07-17 22:49:48
Someone create a new maven module, after updating from SVN the module is not visible as a separate project.Scenario:
Solution:
In SVN perspective, when I choose "Checkout as Maven Project" on maven projectA, I get an exception saying that maven.123457896 can not be renamedScenario: This error occur sometime, especially if you ever kill eclipse during a previous maven checkout (as sometimes it seems to hang forever). In fact the error message can be misleading,as M2Eclipse can not renamed maven.1234567896 to projectA as it may partially exist on disk. Solution:
.classpath or .project are not committed in SVN, how to add them?Scenario: You may have add a svn:ignore on some directories, or some someone may have committed a recursive svn:ignore properties on some module in the hierarchy. While we should never commit any .classpath to SVN, there is some rare case where it is still needed. For example if you ever add special runtime server libraries that may not be coming from Maven Dependencies. Solution: Even if there is a svn:ignore on a maven module, or if a module has applied svn:ignore properties to all its child, you can always put a file under version control by doing the following
Maven Surefire runs multiple times our test case when using goal siteThis is neither a bug or an issue of Maven, it look like even to be a feature! Some reporting plugin are modifying (instrumentation) the java byte code of test cases like with Cobertura (goal: cobertura:cobertura).
In some rare case scenario (multi threaded test cases for example), it may be worth to run the code twice as instrumentation may modify behaviors and outcome of tests. So to resume, maven Surefire run them once, then Cobertura one more time but instrumented. One solution among other to escape this is to use Maven profiles, and to rely on another build that do not use reporting to run tests without instrumentation. More to come .. Small How to setup Subversion 1.6.6 on Debian Lenny
Written By: Administrator Section: Java Category: Apache Maven 2010-03-29 17:44:48
Installing the latest Subversion (svn) version 1.6.6 is a bit more difficult than just running apt-get install subversion, as the latest stable version in Debian Lenny is considered to be SVN 1.5.1 not Subversion 1.6.6 Edit the file /etc/apt/sources.list and Add the line below to # deb http://www.backports.org/debian lenny-backports main contrib non-free Add the public key from lenny-backports by running the following command # wget -O - http://backports.org/debian/archive.key | apt-key add - Now update the latest package definitions # apt-get update # apt-get -t lenny-backports install subversion Check that you now have the correct version by running # svn --version Copyright (C) 2000-2009 CollabNet. The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. I recommend you to always use the latest version (but hey backup/dump your repository before), you’ll see later that with Apache Maven, it is also resolving some issues. There are 7 items tagged with subversion. You can view all our tags in the Tag Cloud | |||||||||||||||||||||||||||||||||||||
Support
- Submit a bug report, or post your suggestion.
- Visit the Wiki to find an answer to your question or ask in my support Forums.
- When contacting me, always provide as much as details as possible about your issue, environment.
Download
You can download all my Joomla! extensions and a lot more HERE










