Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] github / eclipse git gotcha

John,

The reason for the server build referencing the client is due to the Maven module present here: https://github.com/eclipse/orion.server/blob/master/pom.xml#L116

I don't believe there is a way to reference the module in a dynamic way with Maven.

I don't know the history behind the decision to build the server this way, but I would presume it's simply to avoid needing to build the client code first?

Ken


On Tue, Apr 28, 2015 at 3:29 PM, John Arthorne <John_Arthorne@xxxxxxxxxx> wrote:
The question of why they are different is not so interesting. They are different because Eclipse Foundation uses different naming conventions on GitHub vs git.eclipse.org. This appears to be the case for every Eclipse project. I think the better answer is that our build should not be sensitive to the repository name, since that can vary across Git remotes. However I'm not enough of an expert on our Maven build to understand why our build is sensitive to that, and how to fix it.

John



From:        "Max Rydahl Andersen" <manderse@xxxxxxxxxx>
To:        "Orion developer discussions" <orion-dev@xxxxxxxxxxx>
Date:        04/28/2015 02:10 PM
Subject:        Re: [orion-dev] github / eclipse git gotcha
Sent by:        orion-dev-bounces@xxxxxxxxxxx





Anyone ?

> Hey,
>
> While testing mvn build I bumped into this little gotcha.
>
> ```
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.eclipse.orion:org.eclipse.orion.parent:1.0.0-SNAPSHOT
> (/Users/max/code/orion/orion.server/pom.xml) has 1 error
> [ERROR]     Child module
> /Users/max/code/orion/orion.server/../org.eclipse.orion.client of
> /Users/max/code/orion/orion.server/pom.xml does not exist
> [ERROR]
> ```
>
> which was caused by me having git cloned from
>
https://github.com/eclipse/orion.client instead
> of
https://git.eclipse.org/gitroot/orion/org.eclipse.orion.client.git
> which means my dir names are:
>
> ```
> orion.client
> orion.server
> ```
>
> instead of
>
> ```
> org.eclipse.orion.client
> org.eclipse.orion.server
> ```
>
> Is there a  reason why the repo names are not the same ?
>
> /max
>
http://about.me/maxandersen
> _______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/orion-dev


/max
http://about.me/maxandersen
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev



_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top