[Opensim-dev] Copy files via prebuild.xml

James Hughes jamesh at bluewallgroup.com
Thu Aug 21 23:21:29 UTC 2014


On Thu, 2014-08-21 at 20:40 +0200, Michelle Argus wrote:
> Hi BlueWall,
> 
> thx for your responce. I have now tried all sorts of variations but 
> always get the responce "returned no files" when running prebuild.
> 
> I have added the following (and many other folder variations) into the 
> prebuild.xml of the addon module:
> 
> <Match pattern="../addons-modules/MyModule/FileName.xml" buildAction="Copy"
> recurse="false" destination="$(OutputPath)" />
> 
> Maybe I am doing something wrong or prebuild is not working as it should?
> 
> Michelle
> 
> 

The paths should be relative to the directory holding your prebuild.xml.
If the file is in the same directory as your prebuild.xml, then give
this a try ...
<Match pattern="../FileName.xml" buildAction="Copy" recurse="false"
destination="$(OutputPath)" />

If it is in a directory "./addon-modules/MyModule/BinFiles", try ...
<Match pattern="../BinFiles/FileName.xml" buildAction="Copy"
recurse="false" destination="$(OutputPath)" />


BlueWall





More information about the Opensim-dev mailing list