File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments