Skip to content

Commit

Permalink
Fixed local build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ribafish committed Sep 2, 2024
1 parent b5819c8 commit ed548b3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ project.assembleTargetPlatform.doLast {
'-p2.ws', Constants.ws,
'-p2.arch', Constants.arch,
'-roaming',
'-vm', System.getProperty('java.home') + '/bin/java',
'-nosplash')
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ class BuildDefinitionPlugin implements Plugin<Project> {
'-roaming',
'-nosplash',
'-consoleLog',
'-vm', System.getProperty('java.home') + '/bin/java',
'-vmargs', '-Declipse.p2.mirror=false')

ignoreExitValue = true
Expand All @@ -423,6 +424,7 @@ class BuildDefinitionPlugin implements Plugin<Project> {
'-roaming',
'-nosplash',
'-consoleLog',
'-vm', System.getProperty('java.home') + '/bin/java',
'-vmargs', '-Declipse.p2.mirror=false')
}
}
Expand Down
4 changes: 4 additions & 0 deletions buildSrc/src/main/groovy/eclipsebuild/TestBundlePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ class TestBundlePlugin implements Plugin<Project> {
"-bundles", p.tasks.jar.outputs.files.singleFile.path,
"-publishArtifacts",
"-nosplash",
'-vm', System.getProperty('java.home') + '/bin/java',
"-consoleLog")
}
}
Expand All @@ -235,6 +236,7 @@ class TestBundlePlugin implements Plugin<Project> {
"-bundles", project.jar.outputs.files.singleFile.path,
"-publishArtifacts",
"-nosplash",
'-vm', System.getProperty('java.home') + '/bin/java',
"-consoleLog")
}
}
Expand All @@ -255,6 +257,7 @@ class TestBundlePlugin implements Plugin<Project> {
'-p2.arch', Constants.arch,
'-roaming',
'-nosplash',
'-vm', System.getProperty('java.home') + '/bin/java',
'-consoleLog')
}
}
Expand All @@ -272,6 +275,7 @@ class TestBundlePlugin implements Plugin<Project> {
'-p2.ws', Constants.ws,
'-p2.arch', Constants.arch,
'-roaming',
'-vm', System.getProperty('java.home') + '/bin/java',
'-nosplash')
}
}
Expand Down
2 changes: 2 additions & 0 deletions buildSrc/src/main/groovy/eclipsebuild/UpdateSitePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ class UpdateSitePlugin implements Plugin<Project> {
'-publishArtifacts',
'-reusePack200Files',
'-configs', 'ANY',
'-vm', System.getProperty('java.home') + '/bin/java',
'-consoleLog')
}

Expand All @@ -350,6 +351,7 @@ class UpdateSitePlugin implements Plugin<Project> {
'-metadataRepository', repositoryDir.toURI().toURL(),
'-categoryDefinition', project.updateSite.siteDescriptor.toURI().toURL(),
'-compress',
'-vm', System.getProperty('java.home') + '/bin/java',
'-consoleLog')
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class CreateP2RepositoryTask extends DefaultTask {
'-artifactRepository', targetRepositoryDir.toURI().toURL(),
'-source', bundleSourceDir,
'-publishArtifacts',
'-vm', System.getProperty('java.home') + '/bin/java',
'-configs', 'ANY')
}
}
Expand Down

0 comments on commit ed548b3

Please sign in to comment.