Skip to content

Commit 5c6d3bf

Browse files
committed
U linuxConfig.xpmFile property removed
1 parent af60767 commit 5c6d3bf

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,10 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
126126
| `${name}_${version}.msm` | MSI merge module file if it's executed on Windows (requires **[WiX Toolset](https://wixtoolset.org/)**). |
127127
| `${name}_${version}.dmg` | Disk image file if it's executed on Mac OS X (requires **hdiutil**). |
128128
| `${name}_${version}.pkg` | PKG installer file if it's executed on Mac OS X (requires **pkgbuild**) |
129-
| `${name}-${version}-${platform}.zip` | Zipball containing generated directory `${name}`. |
129+
| `${name}-${version}-${platform}.zip` | Zipball containing generated directory `${name}`.**** |
130130
| `${name}-${version}-${platform}.tar.gz` | Compressed tarball containing generated directory `${name}`. |
131131

132-
> :warning: Installers generation will be ommited if target platform is different from current platform (see `platform` property).
133-
134-
> :warning: **RPM package generation in Gradle is not yet available. Coming soon!**
132+
> :warning: **Installers generation will be ommited if target platform is different from current platform (see `platform` property), except DEB and RPM packages.**
135133
136134
### Plugin configuration properties
137135

@@ -184,7 +182,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
184182
| `macConfig` | :x: | | [Mac OS X specific properties](docs/macosx-specific-properties.md). |
185183
| `winConfig` | :x: | | [Windows specific properties](docs/windows-specific-properties.md). |
186184

187-
> :warning: Be careful when using the `platform` property if your project uses platform dependent libraries, so the libraries of the current platform will be copied, not those required for the target platform. You can solve this problem using `classifiers`. Also, intallers generation will be ommited.
185+
> :warning: Be careful when using the `platform` property if your project uses platform dependent libraries, so the libraries of the current platform will be copied, not those required for the target platform. You can solve this problem using `classifiers`.
188186
189187
### Plugin assets
190188

docs/linux-specific-properties.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
```xml
44
<linuxConfig>
55
<pngFile>path/to/icon.png</pngFile>
6-
<xpmFile>path/to/icon.xpm</xpmFile>
76
<generateDeb>true|false</generateDeb>
87
<generateRpm>true|false</generateRpm>
98
<wrapJar>true|false</wrapJar>
@@ -15,7 +14,6 @@
1514
| Property | Mandatory | Default value | Description |
1615
| ------------- | --------- | ------------- | ----------------------------------------------- |
1716
| `pngFile` | :x: | `null` | Icon file. |
18-
| `xpmFile` | :x: | `null` | Icon file for RPM generation. |
1917
| `generateDeb` | :x: | `true` | DEB package will be generated. |
2018
| `generateRpm` | :x: | `true` | RPM package will be generated. |
2119
| `wrapJar` | :x: | `true` | Wraps JAR file inside the executable if `true`. |

src/main/java/io/github/fvarrui/javapackager/model/LinuxConfig.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public class LinuxConfig implements Serializable {
1414
private boolean generateDeb = true;
1515
private boolean generateRpm = true;
1616
private File pngFile;
17-
private File xpmFile;
1817
private boolean wrapJar = true;
1918

2019
public boolean isGenerateDeb() {
@@ -40,14 +39,6 @@ public File getPngFile() {
4039
public void setPngFile(File pngFile) {
4140
this.pngFile = pngFile;
4241
}
43-
44-
public File getXpmFile() {
45-
return xpmFile;
46-
}
47-
48-
public void setXpmFile(File xpmFile) {
49-
this.xpmFile = xpmFile;
50-
}
5142

5243
public boolean isWrapJar() {
5344
return wrapJar;
@@ -60,7 +51,7 @@ public void setWrapJar(boolean wrapJar) {
6051
@Override
6152
public String toString() {
6253
return "LinuxConfig [generateDeb=" + generateDeb + ", generateRpm=" + generateRpm + ", pngFile=" + pngFile
63-
+ ", xpmFile=" + xpmFile + ", wrapJar=" + wrapJar + "]";
54+
+ ", wrapJar=" + wrapJar + "]";
6455
}
6556

6657
/**

0 commit comments

Comments
 (0)