jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Ant Tasks
  • MANTTASKS-38

Can we have a filesetid attribute, to create a fileset for the downloaded files?

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0
  • Component/s: None
  • Labels:
    None
  • Environment:
    ant1.7alpha

Description

The artifact tasks create path, which feeds in to things like <javac> and <java>. But not into <copy>, <zip>, etc, etc. If the task could take a fileset ID and create a fileset on demand, that would simplify integration with the rest of the ant system.

  • Options
    • Show All
    • Show Open

Sub-Tasks

1.
Flattened fileset reference Sub-task Closed Closed Unassigned
 

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 16/May/05 7:57 PM

is a filelist sufficient?

If you want a fileset, can you recommend how these are usually constructed?

I've implemented it like so:

fileSet.setDir( localRepository.getLocation() );
// for each dependency
fileSet.createInclude().setName( filename );

ie, not flattened. If you'd prefer a filelist or something different, please reopen.

Show
Brett Porter added a comment - 16/May/05 7:57 PM is a filelist sufficient? If you want a fileset, can you recommend how these are usually constructed? I've implemented it like so: fileSet.setDir( localRepository.getLocation() ); // for each dependency fileSet.createInclude().setName( filename ); ie, not flattened. If you'd prefer a filelist or something different, please reopen.
Hide
Permalink
Anders Harrisson added a comment - 29/Jun/05 6:27 AM

Very nice feature!
I was hoping the fileset would be (or optionally be) flattened though. That would really simplify the use of the dependencies when creating a lib-contract for a war-task - allowing direct use of the dependency-reference there. I can see the use of having the complete directory-tree of the artifact-groups at some level, but I am having a real hassle flattening the filesets. Is this issue functioning as designed, or will it be developed further?

Show
Anders Harrisson added a comment - 29/Jun/05 6:27 AM Very nice feature! I was hoping the fileset would be (or optionally be) flattened though. That would really simplify the use of the dependencies when creating a lib-contract for a war-task - allowing direct use of the dependency-reference there. I can see the use of having the complete directory-tree of the artifact-groups at some level, but I am having a real hassle flattening the filesets. Is this issue functioning as designed, or will it be developed further?

People

  • Assignee:
    Brett Porter
    Reporter:
    Steve Loughran
Vote (0)
Watch (1)

Dates

  • Created:
    16/May/05 9:46 AM
    Updated:
    08/Apr/07 9:47 PM
    Resolved:
    16/May/05 7:57 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.