Skip to content

Conversation

@EasyG0ing1
Copy link
Contributor

I just added GistFX to the list of applications that are packaged with JavaPackager

@fvarrui fvarrui merged commit 7122962 into javapackager:master May 4, 2022
@fvarrui
Copy link
Collaborator

fvarrui commented May 4, 2022

Great!!! Thanks
Did you manage to build your app installer for Linux?

@EasyG0ing1 EasyG0ing1 deleted the Sims branch May 4, 2022 20:24
@EasyG0ing1
Copy link
Contributor Author

@fvarrui - I havent tackled Linux yet ... I was still working on the program itself and have recently developed a lot of the help content for it ... getting close to a point where I can spend some time on other things... hopefully soon ... while I was working on help content I was going through all of the features of the program and discovered a lot of bugs that had to be worked out.

@fvarrui
Copy link
Collaborator

fvarrui commented May 4, 2022

Ok! 💪 Let me know if I can help you

@EasyG0ing1
Copy link
Contributor Author

@fvarrui - Well ... I think of the big three, Linux is perhaps the least documented in this project. I added a Linux config to my POM file, but when I do a mvn package on the mac, it completely ignores the Linux stuff ... Not sure if my mac is just stuck up and won't talk to lower life forms or if it's being stupid ... either way, I need to know what to do next.

Here's my setup

<plugin>
<groupId>io.github.fvarrui</groupId>
<artifactId>javapackager</artifactId>
<version>1.6.5</version>
<configuration>
    <mainClass>${exec.mainClass}</mainClass>
    <bundleJre>true</bundleJre>
    <customizedJre>false</customizedJre>
    <generateInstaller>true</generateInstaller>
    <administratorRequired>false</administratorRequired>
    <copyDependencies>true</copyDependencies>
</configuration>
<executions>
    <execution>
        <id>windows</id>
        <phase>package</phase>
        <goals>
            <goal>package</goal>
        </goals>
        <configuration>
            <assetsDir>/Users/michael/IdeaProjects/GistFX/assets</assetsDir>
            <platform>auto</platform>
            <createZipball>false</createZipball>
            <createTarball>true</createTarball>
            <vmArgs>
                <vmArg>--enable-preview</vmArg>
            </vmArgs>
            <macConfig>
                <generateDmg>true</generateDmg>
                <generatePkg>true</generatePkg>
                <volumeName>GistFX</volumeName>
                <entitlements>entitlements.plist</entitlements>
                <backgroundImage>/Users/michael/IdeaProjects/GistFX/assets/mac/background.png</backgroundImage>
                <windowWidth>620</windowWidth>
                <windowHeight>480</windowHeight>
            </macConfig>
            <linuxConfig>
                <pngFile>/Users/michael/IdeaProjects/GistFX/assets/linux/GistFX.png</pngFile>
                <generateRpm>true</generateRpm>
                <generateDeb>true</generateDeb>
                <wrapJar>true</wrapJar>
            </linuxConfig>
        </configuration>
    </execution>
</executions>
</plugin>

@fvarrui
Copy link
Collaborator

fvarrui commented May 11, 2022

I recommend you run it on a Linux system. Otherwise, you should set platform property to linux, jdkPath property pointing to a Linux JDK (as you are bundling a JRE) and use -Djavafx.platform=linux when packaging

@EasyG0ing1
Copy link
Contributor Author

@fvarrui - Any particular flavor of Linux that you prefer to build in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants