Skip to content

Commit 88cac0e

Browse files
committed
Merge pull request #30 from WASdev/licensing_again
Add the license in the correct place for installUtility
2 parents c5bf343 + 1333981 commit 88cac0e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

LA_en

22.2 KB
Binary file not shown.

server/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,15 @@ task packageLars {
243243

244244
ant.jar(destfile: packageJarFile, update: true) {
245245
fileset(dir: rootProject.getRootDir(), includes: 'LICENSE')
246+
zipfileset(file: rootProject.file('LA_en'), prefix: 'lafiles')
247+
zipfileset(file: rootProject.file('LICENSE'), prefix: 'wlp/usr/servers/' + serverName) // make sure the license is in the server directory
246248
delegate.manifest {
247249
attribute(name: 'Provide-Feature', value: '') // The sample doesn't provide anything
248250
attribute(name: 'Require-Feature', value: requireFeatureValue) // All the features the sample depends on
249251
attribute(name: 'Sample-Type', value: 'thirdParty') // Tell install utility this is a 'sample'
250252
attribute(name: 'Archive-Content-Type', value: 'sample')
251-
attribute(name: 'Archive-Root', value: 'wlp/usr/') // This needs to be set to ensure that sample is uploaded to the repository correctly
253+
attribute(name: 'Archive-Root', value: 'wlp/usr/') // This needs to be set to ensure that sample is uploaded to the repository correctly
254+
attribute(name: 'License-Agreement', value: 'lafiles/LA') // should contain a file called en.html
252255
}
253256
}
254257
}

0 commit comments

Comments
 (0)