Re: [Math] Compile only top-level package and below

2015-09-13 Thread Al Chou
rebasing as a tool to keep in mind, even if you don't employ it in this use case.   http://ProGit.org/book is a great, easy to read resource. Al From:"Luc Maisonobe" Date:Sun, Sep 13, 2015 at 4:26 Subject:Re: [Math] Compile only top-level package and below Hi Al, Le 13/09/2015

Re: [Math] Compile only top-level package and below

2015-09-13 Thread Luc Maisonobe
Le 13/09/2015 01:22, Gilles a écrit : > Hi. > > On Sat, 05 Sep 2015 19:28:33 +0200, Luc Maisonobe wrote: >> Le 05/09/2015 01:47, Gilles a écrit : >>> On Fri, 04 Sep 2015 19:50:05 +0200, Thomas Neidhart wrote: On 09/04/2015 03:08 PM, Gilles wrote: > Hello. > > There are two branche

Re: [Math] Compile only top-level package and below

2015-09-13 Thread Luc Maisonobe
Hi Al, Le 13/09/2015 03:17, Al Chou a écrit : > You could use `git cherry-pick` to bring one or more commits from one branch > into another. Unfortunately, this does not work here, due to package renaming. Luc > > Al > - To

Re: [Math] Compile only top-level package and below

2015-09-12 Thread Yahoo!
> On Sep 4, 2015, at 18:55, Gilles wrote: > >> On Fri, 4 Sep 2015 20:38:36 -0500, Ole Ersoy wrote: >>> On 09/04/2015 08:14 PM, sebb wrote: On 5 September 2015 at 01:13, Gilles wrote: > On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: >> On 5 September 2015 at 00:55, Ole Ersoy wrote:

Re: [Math] Compile only top-level package and below

2015-09-12 Thread Al Chou
You could use `git cherry-pick` to bring one or more commits from one branch into another. Al

Re: [Math] Compile only top-level package and below

2015-09-12 Thread Al Chou
There are several ways one could address this situation; I think I would simply create a new branch in Git and commit those new files only on that branch. Al

Re: [Math] Compile only top-level package and below

2015-09-12 Thread Gilles
Hi. On Sat, 05 Sep 2015 19:28:33 +0200, Luc Maisonobe wrote: Le 05/09/2015 01:47, Gilles a écrit : On Fri, 04 Sep 2015 19:50:05 +0200, Thomas Neidhart wrote: On 09/04/2015 03:08 PM, Gilles wrote: Hello. There are two branches for Commons Math. For one, the top-level Java package is org.ap

Re: [Math] Compile only top-level package and below

2015-09-05 Thread Phil Steitz
On 9/5/15 10:28 AM, Luc Maisonobe wrote: > Le 05/09/2015 01:47, Gilles a écrit : >> On Fri, 04 Sep 2015 19:50:05 +0200, Thomas Neidhart wrote: >>> On 09/04/2015 03:08 PM, Gilles wrote: Hello. There are two branches for Commons Math. For one, the top-level Java package is >>

Re: [Math] Compile only top-level package and below

2015-09-05 Thread Luc Maisonobe
Le 05/09/2015 01:47, Gilles a écrit : > On Fri, 04 Sep 2015 19:50:05 +0200, Thomas Neidhart wrote: >> On 09/04/2015 03:08 PM, Gilles wrote: >>> Hello. >>> >>> There are two branches for Commons Math. >>> >>> For one, the top-level Java package is >>> org.apache.commons.math4 >>> For the other, it

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 4 Sep 2015 20:38:36 -0500, Ole Ersoy wrote: On 09/04/2015 08:14 PM, sebb wrote: On 5 September 2015 at 01:13, Gilles wrote: On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: On 5 September 2015 at 00:55, Ole Ersoy wrote: On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:0

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Sat, 5 Sep 2015 02:14:03 +0100, sebb wrote: On 5 September 2015 at 01:13, Gilles wrote: On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: On 5 September 2015 at 00:55, Ole Ersoy wrote: On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: On 09/

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Ole Ersoy
On 09/04/2015 08:14 PM, sebb wrote: On 5 September 2015 at 01:13, Gilles wrote: On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: On 5 September 2015 at 00:55, Ole Ersoy wrote: On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: On 09/04/2015 10:26

Re: [Math] Compile only top-level package and below

2015-09-04 Thread sebb
On 5 September 2015 at 01:13, Gilles wrote: > On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: >> >> On 5 September 2015 at 00:55, Ole Ersoy wrote: >>> >>> >>> >>> On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: > > > On 09/04/201

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Sat, 5 Sep 2015 00:56:54 +0100, sebb wrote: On 5 September 2015 at 00:55, Ole Ersoy wrote: On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: On 09/04/2015 10:26 AM, Gilles wrote: On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: You have le

Re: [Math] Compile only top-level package and below

2015-09-04 Thread sebb
On 5 September 2015 at 00:55, Ole Ersoy wrote: > > > On 09/04/2015 06:06 PM, Gilles wrote: >> >> On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: >>> >>> On 09/04/2015 10:26 AM, Gilles wrote: On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: > > You have left over files in `

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Ole Ersoy
On 09/04/2015 06:06 PM, Gilles wrote: On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: On 09/04/2015 10:26 AM, Gilles wrote: On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: You have left over files in `target` after switching between the branches. For example check out `math4`. Buil

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 04 Sep 2015 19:50:05 +0200, Thomas Neidhart wrote: On 09/04/2015 03:08 PM, Gilles wrote: Hello. There are two branches for Commons Math. For one, the top-level Java package is org.apache.commons.math4 For the other, it is org.apache.commons.math3 Unless I'm mistaken, this should i

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 4 Sep 2015 18:30:45 +0100, sebb wrote: On 4 September 2015 at 16:30, Gilles wrote: On Fri, 4 Sep 2015 16:26:16 +0100, sebb wrote: On 4 September 2015 at 15:42, Gilles wrote: Hi. On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles wrote: H

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 04 Sep 2015 18:19:42 +0200, Luc Maisonobe wrote: Hi Gilles, Le 04/09/2015 17:30, Gilles a écrit : On Fri, 4 Sep 2015 16:26:16 +0100, sebb wrote: On 4 September 2015 at 15:42, Gilles wrote: Hi. On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 4 Sep 2015 11:03:08 -0500, Ole Ersoy wrote: On 09/04/2015 10:26 AM, Gilles wrote: On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: You have left over files in `target` after switching between the branches. For example check out `math4`. Build it. Switch to the `math3` branch. Bui

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Thomas Neidhart
On 09/04/2015 03:08 PM, Gilles wrote: > Hello. > > There are two branches for Commons Math. > > For one, the top-level Java package is > org.apache.commons.math4 > For the other, it is > org.apache.commons.math3 > > Unless I'm mistaken, this should imply that maven tries to compile > only fi

Re: [Math] Compile only top-level package and below

2015-09-04 Thread sebb
On 4 September 2015 at 16:30, Gilles wrote: > On Fri, 4 Sep 2015 16:26:16 +0100, sebb wrote: >> >> On 4 September 2015 at 15:42, Gilles wrote: >>> >>> Hi. >>> >>> >>> On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles wrote: > > >

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Luc Maisonobe
Hi Gilles, Le 04/09/2015 17:30, Gilles a écrit : > On Fri, 4 Sep 2015 16:26:16 +0100, sebb wrote: >> On 4 September 2015 at 15:42, Gilles >> wrote: >>> Hi. >>> >>> >>> On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles wrote: > > Hello. >>>

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Ole Ersoy
On 09/04/2015 10:26 AM, Gilles wrote: On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: You have left over files in `target` after switching between the branches. For example check out `math4`. Build it. Switch to the `math3` branch. Build it. Now `target` will contain both classes from

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 4 Sep 2015 16:26:16 +0100, sebb wrote: On 4 September 2015 at 15:42, Gilles wrote: Hi. On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles wrote: Hello. There are two branches for Commons Math. For one, the top-level Java package is org.apache

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
On Fri, 4 Sep 2015 10:11:04 -0500, Ole Ersoy wrote: You have left over files in `target` after switching between the branches. For example check out `math4`. Build it. Switch to the `math3` branch. Build it. Now `target` will contain both classes from the math3 branch and the math4 branch.

Re: [Math] Compile only top-level package and below

2015-09-04 Thread sebb
On 4 September 2015 at 15:42, Gilles wrote: > Hi. > > > On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: >> >> On 4 September 2015 at 14:08, Gilles wrote: >>> >>> Hello. >>> >>> There are two branches for Commons Math. >>> >>> For one, the top-level Java package is >>> org.apache.commons.math4 >>

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Ole Ersoy
You have left over files in `target` after switching between the branches. For example check out `math4`. Build it. Switch to the `math3` branch. Build it. Now `target` will contain both classes from the math3 branch and the math4 branch. Run clean before switching between branches and yo

Re: [Math] Compile only top-level package and below

2015-09-04 Thread Gilles
Hi. On Fri, 4 Sep 2015 15:30:57 +0100, sebb wrote: On 4 September 2015 at 14:08, Gilles wrote: Hello. There are two branches for Commons Math. For one, the top-level Java package is org.apache.commons.math4 For the other, it is org.apache.commons.math3 Unless I'm mistaken, this should i

Re: [Math] Compile only top-level package and below

2015-09-04 Thread sebb
On 4 September 2015 at 14:08, Gilles wrote: > Hello. > > There are two branches for Commons Math. > > For one, the top-level Java package is > org.apache.commons.math4 > For the other, it is > org.apache.commons.math3 > > Unless I'm mistaken, this should imply that maven tries to compile > onl

[Math] Compile only top-level package and below

2015-09-04 Thread Gilles
Hello. There are two branches for Commons Math. For one, the top-level Java package is org.apache.commons.math4 For the other, it is org.apache.commons.math3 Unless I'm mistaken, this should imply that maven tries to compile only files under either src/main/java/org/apache/commons/math4