Project

General

Profile

Evolution #3950

Replace ant by gradle

Added by Erwan L. over 6 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
Core
Target version:
Start date:
03/06/2014
Due date:
% Done:

100%

Estimated time:
Bdc:

Description

After download source from git and update submodule, call gradle from Harmony base folder (gradlew for unix, gradlew.bat for windows) :
  • ./gradlew jar This build all jars
  • ./gradlew build This build all bundles, run tests and generate reports
  • ./gradlew test This run tests for all bundles
  • ./gradlew javadoc This generate javadoc for all bundles
  • ./gradlew eclipse This generate eclipse structure for Harmony. You can import the project in Eclipse from File->Import->General->Existing Projects into Workspace
If you need to launch a task for a specific bundle (for example tact-core):
  • ./gradlew :vendor:tact-core:jar This build jar for tact-core bundle
  • ./gradlew :vendor:tact-core:test This run tests for tact-core bundle
  • ./gradlew :vendor:tact-core:javadoc This generate javadoc for tact-core bundle
  • ...

All gradle tasks must be call from the Harmony base folder

To make a bundle compatible with gradle, add a file build.gradle with this content :

Replace [bundle-name] with the real bundle name (ex: bundle-rest for rest bundle)
Replace [bundle-namespace] with the namespace of the bundle (ex: 'com/tactfactory/harmony/bundles/rest for rest bundle)

task annotationJar(type: Jar) {
    baseName 'bundle-[bundle-name]-annotations'
    from sourceSets.main.output
    include '[bundle-namespace]/annotation/**'

    doLast{
        copy {
            from new File(project.buildDir, 'libs')
            into new File(project.projectDir, 'lib')
            include '*annotations*.jar'
            rename '(.*)-[\0-9]*(.jar)', '$1$2'
        }
    }
}

jar {
    baseName '[bundle-name]'
    exclude '[bundle-namespace]/annotation/**'
    dependsOn annotationJar
}

javadoc {
    exclude '[bundle-namespace]/test/**'
}

Recurrences

History

#10Updated by CI-Build . over 6 years ago

Build 675 finished UNSTABLE from merge request !1687

#11Updated by CI-Build . over 6 years ago

Build 109 finished FAILED from merge request !1689

#12Updated by CI-Build . over 6 years ago

Build 676 finished UNSTABLE from merge request !1689

#13Updated by CI-Build . over 6 years ago

Build 677 finished UNSTABLE from merge request !1690

#15Updated by CI-Build . over 6 years ago

Build 44 finished SUCCESS from merge request !1693

#16Updated by CI-Build . over 6 years ago

Build 678 finished UNSTABLE from merge request !1692

#17Updated by CI-Build . over 6 years ago

Build 679 finished SUCCESS from merge request !1691

#18Updated by CI-Build . over 6 years ago

Build 680 finished UNSTABLE from merge request !1694

#19Updated by CI-Build . over 6 years ago

Build 681 finished UNSTABLE from merge request !1696

#20Updated by CI-Build . over 6 years ago

Build 682 finished UNSTABLE from merge request !1695

#21Updated by CI-Build . over 6 years ago

Build 683 finished UNSTABLE from merge request !1697

#22Updated by CI-Build . over 6 years ago

Build 684 finished FAILED from merge request !1700

#23Updated by CI-Build . over 6 years ago

Build 685 finished UNSTABLE from merge request !1699

#24Updated by CI-Build . over 6 years ago

Build 686 finished UNSTABLE from merge request !1698

#25Updated by CI-Build . over 6 years ago

Build 122 finished SUCCESS from merge request !1701

#26Updated by CI-Build . over 6 years ago

Build 687 finished UNSTABLE from merge request !1700

#28Updated by CI-Build . over 6 years ago

Build 20 finished FAILED from merge request !1762

#29Updated by CI-Build . over 6 years ago

Build 21 finished FAILED from merge request !1762

#30Updated by CI-Build . over 6 years ago

Build 22 finished FAILED from merge request !1762

#31Updated by CI-Build . over 6 years ago

Build 47 finished SUCCESS from merge request !1773

#32Updated by CI-Build . over 6 years ago

Build 129 finished FAILED from merge request !1772

#33Updated by CI-Build . over 6 years ago

Build 23 finished FAILED from merge request !1762

#34Updated by CI-Build . over 6 years ago

Build 24 finished FAILED from merge request !1762

#35Updated by CI-Build . over 6 years ago

Build 130 finished FAILED from merge request !1704

#36Updated by CI-Build . over 6 years ago

Build 22 finished FAILED from merge request !1774

#37Updated by CI-Build . over 6 years ago

Build 23 finished FAILED from merge request !1774

#38Updated by CI-Build . over 6 years ago

Build 24 finished FAILED from merge request !1774

#39Updated by CI-Build . over 6 years ago

Build 25 finished FAILED from merge request !1774

#40Updated by CI-Build . over 6 years ago

Build 26 finished FAILED from merge request !1774

#41Updated by CI-Build . over 6 years ago

Build 48 finished SUCCESS from merge request !1777

#42Updated by CI-Build . over 6 years ago

Build 131 finished FAILED from merge request !1772

#43Updated by CI-Build . over 6 years ago

Build 25 finished FAILED from merge request !1762

#44Updated by CI-Build . over 6 years ago

Build 735 finished UNSTABLE from merge request !1776

#45Updated by CI-Build . over 6 years ago

Build 132 finished FAILED from merge request !1772

#46Updated by CI-Build . over 6 years ago

Build 26 finished FAILED from merge request !1762

#47Updated by CI-Build . over 6 years ago

Build 7 finished FAILED from merge request !1781

#48Updated by CI-Build . over 6 years ago

Build 115 finished FAILED from merge request !1780

#49Updated by CI-Build . over 6 years ago

Build 133 finished FAILED from merge request !1772

#50Updated by CI-Build . over 6 years ago

Build 134 finished FAILED from merge request !1772

#51Updated by CI-Build . over 6 years ago

Build 135 finished FAILED from merge request !1772

#52Updated by CI-Build . over 6 years ago

Build 136 finished FAILED from merge request !1772

#53Updated by CI-Build . over 6 years ago

Build 27 finished FAILED from merge request !1762

#54Updated by CI-Build . over 6 years ago

Build 8 finished FAILED from merge request !1781

#55Updated by CI-Build . over 6 years ago

Build 28 finished FAILED from merge request !1762

#56Updated by CI-Build . over 6 years ago

Build 27 finished FAILED from merge request !1774

#57Updated by CI-Build . over 6 years ago

Build 28 finished FAILED from merge request !1774

#58Updated by CI-Build . over 6 years ago

Build 29 finished FAILED from merge request !1774

#59Updated by CI-Build . over 6 years ago

Build 20 finished FAILED from merge request !1784

#60Updated by CI-Build . over 6 years ago

Build 21 finished FAILED from merge request !1784

#61Updated by CI-Build . over 6 years ago

Build 137 finished SUCCESS from merge request !1772

#62Updated by CI-Build . over 6 years ago

Build 30 finished FAILED from merge request !1774

#63Updated by CI-Build . over 6 years ago

Build 9 finished FAILED from merge request !1781

#64Updated by CI-Build . over 6 years ago

Build 29 finished FAILED from merge request !1762

#65Updated by CI-Build . over 6 years ago

Build 116 finished FAILED from merge request !1780

#66Updated by CI-Build . over 6 years ago

Build 117 finished FAILED from merge request !1780

#67Updated by CI-Build . over 6 years ago

Build 31 finished FAILED from merge request !1774

#68Updated by CI-Build . over 6 years ago

Build 138 finished SUCCESS from merge request !1704

#69Updated by CI-Build . over 6 years ago

Build 44 finished FAILED from merge request !1786

#70Updated by CI-Build . over 6 years ago

Build 32 finished FAILED from merge request !1787

#71Updated by CI-Build . over 6 years ago

Build 44 finished FAILED from merge request !1788

#72Updated by CI-Build . over 6 years ago

Build 16 finished FAILED from merge request !1789

#73Updated by CI-Build . over 6 years ago

Build 743 finished FAILED from merge request !1780

#74Updated by CI-Build . over 6 years ago

Build 45 finished FAILED from merge request !1788

#75Updated by CI-Build . over 6 years ago

Build 746 finished FAILED from merge request !1762

#76Updated by CI-Build . over 6 years ago

Build 747 finished SUCCESS from merge request !1774

#77Updated by CI-Build . over 6 years ago

Build 751 finished UNSTABLE from merge request !1780

#78Updated by CI-Build . over 6 years ago

Build 752 finished FAILED from merge request !1793

#79Updated by CI-Build . over 6 years ago

Build 753 finished UNSTABLE from merge request !1793

#80Updated by CI-Build . over 6 years ago

Build 49 finished SUCCESS from merge request !1795

#81Updated by CI-Build . over 6 years ago

Build 45 finished FAILED from merge request !1786

#82Updated by CI-Build . over 6 years ago

Build 754 finished FAILED from merge request !1781

#83Updated by CI-Build . over 6 years ago

Build 757 finished FAILED from merge request !1797

#84Updated by CI-Build . over 6 years ago

Build 758 finished UNSTABLE from merge request !1762

#85Updated by CI-Build . over 6 years ago

Build 759 finished UNSTABLE from merge request !1789

#86Updated by CI-Build . over 6 years ago

Build 760 finished UNSTABLE from merge request !1798

#87Updated by CI-Build . over 6 years ago

Build 761 finished FAILED from merge request !1789

#88Updated by CI-Build . over 6 years ago

Build 762 finished UNSTABLE from merge request !1788

#89Updated by CI-Build . over 6 years ago

Build 763 finished SUCCESS from merge request !1787

#90Updated by CI-Build . over 6 years ago

Build 764 finished SUCCESS from merge request !1797

#91Updated by CI-Build . over 6 years ago

Build 46 finished FAILED from merge request !1786

#92Updated by CI-Build . over 6 years ago

Build 139 finished FAILED from merge request !1800

#93Updated by CI-Build . over 6 years ago

Build 140 finished FAILED from merge request !1802

#94Updated by CI-Build . over 6 years ago

Build 141 finished FAILED from merge request !1800

#95Updated by CI-Build . over 6 years ago

Build 768 finished FAILED from merge request !1789

#96Updated by CI-Build . over 6 years ago

Build 769 finished UNSTABLE from merge request !1798

#97Updated by CI-Build . over 6 years ago

Build 770 finished UNSTABLE from merge request !1788

#98Updated by CI-Build . over 6 years ago

Build 771 finished UNSTABLE from merge request !1789

#99Updated by CI-Build . over 6 years ago

Build 772 finished SUCCESS from merge request !1781

#100Updated by CI-Build . over 6 years ago

Build 47 finished FAILED from merge request !1786

#101Updated by CI-Build . over 6 years ago

Build 773 finished UNSTABLE from merge request !1786

#102Updated by CI-Build . over 6 years ago

Build 142 finished FAILED from merge request !1800

#103Updated by CI-Build . over 6 years ago

Build 774 finished SUCCESS from merge request !1784

#104Updated by CI-Build . over 6 years ago

Build 775 finished FAILED from merge request !1803

#105Updated by CI-Build . over 6 years ago

Build 776 finished UNSTABLE from merge request !1803

#106Updated by CI-Build . over 6 years ago

Build 143 finished FAILED from merge request !1802

#107Updated by CI-Build . over 6 years ago

Build 144 finished FAILED from merge request !1800

#108Updated by CI-Build . over 6 years ago

Build 145 finished FAILED from merge request !1800

#109Updated by CI-Build . over 6 years ago

Build 146 finished FAILED from merge request !1800

#110Updated by CI-Build . over 6 years ago

Build 147 finished FAILED from merge request !1800

#111Updated by CI-Build . over 6 years ago

Build 148 finished SUCCESS from merge request !1800

#112Updated by CI-Build . over 6 years ago

Build 75 finished FAILED from merge request !1810

#113Updated by CI-Build . over 6 years ago

Build 149 finished FAILED from merge request !1812

#114Updated by CI-Build . over 6 years ago

Build 150 finished FAILED from merge request !1812

#115Updated by CI-Build . over 6 years ago

Build 151 finished FAILED from merge request !1812

#116Updated by CI-Build . over 6 years ago

Build 152 finished FAILED from merge request !1812

#117Updated by CI-Build . over 6 years ago

Build 153 finished SUCCESS from merge request !1812

#118Updated by CI-Build . over 6 years ago

Build 76 finished FAILED from merge request !1810

#119Updated by CI-Build . over 6 years ago

Build 786 finished FAILED from merge request !1810

#120Updated by CI-Build . over 6 years ago

Build 50 finished SUCCESS from merge request !1817

#121Updated by CI-Build . over 6 years ago

Build 51 finished SUCCESS from merge request !1821

#122Updated by CI-Build . almost 6 years ago

Build 802 finished UNSTABLE from merge request !2191

#126Updated by CI-Build . almost 6 years ago

Build 807 finished UNSTABLE from merge request !1810

#127Updated by CI-Build . almost 6 years ago

Build 808 finished UNSTABLE from merge request !2219

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)