Skip to content
Snippets Groups Projects
Commit 2566d483 authored by birkhoff's avatar birkhoff
Browse files

new structure of the build. Script is not anymore in the .releng folder, but...

new structure of the build. Script is not anymore in the .releng folder, but in the workspace instead for easier and more stable dependency management. It is still possible to put the script in a subfolder, but it will be necessary change the workspacePath = '../' , workspacePath is now by default = ''
parent 5ad2abeb
No related branches found
No related tags found
No related merge requests found
targetRepositories = ["http://cobra.cs.uni-duesseldorf.de/prob_dev_target/","http://download.eclipse.org/releases/indigo/","http://rodin-b-sharp.sourceforge.net/updates"]
groupID = "de.prob"
apply from: 'tycho_build.gradle'
// Local tasks
project(':de.prob.core') {
repositories {
......@@ -90,8 +91,9 @@ task deleteOldArtifacts(type: Delete) {
}
task collectArtifacts(type:Copy) {
from "../"+groupID+'.repository/target/repository/'
into '../updatesite'
from "../index.html"
into '../updatesite'
from workspacePath + groupID+'.repository/target/repository/'
into workspacePath + 'updatesite'
from workspacePath + "index.html"
into workspacePath + 'updatesite'
}
include 'de.prob.core', 'de.bmotionstudio.gef.editor' ,'de.bmotionstudio.rodin', 'de.prob.plugin', 'de.prob.ui', 'de.prob2.feature'
......@@ -7,7 +7,7 @@ tychoVersion = "0.14.1"
try{
workspacePath = workspacePath
}catch(MissingPropertyException e){
workspacePath = "../"
workspacePath = ""
}
......@@ -131,17 +131,33 @@ subprojects {
apply plugin: 'base'
apply plugin: 'java'
apply plugin: 'eclipse'
task deleteArtifacts(type: Delete) {
delete 'target','pom.xml'
}
///// Copy Dependencies into subprojects DependencyFolder /////
task collectDependencies(type: Copy){
task collectDependencies(type: Copy , dependsOn: ['eclipse']){
from configurations.compile
into "../"+workspacePath+project.name+"/${dependencyFolder}"
into "${dependencyFolder}"
eclipse {
classpath {
//adding extra configurations:
plusConfigurations += configurations.compile
//default settings for dependencies sources/javadoc download:
downloadSources = true
downloadJavadoc = false
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////
......@@ -157,7 +173,7 @@ subprojects {
*
* Version Numbers of the projects are collected via
* regular expressions in the Manifest.MF File.
* Versionnumber of the projects are equal to their
* versionnumber of the projects are equal to their
* Bundle-Version Number
*/
......@@ -210,7 +226,7 @@ subprojects {
* old pom.xml files are deleted and replaced by new auto generated Tycho pom.xml files
*/
}
}else{ // if subprojects aren't a feature
}else{ // end of { if subprojects aren't a feature } Block
// -- Features -- //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment