You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Steve Loughran (JIRA)" <ji...@codehaus.org> on 2005/05/16 16:48:34 UTC

[jira] Created: (MNG-408) Can we have a filesetid attribute, to create a fileset for the downloaded files?

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

         Key: MNG-408
         URL: http://jira.codehaus.org/browse/MNG-408
     Project: m2
        Type: New Feature
  Components: maven-artifact-ant  
 Environment: ant1.7alpha
    Reporter: Steve Loughran


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-408) Can we have a filesetid attribute, to create a fileset for the downloaded files?

Posted by "Anders Harrisson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-408?page=comments#action_42172 ] 

Anders Harrisson commented on MNG-408:
--------------------------------------

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?

> Can we have a filesetid attribute, to create a fileset for the downloaded files?
> --------------------------------------------------------------------------------
>
>          Key: MNG-408
>          URL: http://jira.codehaus.org/browse/MNG-408
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-artifact-ant
>  Environment: ant1.7alpha
>     Reporter: Steve Loughran
>      Fix For: 2.0-alpha-3

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-408) Can we have a filesetid attribute, to create a fileset for the downloaded files?

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-408?page=all ]
     
Brett Porter closed MNG-408:
----------------------------

    Fix Version: 2.0-alpha-3
     Resolution: Fixed

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.

> Can we have a filesetid attribute, to create a fileset for the downloaded files?
> --------------------------------------------------------------------------------
>
>          Key: MNG-408
>          URL: http://jira.codehaus.org/browse/MNG-408
>      Project: m2
>         Type: New Feature
>   Components: maven-artifact-ant
>  Environment: ant1.7alpha
>     Reporter: Steve Loughran
>      Fix For: 2.0-alpha-3

>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org