Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7193595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:12:05+00:00 2026-05-28T20:12:05+00:00

I have an SVN externals folder which contains many folders called *Plugin then within

  • 0

I have an SVN externals folder which contains many folders called *Plugin then within each of these folders there is a modules folder and a binaries folder.

The problem for me is, within my build task I want to copy **/* from modules to a location within my project, as well as any *.plugin.dll from the binaries location to somewhere else in my project.

So here is a dummy example:

- DummyPlugin1
  |- binaries
     |- some.assembly.dll
     |- some.plugin.dll
  |- modules
     |- some-named-folder
        |- some-sub-folder
           |- some.content.xml
        |- some-other-sub-folder
           |- yet-another-folder
              |- some.more.content.jpg
- DummyPlugin2
  |- binaries
     |- some.other.plugin.dll
  |- modules
     |- another-named-folder
        |- content.xml
        |- image.jpg
     |- yet-another-named-folder
        |- some-web-page.html

So in this example I would want to basically copy:

  • some.plugin.dll
  • some.other.plugin.dll

To a given output directory, then from the modules directory I would want to take:

  • some-named-folder (and all content)
  • another-named-folder (and all content)
  • yet-another-named-folder (and all content)

and put all of that in another given output directory.

I was trying to do this:

<copy todir="${dir.projects.dynamic.binaries}">
    <fileset basedir="${dir.plugins}/**/binaries">
        <include name="*.plugin.dll" />
    </fileset>
</copy>
<copy todir="${dir.projects.dynamic.modules}">
    <fileset basedir="${dir.plugins}/**/modules">
        <include name="**/*" />
    </fileset>
</copy>

However I keep getting an error telling me that basedir on fileset cannot contain ** or any other invalid symbols. The documentation seems a bit vague as to if you can or cannot use patterns in your fileset basedir or not, however I am assuming after this error that I cannot.

The problem is that if I was to do this way instead:

<copy todir="${dir.projects.dynamic.binaries}">
    <fileset basedir="${dir.plugins}">
        <include name="**/binaries/*.plugin.dll" />
    </fileset>
</copy>
<copy todir="${dir.projects.dynamic.modules}">
    <fileset basedir="${dir.plugins}">
        <include name="**/modules/**/*" />
    </fileset>
</copy>

However it copies the parent folders, i.e DummyPlugin1/binaries/some.assembly.dll, DummyPlugin2/binaries/some.other.plugin.dll rather than just the dll which I want. Same with the modules…

I know I could change the basedir to include DummyPlugin1/binaries, DummyPlugin2/binaries but I do not know how many folders will be in there or what their names will be without constantly altering the build script, so I would rather keep it dynamic so it will just pull out whatever plugins and modules are in there for me, rather than me having to make a copy for EACH plugin folder that may or may not be in there.

So is there any way for me to have my cake and eat it here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:12:07+00:00Added an answer on May 28, 2026 at 8:12 pm

    basedir has to be a single directory, but you should be able to accomplish what you want using the flatten option, which puts all input files into a single output directory (ignoring the paths, basically).

    After reading your question again: can you try this?

    <copy todir="${dir.projects.dynamic.binaries}" flatten="true">
        <fileset>
            <include name="${dir.plugins}/**/binaries/*.plugin.dll" />
        </fileset>
    </copy>
    <copy todir="${dir.projects.dynamic.modules}">
        <fileset basedir="${dir.plugins}">
            <include name="/**/modules/**/*" />
        </fileset>
    </copy>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a repository R, in which I have an svn:externals entry to repository
I have a bunch of externals directories in a plugins folder. ~> svn propedit
I have an SVN repository with uncommitted changes to files. There is also a
I have been using svn:externals to bring the Zend Framework files into my project.
Does Accurev have a feature like SubVersions ' svn:externals '? This works like a
I sometimes make mistakes with svn and have folders stuck in my repository. I
We have a repository of common code on svn that we use for many
I have a rather large project which contains a number of third-party dependencies which
I have a directory D:\SVN_HOME\EclipseWorkspace\MF_CENTER_INFO SVN_HOME - is a root svn working folder MF_CENTER_INFO
I have two svn repositories, one each for the iOS and Android versions of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.