How can I place a folder in a specific location using javafx-ant with Maven? -


i have upgraded build plain ant maven manage dependencies. 1 of third party jars needs supporting file placed in specific location.

i have managed create simple pom.xml compile application , generate exe installer. unable place file in specific folder location.

when application build & deployed should placed in location:

${project.build.directory}/deploy/bundles/myapplication/app/{custom-folder}/*.properties 

this want correctly bundled in installer - unable find way specify specific location specific file.

following pattern (only showing relative pieces of pom):

<groupid>org.apache.maven.plugins</groupid> <artifactid>maven-antrun-plugin</artifactid> <version>1.6</version> <executions> <execution> <phase>package</phase> <configuration> <target>  <taskdef name="jfxdeploy" classname="com.sun.javafx.tools.ant.deployfxtask" classpathref="maven.plugin.classpath" />     <jfxdeploy outdir="${project.build.directory}/deploy" outfile="${build.finalname}" nativebundles="all">     <resources>                                  <fileset dir="${project.build.directory}" includes="*.jar" />         <fileset dir="${project.build.directory}/dependency" includes="*.jar" />         <fileset dir="${project.build.directory}/properties" includes="*.properties" />    </resources> .... 

this places *.properties file in location

${project.build.directory}/deploy/bundles/myapplication/app 

is there way place in sub folder @ location?

thanks

i found answer issue. needed change mapping in fileset follows:

<fileset dir="${project.build.directory}" includes="properties/*.properties"/> 

this placed needed be.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -