You might want to have a look at jcifs There'd be some work involved, but if you absolutely must have the file on a Windows share, that's what you'd need to do...
better might be to have the windows share accessible via http or some other nice protocol -Stephen 2009/1/6 Dave Brosius <dbros...@apache.org> > 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? >