Skip to content

Commit

Permalink
Avoid use of absolute path where BND can't handle it
Browse files Browse the repository at this point in the history
Fixes #734
  • Loading branch information
jonahgraham committed May 29, 2023
1 parent d663a1d commit fdb8a15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gradle/manifest-gen.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jar.bnd (
'Bundle-Vendor': 'Eclipse LSP4J',
'Bundle-RequiredExecutionEnvironment': 'JavaSE-11',
"-exportcontents": "org.eclipse.lsp4j.*",
"-savemanifest": "$buildDir/tmp/bnd/MANIFEST.MF",
"-savemanifest": "build/tmp/bnd/MANIFEST.MF",
)

//------------------------------------------------------
// Generate a manifest for the source bundle

def sourcesManifestFile = "$buildDir/tmp/sourcesJar/MANIFEST.MF"
def sourcesManifestFile = "build/tmp/sourcesJar/MANIFEST.MF"

task genSourcesManifest {
outputs.file(sourcesManifestFile)
Expand Down Expand Up @@ -64,7 +64,7 @@ sourcesJar {

task eclipseManifest(type: Copy) {
dependsOn(jar)
from "$buildDir/tmp/bnd/MANIFEST.MF"
from "build/tmp/bnd/MANIFEST.MF"
into 'META-INF'
}

Expand Down

0 comments on commit fdb8a15

Please sign in to comment.