Changes

Jump to: navigation, search

Continuous Integration

No change in size, 12:11, 16 December 2010
no edit summary
==Project goal==
Currently, NexJ has a Mercurial Repository (Internal) in which, the NexJ Express Server (Core) code is maintained with all its histories. NexJ is planning to share a Core Repository with the Open Source Community by creating a Repository (External) that will be kept in sync with the Internal Repository.
 
==Resources==
===Continuous Integration System===
*'''Comparing Different CI Systems''' -> [http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix CI Feature Matrix]
#'''[[Hudson-nexj |Hudson]]'''
#'''[[CruiseControl-nexj | Cruise Control]]'''
#'''[[Buildbot-nexj | Buildbot]]'''
#'''[http://continuum.apache.org/ Apache Continuum]'''
#'''Maven'''
#'''[http://www.anthillpro.com/html/products/anthillos/default.html Anthill]'''
 
===Version Control Tool===
* Basic Tutorial @ http://hginit.com/
* '''comparing popular version control tools''' [http://martinfowler.com/bliki/VersionControlTools.html]
# '''[[Mercurial-nexj | Mercurial]]'''
#'''CVS'''
#'''SVN'''
#'''Git'''
 
===Scripting===
*1- '''[[Ant-nexj | 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:
<source lang=java>
<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>
</source>
*2- '''[[Bash-nexj| Bash]]'''
==Challenges==
::<code>hg log ${IntDir} -r ${PrevRev}: -b default --template '{node}\n'</code>
: This number will also be added to the commit summary while importing the patch from Internal repo
 
==Resources==
===Continuous Integration System===
*'''Comparing Different CI Systems''' -> [http://confluence.public.thoughtworks.org/display/CC/CI+Feature+Matrix CI Feature Matrix]
#'''[[Hudson-nexj |Hudson]]'''
#'''[[CruiseControl-nexj | Cruise Control]]'''
#'''[[Buildbot-nexj | Buildbot]]'''
#'''[http://continuum.apache.org/ Apache Continuum]'''
#'''Maven'''
#'''[http://www.anthillpro.com/html/products/anthillos/default.html Anthill]'''
 
===Version Control Tool===
* Basic Tutorial @ http://hginit.com/
* '''comparing popular version control tools''' [http://martinfowler.com/bliki/VersionControlTools.html]
# '''[[Mercurial-nexj | Mercurial]]'''
#'''CVS'''
#'''SVN'''
#'''Git'''
 
===Scripting===
*1- '''[[Ant-nexj | 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:
<source lang=java>
<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>
</source>
*2- '''[[Bash-nexj| Bash]]'''
1
edit

Navigation menu