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

David Turner commented on DIRSTUDIO-1194:
-----------------------------------------

I just retried on my personal machine, and it was the second call to maven.  
FWIW, I did this at tag 2.0.0.v20180908-M14.

Output from my strace:

20039 
stat("/home/novalis/x/ds/directory-studio/p2repositories/../../secret-squirrel",
 \{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
20039 
stat("/home/novalis/x/ds/directory-studio/p2repositories/../../secret-squirrel/rocky",
 \{st_mode=S_IFREG|0644, st_size=0, ...}) = 0
20039 
stat("/home/novalis/x/ds/directory-studio/p2repositories/../../secret-squirrel/rocky",
 \{st_mode=S_IFREG|0644, st_size=0, ...}) = 0 

Also, I just noticed that I had some probably-useful output from just before I 
ctrl-C'd it during my first run (on my work computer, but I am writing to you 
from my personal computer due because I don't want to log into a personal 
account on a work machine, so this is manually typed).

Building Apache Directory Studio P2 Repositories 2.0.0v20180908-M14

...

maven-resources-plugin:3.1.0:copy-resources (copy-resources) \@ 
org.apache.directory.studio.p2repositories-parent.

 

> build looks outside of repo (extra "..")
> ----------------------------------------
>
>                 Key: DIRSTUDIO-1194
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1194
>             Project: Directory Studio
>          Issue Type: Bug
>         Environment: Debian, mvn 3.3.9, jdk 1.8.0_181
>            Reporter: David Turner
>            Priority: Major
>
> I noticed that build.sh was taking a long time, so I ran strace on one of the 
> Java processes.  To my surprise, it was reading files from various places in 
> my home directory (I had cloned directory-studio to ~/directory-studio). 
> stat("/home/novalis/directory-studio/p2repositories/../../my-secret-project/very-private-stuff",
>  ...).  
> I moved the repo to ~/foo/directory-studio and re-ran build.sh (after a git 
> clean), and the build completed much more quickly.  So I think there must be 
> an extra ".." somewhere in the build
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to