|
|
lars hofhansl 2012-11-30, 00:21
The hbase-it project appears to have a bogus reference to resource in the hbase-server project. Removing that reference fixes the build problem. Is that correct?
Enis, could you have a look at it?
-- Lars
-
Re: Eclipse build broken?
Nick Dimiduk 2012-11-30, 01:29
I pulled trunk yesterday and set up eclipse - with Enis's help, actually. I thought I was experiencing user error. A `mvn eclipse:clean` followed by a workspace refresh resolved the issues.
-n On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote:
> The hbase-it project appears to have a bogus reference to resource in the > hbase-server project. > Removing that reference fixes the build problem. Is that correct? > > Enis, could you have a look at it? > > -- Lars >
-
Re: Eclipse build broken?
Enis Söztutar 2012-11-30, 01:51
Let me get a fresh checkout and see On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]> wrote:
> I pulled trunk yesterday and set up eclipse - with Enis's help, actually. I > thought I was experiencing user error. A `mvn eclipse:clean` followed by a > workspace refresh resolved the issues. > > -n > On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote: > > > The hbase-it project appears to have a bogus reference to resource in the > > hbase-server project. > > Removing that reference fixes the build problem. Is that correct? > > > > Enis, could you have a look at it? > > > > -- Lars > > >
-
Re: Eclipse build broken?
Enis Söztutar 2012-11-30, 02:06
I've done:
git pull origin trunk mvn clean install -DskipTests Eclipse -> import maven project
Did not get any problems.
Recent issues committed into hbase-it are: HBASE-7225 and HBASE-7200
Lars, what is the offending reference? On Thu, Nov 29, 2012 at 5:51 PM, Enis Söztutar <[EMAIL PROTECTED]> wrote:
> Let me get a fresh checkout and see > > > On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]> wrote: > >> I pulled trunk yesterday and set up eclipse - with Enis's help, actually. >> I >> thought I was experiencing user error. A `mvn eclipse:clean` followed by a >> workspace refresh resolved the issues. >> >> -n >> On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote: >> >> > The hbase-it project appears to have a bogus reference to resource in >> the >> > hbase-server project. >> > Removing that reference fixes the build problem. Is that correct? >> > >> > Enis, could you have a look at it? >> > >> > -- Lars >> > >> > >
-
Re: Eclipse build broken?
lars hofhansl 2012-11-30, 02:48
The reference in my Eclipse looks like this (in the hbase-it module):
/home/lars/dev/hbase-trunk/hbase-server/src/test/resources Which is strange on two accounts: 1. Why is this an absolute path? 2. Why does it point to a resource in the hbase-server module?
I'll try eclipse:clean and see what happens.
-- Lars ----- Original Message ----- From: Enis Söztutar <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Cc: lars hofhansl <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2012 6:06 PM Subject: Re: Eclipse build broken?
I've done:
git pull origin trunk mvn clean install -DskipTests Eclipse -> import maven project
Did not get any problems.
Recent issues committed into hbase-it are: HBASE-7225 and HBASE-7200
Lars, what is the offending reference? On Thu, Nov 29, 2012 at 5:51 PM, Enis Söztutar <[EMAIL PROTECTED]> wrote:
> Let me get a fresh checkout and see > > > On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]> wrote: > >> I pulled trunk yesterday and set up eclipse - with Enis's help, actually. >> I >> thought I was experiencing user error. A `mvn eclipse:clean` followed by a >> workspace refresh resolved the issues. >> >> -n >> On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote: >> >> > The hbase-it project appears to have a bogus reference to resource in >> the >> > hbase-server project. >> > Removing that reference fixes the build problem. Is that correct? >> > >> > Enis, could you have a look at it? >> > >> > -- Lars >> > >> > >
-
Re: Eclipse build broken?
Sergey Shelukhin 2012-11-30, 02:59
I recently added hbase-it to main pom, where it was previously missing, in order to get it packaged. The resource reference was there all along, I guess it "kicked in" now due to the above.
On Thu, Nov 29, 2012 at 6:48 PM, lars hofhansl <[EMAIL PROTECTED]> wrote:
> The reference in my Eclipse looks like this (in the hbase-it module): > > /home/lars/dev/hbase-trunk/hbase-server/src/test/resources > > > Which is strange on two accounts: > 1. Why is this an absolute path? > 2. Why does it point to a resource in the hbase-server module? > > I'll try eclipse:clean and see what happens. > > -- Lars > > > ----- Original Message ----- > From: Enis Söztutar <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Cc: lars hofhansl <[EMAIL PROTECTED]> > Sent: Thursday, November 29, 2012 6:06 PM > Subject: Re: Eclipse build broken? > > I've done: > > git pull origin trunk > mvn clean install -DskipTests > Eclipse -> import maven project > > Did not get any problems. > > Recent issues committed into hbase-it are: > HBASE-7225 and HBASE-7200 > > Lars, what is the offending reference? > > > On Thu, Nov 29, 2012 at 5:51 PM, Enis Söztutar <[EMAIL PROTECTED]> wrote: > > > Let me get a fresh checkout and see > > > > > > On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]> > wrote: > > > >> I pulled trunk yesterday and set up eclipse - with Enis's help, > actually. > >> I > >> thought I was experiencing user error. A `mvn eclipse:clean` followed > by a > >> workspace refresh resolved the issues. > >> > >> -n > >> On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote: > >> > >> > The hbase-it project appears to have a bogus reference to resource in > >> the > >> > hbase-server project. > >> > Removing that reference fixes the build problem. Is that correct? > >> > > >> > Enis, could you have a look at it? > >> > > >> > -- Lars > >> > > >> > > > > > >
-
Re: Eclipse build broken?
Andrew Purtell 2012-11-30, 12:42
I saw this last week too, same issue in my eclipse environment after regenerating via mvn eclipse:eclipse to account for the new modules.
On Friday, November 30, 2012, lars hofhansl wrote:
> The reference in my Eclipse looks like this (in the hbase-it module): > > /home/lars/dev/hbase-trunk/hbase-server/src/test/resources > > > Which is strange on two accounts: > 1. Why is this an absolute path? > 2. Why does it point to a resource in the hbase-server module? > > I'll try eclipse:clean and see what happens. > > -- Lars > > > ----- Original Message ----- > From: Enis Söztutar <[EMAIL PROTECTED] <javascript:;>> > To: "[EMAIL PROTECTED] <javascript:;>" <[EMAIL PROTECTED]<javascript:;> > > > Cc: lars hofhansl <[EMAIL PROTECTED] <javascript:;>> > Sent: Thursday, November 29, 2012 6:06 PM > Subject: Re: Eclipse build broken? > > I've done: > > git pull origin trunk > mvn clean install -DskipTests > Eclipse -> import maven project > > Did not get any problems. > > Recent issues committed into hbase-it are: > HBASE-7225 and HBASE-7200 > > Lars, what is the offending reference? > > > On Thu, Nov 29, 2012 at 5:51 PM, Enis Söztutar <[EMAIL PROTECTED]<javascript:;>> > wrote: > > > Let me get a fresh checkout and see > > > > > > On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]<javascript:;>> > wrote: > > > >> I pulled trunk yesterday and set up eclipse - with Enis's help, > actually. > >> I > >> thought I was experiencing user error. A `mvn eclipse:clean` followed > by a > >> workspace refresh resolved the issues. > >> > >> -n > >> On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]<javascript:;>> > wrote: > >> > >> > The hbase-it project appears to have a bogus reference to resource in > >> the > >> > hbase-server project. > >> > Removing that reference fixes the build problem. Is that correct? > >> > > >> > Enis, could you have a look at it? > >> > > >> > -- Lars > >> > > >> > > > > > >
-- Best regards,
- Andy
Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)
-
Re: Eclipse build broken?
Andrew Purtell 2012-11-30, 14:12
Tried it again just now, this shows up in the .classpath file for hbase-it:
<classpathentry kind="src" path="/usr/src/Hadoop/hbase/hbase-server/src/test/resources" output="target/test-classes" excluding="**/*.java"/>
Everything else is relative paths, paths prefixed with M2_REPO, or project references.
On Fri, Nov 30, 2012 at 8:42 PM, Andrew Purtell <[EMAIL PROTECTED]> wrote:
> I saw this last week too, same issue in my eclipse environment after > regenerating via mvn eclipse:eclipse to account for the new modules. > > > On Friday, November 30, 2012, lars hofhansl wrote: > >> The reference in my Eclipse looks like this (in the hbase-it module): >> >> /home/lars/dev/hbase-trunk/hbase-server/src/test/resources >> >> >> Which is strange on two accounts: >> 1. Why is this an absolute path? >> 2. Why does it point to a resource in the hbase-server module? >> >> I'll try eclipse:clean and see what happens. >> >> -- Lars >> >> >> ----- Original Message ----- >> From: Enis Söztutar <[EMAIL PROTECTED]> >> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >> Cc: lars hofhansl <[EMAIL PROTECTED]> >> Sent: Thursday, November 29, 2012 6:06 PM >> Subject: Re: Eclipse build broken? >> >> I've done: >> >> git pull origin trunk >> mvn clean install -DskipTests >> Eclipse -> import maven project >> >> Did not get any problems. >> >> Recent issues committed into hbase-it are: >> HBASE-7225 and HBASE-7200 >> >> Lars, what is the offending reference? >> >> >> On Thu, Nov 29, 2012 at 5:51 PM, Enis Söztutar <[EMAIL PROTECTED]> >> wrote: >> >> > Let me get a fresh checkout and see >> > >> > >> > On Thu, Nov 29, 2012 at 5:29 PM, Nick Dimiduk <[EMAIL PROTECTED]> >> wrote: >> > >> >> I pulled trunk yesterday and set up eclipse - with Enis's help, >> actually. >> >> I >> >> thought I was experiencing user error. A `mvn eclipse:clean` followed >> by a >> >> workspace refresh resolved the issues. >> >> >> >> -n >> >> On Nov 29, 2012 4:22 PM, "lars hofhansl" <[EMAIL PROTECTED]> wrote: >> >> >> >> > The hbase-it project appears to have a bogus reference to resource in >> >> the >> >> > hbase-server project. >> >> > Removing that reference fixes the build problem. Is that correct? >> >> > >> >> > Enis, could you have a look at it? >> >> > >> >> > -- Lars >> >> > >> >> >> > >> > >> >> > > -- > Best regards, > > - Andy > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > (via Tom White) > > -- Best regards,
- Andy
Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)
-
Re: Eclipse build broken?
Enis Söztutar 2012-11-30, 19:41
>From hbase-it/pom.xml:
<testResource> <!-- We depend on hbase-server test resources --> <directory>../hbase-server/src/test/resources</directory> </testResource>
We need this because, hbase-site.xml for tests is under hbase-server/src//test. Although hbase-it depends on hbase-server test-jar in the test scope, maven does not include the test resources (I think we exclude them from test-jar). So in order to execute tests in hbase-it with the hbase-site.xml stored in hbase-server/src/test/resources, I did put a dependency there.
I cannot repro this easily. If the problem does not go away with eclipse:clean, can you file a jira.
Enis
On Fri, Nov 30, 2012 at 6:12 AM, Andrew Purtell <[EMAIL PROTECTED]> wrote:
> path="/usr/src/Hadoop/hbase/hbase-server/src/test/resources" >
-
Re: Eclipse build broken?
Nick Dimiduk 2012-12-02, 23:55
Would a symlink solve this issue cleanly? I'm not sure this solution would work on Windows. On Nov 30, 2012 11:42 AM, "Enis Söztutar" <[EMAIL PROTECTED]> wrote:
> From hbase-it/pom.xml: > > <testResource> > <!-- We depend on hbase-server test resources --> > <directory>../hbase-server/src/test/resources</directory> > </testResource> > > We need this because, hbase-site.xml for tests is under > hbase-server/src//test. Although hbase-it depends on hbase-server test-jar > in the test scope, maven does not include the test resources (I think we > exclude them from test-jar). So in order to execute tests in hbase-it with > the hbase-site.xml stored in hbase-server/src/test/resources, I did put a > dependency there. > > I cannot repro this easily. If the problem does not go away with > eclipse:clean, can you file a jira. > > Enis > > On Fri, Nov 30, 2012 at 6:12 AM, Andrew Purtell <[EMAIL PROTECTED]> > wrote: > > > path="/usr/src/Hadoop/hbase/hbase-server/src/test/resources" > > >
|
|