Greetings,

  I am using the maven-antrun-plugin to copy files from a network into my build 
that is specified by unc path. This works on windows, but not linux, 
understandably.

The ant portion does

<fileset dir="${pr.help.dir}/English">

where pr.help.dir is specified in the properties section of the pom.

To make it work on both, i thought perhaps i'd add a 

<property file="${basedir}/user.properties"/>

under the <tasks> section of the maven-antrun-plugin

and add the property there, as opposed to in the pom.

In that way a user could arbitrate the path for either unc, or a mounted share 
on linux.

but it doesn't seem that maven-antrun picks these property files up.

So perhaps there's a better way....

Some uses build on linux, others build on win32. How do i copy files from a unc 
path such that it works for all users?

Reply via email to