[
https://issues.apache.org/jira/browse/DIRSTUDIO-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624128#comment-16624128
]
Emmanuel Lecharny commented on DIRSTUDIO-1194:
----------------------------------------------
The {{build.sh}} is simply a double call to {{mvn}}, with two different pom
files :
{code}
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# This script do a full build of Studio (including the MANIFEST generation and
the P2 local repository construction)
mvn -f pom-first.xml clean install && mvn clean install
{code}
There is no reference to your parent directory in it.
> 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)