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

I've created https://bugs.eclipse.org/bugs/show_bug.cgi?id=465810 for the cloned repo name issue, as I think I know a way to fix it.

Ken

On Wed, Apr 29, 2015 at 5:39 AM, Max Rydahl Andersen <manderse@xxxxxxxxxx> wrote:
On 28 Apr 2015, at 21:29, John Arthorne 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.

That is unfortunate ;/

I've updated https://wiki.eclipse.org/Orion/Getting_the_source#Getting_the_source_onto_your_computer
to have this noted.

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.

Ken cover that in his mail.

/max


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


/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


Back to the top