[ 
https://issues.apache.org/jira/browse/MCLEAN-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732860#comment-17732860
 ] 

Guillaume Nodet commented on MCLEAN-110:
----------------------------------------

This is not really possible at the moment, as `Files.createSymbolicLink` uses 
varargs which are not supported by bean shell.
This leads to the following problem:
{code}
Error in method invocation: Static method createSymbolinkLink( 
sun.nio.fs.UnixPath, sun.nio.fs.UnixPath, 
[Ljava.nio.file.attribute.FileAttribute; ) not found in 
class'java.nio.file.Files'
{code}
A new 3.0.0 beanshell release supporting varargs seems to be planned with 
https://github.com/beanshell/beanshell/issues/720

> Utils.createSymlink should be replace by Java 7 code
> ----------------------------------------------------
>
>                 Key: MCLEAN-110
>                 URL: https://issues.apache.org/jira/browse/MCLEAN-110
>             Project: Maven Clean Plugin
>          Issue Type: Improvement
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> instead of shelling out to command line



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to