Hi, Does anyone know how I can install a folder's underlying contents, and not the folder itself? I'm adding the source folder "<path>/build" via "Add Directory Tree" and want just the contents of build deployed, not "<installdir>/build/.". I've played around with file pattern include/exclude lists, but the contents are still deployed one-level deep.

Thanks, Reddy

asked 18 Nov '11, 15:59

laxmikreddy's gravatar image

laxmikreddy
56224
accept rate: 100%


You just have to use the below code:

<folder>
   <description>Files</description>
   <destination>${installdir}/</destination>
   <name>files</name>
   <platforms>all</platforms>
   <distributionFileList>
       <distributionDirectory allowWildcards="1">
          <origin>build/*</origin>
       </distributionDirectory>
   </distributionFileList>
</folder>

You can find additional information about the file filters here

link

answered 19 Nov '11, 13:30

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: 18 Nov '11, 15:59

Seen: 979 times

Last updated: 22 Nov '11, 08:07