edvin / fxldemo

FXLauncher demo application
Apache License 2.0
41 stars 19 forks source link

copy-whatsnewfile #7

Open mkotsovoulou opened 7 years ago

mkotsovoulou commented 7 years ago

I created a whatsnew.html and placed in src/main/resources folder I added in pom.xml :

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.4.0</version>
                <!-- Generate app.xml manifest -->
                <executions>
                    <execution>
                        <id>copy-whatsnewfile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>jar</executable>
                            <workingDirectory>${app.dir}</workingDirectory>
                            <arguments>
                                <argument>uf</argument>
                                <argument>fxlauncher.jar</argument>
                                <argument>-C</argument>
                                <argument>${project.basedir}/src/main/resources</argument>
                                <argument>whatsnew.html</argument>
                            </arguments>
                        </configuration>
                    </execution>
...

I made changes to a java class... I packaged the app and deployed it using maven. Changes are updating OK... but I do not see the whatsnew.html

edvin commented 7 years ago

I will defer to @ronsmits on the whatsnew functionality, I've never used it myself actually. Ron, do you have any tips here?

PS: Ron is very busy these days, it might take a little while before he can get back to you.