From: <lh...@us...> - 2010-03-24 09:49:02
|
Revision: 388 http://tinytim.svn.sourceforge.net/tinytim/?rev=388&view=rev Author: lheuer Date: 2010-03-24 09:48:56 +0000 (Wed, 24 Mar 2010) Log Message: ----------- Added *experimental* Gradle build Added Paths: ----------- tinytim/trunk/build.gradle Added: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle (rev 0) +++ tinytim/trunk/build.gradle 2010-03-24 09:48:56 UTC (rev 388) @@ -0,0 +1,45 @@ +// *Experimental* build file for Gradle +// DO NOT use it. Don't even think about it! + +group = 'org.tinytim' +archivesBaseName = 'tinytim' +version = '2.0.1' +bundleVersion = version + +usePlugin 'java' +usePlugin 'osgi' + +manifest.mainAttributes( + 'Implementation-Title': 'tinyTiM', + 'Implementation-Version': version +) + +gradle.taskGraph.whenReady {taskGraph -> + if (!taskGraph.hasTask(':release')) { + version += '-SNAPSHOT' + } +} + +repositories { + mavenCentral() + mavenRepo urls: 'http://www.tmapi.org/maven-repository/' + mavenRepo urls: 'http://www.tmapi.org/maven-repository/snapshots/' +} + +dependencies { + compile group: 'org.tmapi', name: 'tmapi', version: '2.0.2' + compile files('lib/semagia-mio-0.9.5.jar') + + testCompile group: 'junit', name: 'junit', version: '4.+' + testCompile group: 'org.tmapi', name: 'tmapi-tests', version: '2.0.3-SNAPSHOT' +} + +configure(jar.osgi) { + instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' + instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' + instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' +} + +test { + include '**/AllTests.class' +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-03-29 20:03:24
|
Revision: 389 http://tinytim.svn.sourceforge.net/tinytim/?rev=389&view=rev Author: lheuer Date: 2010-03-29 20:03:18 +0000 (Mon, 29 Mar 2010) Log Message: ----------- Updated to Gradle 0.9-preview-1. Still unusable (the build file, not Gradle) Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-03-24 09:48:56 UTC (rev 388) +++ tinytim/trunk/build.gradle 2010-03-29 20:03:18 UTC (rev 389) @@ -1,4 +1,4 @@ -// *Experimental* build file for Gradle +// *Experimental* build file for Gradle *0.9* (preview) // DO NOT use it. Don't even think about it! group = 'org.tinytim' @@ -6,8 +6,8 @@ version = '2.0.1' bundleVersion = version -usePlugin 'java' -usePlugin 'osgi' +apply plugin: 'java' +apply plugin: 'osgi' manifest.mainAttributes( 'Implementation-Title': 'tinyTiM', @@ -34,10 +34,12 @@ testCompile group: 'org.tmapi', name: 'tmapi-tests', version: '2.0.3-SNAPSHOT' } -configure(jar.osgi) { - instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' - instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' - instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' +jar { + manifest { + instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' + instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' + instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' + } } test { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-03-29 20:08:57
|
Revision: 390 http://tinytim.svn.sourceforge.net/tinytim/?rev=390&view=rev Author: lheuer Date: 2010-03-29 20:08:51 +0000 (Mon, 29 Mar 2010) Log Message: ----------- build simplification Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-03-29 20:03:18 UTC (rev 389) +++ tinytim/trunk/build.gradle 2010-03-29 20:08:51 UTC (rev 390) @@ -9,11 +9,6 @@ apply plugin: 'java' apply plugin: 'osgi' -manifest.mainAttributes( - 'Implementation-Title': 'tinyTiM', - 'Implementation-Version': version -) - gradle.taskGraph.whenReady {taskGraph -> if (!taskGraph.hasTask(':release')) { version += '-SNAPSHOT' @@ -36,6 +31,7 @@ jar { manifest { + attributes 'Implementation-Title': 'tinyTiM', 'Implementation-Version': version instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-04-02 10:06:54
|
Revision: 393 http://tinytim.svn.sourceforge.net/tinytim/?rev=393&view=rev Author: lheuer Date: 2010-04-02 10:06:48 +0000 (Fri, 02 Apr 2010) Log Message: ----------- Updated Gradle build Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-03-30 08:51:27 UTC (rev 392) +++ tinytim/trunk/build.gradle 2010-04-02 10:06:48 UTC (rev 393) @@ -1,13 +1,19 @@ -// *Experimental* build file for Gradle *0.9* (preview) -// DO NOT use it. Don't even think about it! - +/* + * Gradle 0.9 build file. + * + * - Download Gradle from <http://www.gradle.org/> + * - Execute gradle build + * + * TODO: Zip / Tar archives, run TMAPI.AllTests + * + */ group = 'org.tinytim' -archivesBaseName = 'tinytim' version = '2.0.1' bundleVersion = version apply plugin: 'java' apply plugin: 'osgi' +apply plugin: 'maven' gradle.taskGraph.whenReady {taskGraph -> if (!taskGraph.hasTask(':release')) { @@ -34,10 +40,16 @@ attributes 'Implementation-Title': 'tinyTiM', 'Implementation-Version': version instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' - instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' + instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc, org.tinytim.utils' } } -test { - include '**/AllTests.class' -} \ No newline at end of file +artifacts { + archives jar +} + +uploadArchives { + repositories.mavenDeployer { + repository(url: "file://$buildDir/maven-repo/") + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-04-02 12:24:50
|
Revision: 394 http://tinytim.svn.sourceforge.net/tinytim/?rev=394&view=rev Author: lheuer Date: 2010-04-02 12:24:43 +0000 (Fri, 02 Apr 2010) Log Message: ----------- Next build update (won't be the last) Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-04-02 10:06:48 UTC (rev 393) +++ tinytim/trunk/build.gradle 2010-04-02 12:24:43 UTC (rev 394) @@ -44,8 +44,14 @@ } } +task sourcesJar(type: Jar, dependsOn:classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + artifacts { archives jar + archives sourcesJar } uploadArchives { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-08-31 16:37:58
|
Revision: 405 http://tinytim.svn.sourceforge.net/tinytim/?rev=405&view=rev Author: lheuer Date: 2010-08-31 16:37:49 +0000 (Tue, 31 Aug 2010) Log Message: ----------- Improved build: TMAPI test are executed Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-08-03 19:34:33 UTC (rev 404) +++ tinytim/trunk/build.gradle 2010-08-31 16:37:49 UTC (rev 405) @@ -4,7 +4,7 @@ * - Download Gradle from <http://www.gradle.org/> * - Execute gradle build * - * TODO: Zip / Tar archives, run TMAPI.AllTests + * TODO: Zip / Tar archives * */ group = 'org.tinytim' @@ -14,7 +14,13 @@ apply plugin: 'java' apply plugin: 'osgi' apply plugin: 'maven' +apply plugin: 'eclipse' +defaultTasks 'clean', 'build' + +//TODO: Remove me once <http://jira.codehaus.org/browse/GRADLE-1079> is fixed +eclipseClasspath.variables = [:] + gradle.taskGraph.whenReady {taskGraph -> if (!taskGraph.hasTask(':release')) { version += '-SNAPSHOT' @@ -33,23 +39,33 @@ } dependencies { - compile group: 'org.tmapi', name: 'tmapi', version: '2.0.2' + compile 'org.tmapi:tmapi:2.0.2' compiledep 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' - testCompile group: 'junit', name: 'junit', version: '4.8.1' - testCompile group: 'org.tmapi', name: 'tmapi-tests', version: '2.0.3-SNAPSHOT' - - // Make Eclipse happy - testCompile 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' + testCompile 'junit:junit:4.8.1', + 'org.tmapi:tmapi-tests:2.0.3-SNAPSHOT' } +eclipseClasspath.downloadSources = false +eclipseClasspath.plusConfigurations.add configurations.compiledep + sourceSets { main { compileClasspath = sourceSets.main.compileClasspath + configurations.compiledep } } +test.doFirst { + ant { + unzip(src: configurations.testCompile.find { f -> f.name.startsWith('tmapi-test') }, + dest: "$buildDir/classes/test") { + exclude '**/TestTopicMapSystemFactory*' + exclude '**/TestRFC3986*' + } + } +} + jar { manifest { attributes 'Implementation-Title': 'tinyTiM', 'Implementation-Version': version This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-02 09:38:27
|
Revision: 411 http://tinytim.svn.sourceforge.net/tinytim/?rev=411&view=rev Author: lheuer Date: 2010-09-02 09:38:20 +0000 (Thu, 02 Sep 2010) Log Message: ----------- Updated POM Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-09-01 18:27:40 UTC (rev 410) +++ tinytim/trunk/build.gradle 2010-09-02 09:38:20 UTC (rev 411) @@ -11,6 +11,14 @@ version = '2.0.1' bundleVersion = version +project.projectName = 'tinyTiM' +project.projectDescription = 'Topic Maps engine' +project.vendorName = 'tinyTiM project' +project.vendorURL = 'http://tinytim.sourceforge.net/' +project.licenseName = 'Apache Software License, Version 2.0' +project.licenseURL = 'http://www.apache.org/licenses/LICENSE-2.0.txt' +project.projectURL = 'http://tinytim.sourceforge.net/' + apply plugin: 'java' apply plugin: 'osgi' apply plugin: 'maven' @@ -27,11 +35,15 @@ } } +REP_TMAPI = 'http://www.tmapi.org/maven-repository/' +REP_TMAPI_SNAPSHOTS = 'http://www.tmapi.org/maven-repository/snapshots/' +REP_SEMAGIA_SNAPSHOTS = 'http://repository.semagia.com/snapshots/' + repositories { mavenCentral() - mavenRepo urls: 'http://www.tmapi.org/maven-repository/' - mavenRepo urls: 'http://www.tmapi.org/maven-repository/snapshots/' - mavenRepo urls: 'http://repository.semagia.com/snapshots/' + mavenRepo urls: REP_TMAPI + mavenRepo urls: REP_TMAPI_SNAPSHOTS + mavenRepo urls: REP_SEMAGIA_SNAPSHOTS } configurations { @@ -90,5 +102,36 @@ uploadArchives { repositories.mavenDeployer { repository(url: "file://$buildDir/maven-repo/") + + pom.project { + name project.projectName + description project.projectDescription + url project.projectURL + + organization { + name project.vendorName + url project.vendorURL + } + licenses { + license { + name project.licenseName + url project.licenseURL + } + } + repositories { + repository { + id 'tmapi' + url REP_TMAPI + } + repository { + id 'tmapi-snapshot' + url REP_TMAPI_SNAPSHOTS + } + repository { + id 'semagia-snapshots' + url REP_SEMAGIA_SNAPSHOTS + } + } + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-02 10:33:16
|
Revision: 412 http://tinytim.svn.sourceforge.net/tinytim/?rev=412&view=rev Author: lheuer Date: 2010-09-02 10:33:10 +0000 (Thu, 02 Sep 2010) Log Message: ----------- Fixed dependencies Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-09-02 09:38:20 UTC (rev 411) +++ tinytim/trunk/build.gradle 2010-09-02 10:33:10 UTC (rev 412) @@ -51,11 +51,12 @@ } dependencies { - compile 'org.tmapi:tmapi:(2.0.2,)' + compile 'org.tmapi:tmapi:[2.0.0,)' compiledep 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' testCompile 'junit:junit:4.8.1', + 'org.tmapi:tmapi:2.0.3-SNAPSHOT', 'org.tmapi:tmapi-tests:2.0.3-SNAPSHOT', 'com.semagia.mio:mio-core-tests:0.9.6-SNAPSHOT', 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-03 16:02:20
|
Revision: 414 http://tinytim.svn.sourceforge.net/tinytim/?rev=414&view=rev Author: lheuer Date: 2010-09-03 16:02:14 +0000 (Fri, 03 Sep 2010) Log Message: ----------- Updated build Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-09-03 16:01:18 UTC (rev 413) +++ tinytim/trunk/build.gradle 2010-09-03 16:02:14 UTC (rev 414) @@ -51,7 +51,7 @@ } dependencies { - compile 'org.tmapi:tmapi:[2.0.0,)' + compile 'org.tmapi:tmapi:[2.0.2,)' compiledep 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-09-15 16:50:04
|
Revision: 415 http://tinytim.svn.sourceforge.net/tinytim/?rev=415&view=rev Author: lheuer Date: 2010-09-15 16:49:58 +0000 (Wed, 15 Sep 2010) Log Message: ----------- Added Emma test coverage plugin Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-09-03 16:02:14 UTC (rev 414) +++ tinytim/trunk/build.gradle 2010-09-15 16:49:58 UTC (rev 415) @@ -23,6 +23,7 @@ apply plugin: 'osgi' apply plugin: 'maven' apply plugin: 'eclipse' +apply from:'http://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle' defaultTasks 'clean', 'build' @@ -51,6 +52,8 @@ } dependencies { + emma 'emma:emma:2.0.5312', 'emma:emma_ant:2.0.5312' + compile 'org.tmapi:tmapi:[2.0.2,)' compiledep 'com.semagia.mio:mio-core:0.9.6-SNAPSHOT' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <lh...@us...> - 2010-11-06 10:07:28
|
Revision: 416 http://tinytim.svn.sourceforge.net/tinytim/?rev=416&view=rev Author: lheuer Date: 2010-11-06 10:07:21 +0000 (Sat, 06 Nov 2010) Log Message: ----------- Fixed Emma URL (see also <http://jira.codehaus.org/browse/GRADLE-1210>) Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-09-15 16:49:58 UTC (rev 415) +++ tinytim/trunk/build.gradle 2010-11-06 10:07:21 UTC (rev 416) @@ -23,7 +23,7 @@ apply plugin: 'osgi' apply plugin: 'maven' apply plugin: 'eclipse' -apply from:'http://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle' +apply from:'https://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle' defaultTasks 'clean', 'build' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |