[Opensim-dev] Copy files via prebuild.xml

James Hughes jamesh at bluewallgroup.com
Wed Aug 20 17:36:05 UTC 2014


On Wed, 2014-08-20 at 11:40 +0200, Michelle Argus wrote:
> Hi. Is it possible to copy files from an add online folder to the bin
> folder? If so, could someone give an example
> 
> The
> Michelle
> 

If you want to distribute a library/dependency you can do this ...

<Reference name="LibName_Sans_dll" path="../PathToFile"
localCopy="true" />

Do not use "LibName.dll", just "LibName"

For copying other types of files, try ...

For a single file:
<Match pattern="../MyFilesPath/FileName.xml" buildAction="Copy"
recurse="false" destination="$(OutputPath)" />

To find multiple files of a particular type, located in a hierarchy and
copy them to the place defined in $("OutputPath") w/o the hierarchy:
 <Match pattern="../MyFilesPath/*.xml" buildAction="Copy" recurse="true"
destination="$(OutputPath)" />


BlueWall




More information about the Opensim-dev mailing list