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

Colin Patrick McCabe commented on HTRACE-64:
--------------------------------------------

So, the issue here is that we'd like to clean all the .a (library) and other 
files that get generated by "go build" in the go directories.  "go clean -i 
org/apache/htrace/..." will clean the stuff under bin/, but not the 
dependencies.

"go clean -i -r org/apache/htrace/..."  will clean both the binaries and the 
direct dependencies, but it will also try to remove system libraries under 
GOROOT (oops).  Of course it will not succeed, because those are owned by root. 
 But still this is not what we want.  Unfortunately, I didn't find any way to 
exclude system dependencies from "go clean -i -r". 

I think eventually we will set up a separate path for downloaded stuff and 
binaries (i.e. an out-of-source-tree build for the go stuff) and that will 
solve this.  But for now, let's just use git clean to clean the directory 100%.

> Fix mvn clean of go directories
> -------------------------------
>
>                 Key: HTRACE-64
>                 URL: https://issues.apache.org/jira/browse/HTRACE-64
>             Project: HTrace
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-64.001.patch
>
>
> Fix the mvn clean of go directories.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to