[sip-comm-dev] Ant delete task & symlinks


#1

Hi,

I noticed that when doing "ant clean", directories that includes symlinks (typically the Mac OSX package in release/macosx/) are not completely cleaned-up.

It seems that the "delete" ant task does not delete symlinks. Instead, we have to use the "symlink" task with the "delete" action.

Maybe we could have the "clean" target depending on a "macosx-clean" target which could take care of removing the symlinks? WDYT?

Cheers,
romain

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hey Romain,

Sorry for the late reply. Yes that seems perfectly reasonable so feel
free to commit.

Thanks for catching it!

Cheers
Emil

Romain KUNTZ wrote:

···

Hi,

I noticed that when doing "ant clean", directories that includes
symlinks (typically the Mac OSX package in release/macosx/) are not
completely cleaned-up.

It seems that the "delete" ant task does not delete symlinks. Instead,
we have to use the "symlink" task with the "delete" action.

Maybe we could have the "clean" target depending on a "macosx-clean"
target which could take care of removing the symlinks? WDYT?

Cheers,
romain

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Emil,

Sorry for the late reply. Yes that seems perfectly reasonable so feel
free to commit.

I've just committed it.

thanks,
romain

···

On 2009/08/18, at 14:23, Emil Ivov wrote:

Romain KUNTZ wrote:

Hi,

I noticed that when doing "ant clean", directories that includes
symlinks (typically the Mac OSX package in release/macosx/) are not
completely cleaned-up.

It seems that the "delete" ant task does not delete symlinks. Instead,
we have to use the "symlink" task with the "delete" action.

Maybe we could have the "clean" target depending on a "macosx-clean"
target which could take care of removing the symlinks? WDYT?

Cheers,
romain

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net