Yes, of course - hopefully in Java 7! A warning in the documentation would be 
handy!

Didn't try assembly:directory but surely it also needs to copy/recognise links 
so won't work either, so only way I can see is to drop into OS or ant symlink.

I have an install script so simply changed it to build the links, so not a 
showstopper for me.

Cheers
Simon


>>> "Brett Porter" <[EMAIL PROTECTED]> 20/08/2008 13:15 >>>
Because the code is in Java, it probably isn't possible to distinguish
symlinks from files.

One (albeit roundabout) alternative is to use assembly:directory, and
then exec tar to produce the assembly.

- Brett

2008/8/20 Simon Spacey <[EMAIL PROTECTED]>:
>
> Hi
>
> I need to assemble a tar.gz artifact with directories containing some
> symbolic links.
> I'm using filesets in assembly 2.2-beta-2to copy the source directories, but
> the sym links are not replicated (as they would be if I used tar):
> If the symlink is resolvable then the link is resolved and copied.
> If the symlink is not resolvable then it's silently ignored.
>
> Is there a way to get the links replicated?
>
> Thanks,
> Simon
> --
> View this message in context: 
> http://www.nabble.com/Symlink-in-assembly-tp19066796p19066796.html 
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to