Difference between revisions of "User:Minooz/RepoSyncProj"
(→Scripting) |
(→Scripting) |
||
Line 17: | Line 17: | ||
==Scripting== | ==Scripting== | ||
− | + | *1- '''[http://ant.apache.org/manual/ Ant]''' My notes on -> [[User:Minooz/RepoSyncProj/Ant | Min Ant]] | |
:A new ant script is created e.g. ''buildHudson.xml'' that triggers the target(assign1.test) of main build file(build.xml) of the project. See below: | :A new ant script is created e.g. ''buildHudson.xml'' that triggers the target(assign1.test) of main build file(build.xml) of the project. See below: | ||
<source lang=java> | <source lang=java> | ||
Line 30: | Line 30: | ||
</project> | </project> | ||
</source> | </source> | ||
+ | *2- '''Bash''' My notes on -> [[User:Minooz/RepoSyncProj/Bash | Min Bash]] | ||
==Challenges== | ==Challenges== | ||
# I was receiving an error message while trying to do a new build on Hudson. It didn't let to clone the project on Hudson workspace. The error message is "Access is denied". So I had to delete the project and create a new one. Apparently one of the reasons is that Hudson doesn't let you queue the jobs. So, if you interrupt a job that is scheduled, you'll get the error message. | # I was receiving an error message while trying to do a new build on Hudson. It didn't let to clone the project on Hudson workspace. The error message is "Access is denied". So I had to delete the project and create a new one. Apparently one of the reasons is that Hudson doesn't let you queue the jobs. So, if you interrupt a job that is scheduled, you'll get the error message. |
Revision as of 08:58, 18 October 2010
Contents
Repositories' Syncing
Version Control Tool
- comparing popular version control tools [1]
- Mercurial My notes on -> Min Mercurial
- CVS
- SVN
- Git
Continuous Integration System
- Comparing Different CI Systems -> CI Feature Matrix
- Hudson My notes on -> Min Hudson
- Cruise Control My notes on -> Min Cruise Control
- Buildbot My notes on -> Min Buildbot
- Apache Continuum
- Maven
- Anthill
Scripting
- A new ant script is created e.g. buildHudson.xml that triggers the target(assign1.test) of main build file(build.xml) of the project. See below:
<project name="assign1" basedir="." default="myTarget">
<target name="assign1.build.call">
<!-- Call the target that does everything -->
<ant antfile="build.xml" target="assign1.test"/>
</target>
<target name="myTarget.check" depends="assign1.build.call">
<echo>The assign1.build was called!</echo>
</target>
</project>
- 2- Bash My notes on -> Min Bash
Challenges
- I was receiving an error message while trying to do a new build on Hudson. It didn't let to clone the project on Hudson workspace. The error message is "Access is denied". So I had to delete the project and create a new one. Apparently one of the reasons is that Hudson doesn't let you queue the jobs. So, if you interrupt a job that is scheduled, you'll get the error message.