You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Chad Berghorst (JIRA)" <ji...@codehaus.org> on 2005/11/11 17:02:06 UTC
[jira] Created: (MNG-1524) artifact:dependencies related error: No files specified for filelist
artifact:dependencies related error: No files specified for filelist
--------------------------------------------------------------------
Key: MNG-1524
URL: http://jira.codehaus.org/browse/MNG-1524
Project: Maven 2
Type: Bug
Versions: 2.0
Reporter: Chad Berghorst
--
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] Updated: (MNG-1524) artifact:dependencies related error: No
files specified for filelist
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=all ]
John Casey updated MNG-1524:
----------------------------
Fix Version: (was: 2.0.3)
2.0.4
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Components: Ant tasks
> Versions: 2.0
> Reporter: Chad Berghorst
> Fix For: 2.0.4
>
>
--
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-1524) artifact:dependencies related error: No files specified for filelist
Posted by "Chad Berghorst (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=comments#action_51655 ]
Chad Berghorst commented on MNG-1524:
-------------------------------------
After talking with another Maven Ant task user (Dave Brondsema), we've determined that Ant's FileList getFiles() method throws an exception instead of an empty String array when no files are specified. For testing purposes, I made the following changes to DependenciesTask.java to avoid this exception. I didn't create a patch because this code isn't the cleanest.
FileList fileList = new FileList();
boolean fileListElementsAdded = false;
...
for ( Iterator i = result.getArtifacts().iterator(); i.hasNext(); )
{
fileList.addConfiguredFile( file );
fileListElementsAdded = true;
}
...
if ( pathId != null )
{
Path path = new Path( getProject() );
if (fileListElementsAdded) {
path.addFilelist( fileList );
}
getProject().addReference( pathId, path );
}
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Chad Berghorst
>
>
--
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-1524) artifact:dependencies related error: No files specified for filelist
Posted by "Chad Berghorst (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=comments#action_50693 ]
Chad Berghorst commented on MNG-1524:
-------------------------------------
Here is an example of when the error occurs (assuming no compile dependencies exist in the related POM):
<artifact:dependencies
pomrefid="maven.project"
pathId="dependency.compile.classpath"
verbose="true"
useScope="compile"
/>
<property name="cp" refid="dependency.compile.classpath"/>
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Chad Berghorst
>
>
--
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-1524) artifact:dependencies related error: No files specified for filelist
Posted by "Chad Berghorst (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=comments#action_50692 ]
Chad Berghorst commented on MNG-1524:
-------------------------------------
If a project does not have any dependencies, the resulting path will cause a "No files specified for filelist" error when trying to reference it. Here is a related user list thread: http://www.mail-archive.com/users@maven.apache.org/msg25990.html. Although Brett requested a bug submission, I did not yet see one in JIRA.
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Chad Berghorst
>
>
--
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] Updated: (MNG-1524) artifact:dependencies related error: No files specified for filelist
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=all ]
John Casey updated MNG-1524:
----------------------------
Fix Version: (was: 2.0.1)
2.0.2
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Components: Ant tasks
> Versions: 2.0
> Reporter: Chad Berghorst
> Fix For: 2.0.2
>
>
--
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-1524) artifact:dependencies related error: No files specified for filelist
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=comments#action_51606 ]
Brett Porter commented on MNG-1524:
-----------------------------------
what do you propose should happen? empty fileset?
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Chad Berghorst
>
>
--
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] Updated: (MNG-1524) artifact:dependencies related error: No files specified for filelist
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1524?page=all ]
John Casey updated MNG-1524:
----------------------------
Fix Version: 2.0.1
Component: Ant tasks
> artifact:dependencies related error: No files specified for filelist
> --------------------------------------------------------------------
>
> Key: MNG-1524
> URL: http://jira.codehaus.org/browse/MNG-1524
> Project: Maven 2
> Type: Bug
> Components: Ant tasks
> Versions: 2.0
> Reporter: Chad Berghorst
> Fix For: 2.0.1
>
>
--
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