Skip to content

Commit

Permalink
Set appropriate file permissions within the JDT-LS tarball.
Browse files Browse the repository at this point in the history
- 444 for jar files, 644 for config files and 755 for scripts

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
  • Loading branch information
rgrunber committed Oct 2, 2024
1 parent 4ce5969 commit e90ec8f
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions org.eclipse.jdt.ls.product/publish-assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,27 @@
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<fileSet>
<directory>${basedir}/target/repository</directory>
<outputDirectory/>
<outputDirectory />
<includes>
<include>bin/**</include>
</includes>
<fileMode>755</fileMode>
</fileSet>
<fileSet>
<directory>${basedir}/target/repository</directory>
<outputDirectory />
<includes>
<include>features/**</include>
<include>plugins/**</include>
</includes>
<fileMode>444</fileMode>
</fileSet>
<fileSet>
<directory>${basedir}/target/repository</directory>
<outputDirectory />
<includes>
<include>config_linux/**</include>
<include>config_linux_arm/**</include>
<include>config_mac/**</include>
Expand All @@ -22,13 +38,8 @@
<include>config_ss_mac/**</include>
<include>config_ss_mac_arm/**</include>
<include>config_ss_win/**</include>
<include>features/**</include>
<include>plugins/**</include>
</includes>
<excludes>
<exclude>**/*.pack.gz</exclude>
</excludes>
<fileMode>755</fileMode>
<fileMode>644</fileMode>
</fileSet>
</fileSets>
</assembly>
</assembly>

0 comments on commit e90ec8f

Please sign in to comment.