You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by Yingyi Bu <bu...@gmail.com> on 2015/10/02 22:52:19 UTC

cannot build individual project module now?

It looks I can no longer build a particular project module under asterixdb:

For example, when I build asterix-test-framework, I got:

"File:
/Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
does not exist."

I used to be able to do that, but now have to always build the entire
project.

Is it intended?


Best,

Yingyi

Re: cannot build individual project module now?

Posted by Chris Hillery <ce...@lambda.nu>.
FYI - this is fixed on ASF master for Hyracks and AsterixDB. Now you need
to specify the maven profile "asterix-release" (not enabled by default) to
get the source zip, which means it doesn't interfere with subproject
builds.

Ceej
aka Chris Hillery
On Oct 2, 2015 1:52 PM, "Yingyi Bu" <bu...@gmail.com> wrote:

> It looks I can no longer build a particular project module under asterixdb:
>
> For example, when I build asterix-test-framework, I got:
>
> "File:
>
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> does not exist."
>
> I used to be able to do that, but now have to always build the entire
> project.
>
> Is it intended?
>
>
> Best,
>
> Yingyi
>

Re: cannot build individual project module now?

Posted by Yingyi Bu <bu...@gmail.com>.
I see. Thanks, Ildar!

Best,
Yingyi

On Fri, Oct 2, 2015 at 2:04 PM, Ildar Absalyamov <ildar.absalyamov@gmail.com
> wrote:

> Yingyi,
>
>
> I have seen that as well, seem like some issue with top-level pom.
>
> The solution which I’ve come up with was to launch maven build from
> top-level directory with --pl flag and indicate all the projects which you
> are interested in.
>
> 2015-10-02 14:03 GMT-07:00 Ian Maxon <im...@uci.edu>:
>
> > It's actually not intended, and I have noticed it as well. It's a
> > product of needing the source assembly for the top-level asterix
> > project. The problem is that the plugin is being inhereted into child
> > subprojects when it shouldn't be, unless the build was triggered from
> > that top-level.
> >
> > - Ian
> >
> > On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
> > > It looks I can no longer build a particular project module under
> > asterixdb:
> > >
> > > For example, when I build asterix-test-framework, I got:
> > >
> > > "File:
> > >
> >
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> > > does not exist."
> > >
> > > I used to be able to do that, but now have to always build the entire
> > > project.
> > >
> > > Is it intended?
> > >
> > >
> > > Best,
> > >
> > > Yingyi
> >
>
>
>
> --
> Best regards,
> Ildar
>

Re: cannot build individual project module now?

Posted by Ildar Absalyamov <il...@gmail.com>.
Yingyi,


I have seen that as well, seem like some issue with top-level pom.

The solution which I’ve come up with was to launch maven build from
top-level directory with --pl flag and indicate all the projects which you
are interested in.

2015-10-02 14:03 GMT-07:00 Ian Maxon <im...@uci.edu>:

> It's actually not intended, and I have noticed it as well. It's a
> product of needing the source assembly for the top-level asterix
> project. The problem is that the plugin is being inhereted into child
> subprojects when it shouldn't be, unless the build was triggered from
> that top-level.
>
> - Ian
>
> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
> > It looks I can no longer build a particular project module under
> asterixdb:
> >
> > For example, when I build asterix-test-framework, I got:
> >
> > "File:
> >
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> > does not exist."
> >
> > I used to be able to do that, but now have to always build the entire
> > project.
> >
> > Is it intended?
> >
> >
> > Best,
> >
> > Yingyi
>



-- 
Best regards,
Ildar

Re: cannot build individual project module now?

Posted by Yingyi Bu <bu...@gmail.com>.
All right, thanks!

Best,
Yingyi

On Fri, Oct 2, 2015 at 2:03 PM, Ian Maxon <im...@uci.edu> wrote:

> It's actually not intended, and I have noticed it as well. It's a
> product of needing the source assembly for the top-level asterix
> project. The problem is that the plugin is being inhereted into child
> subprojects when it shouldn't be, unless the build was triggered from
> that top-level.
>
> - Ian
>
> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
> > It looks I can no longer build a particular project module under
> asterixdb:
> >
> > For example, when I build asterix-test-framework, I got:
> >
> > "File:
> >
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> > does not exist."
> >
> > I used to be able to do that, but now have to always build the entire
> > project.
> >
> > Is it intended?
> >
> >
> > Best,
> >
> > Yingyi
>

Re: cannot build individual project module now?

Posted by Chris Hillery <ch...@hillery.land>.
Hey - I've proposed a fix/work-around for this at
https://asterix-gerrit.ics.uci.edu/#/c/431/ (and the corresponding change
to Hyracks at https://asterix-gerrit.ics.uci.edu/#/c/432/ ).

Ceej
aka Chris Hillery

On Fri, Oct 2, 2015 at 3:03 PM, Till Westmann <ti...@apache.org> wrote:

> Created a bug to put the result of the investigations in :)
>
> https://issues.apache.org/jira/browse/ASTERIXDB-1120
>
> Cheers,
> Till
>
>
> On 2 Oct 2015, at 14:11, Chris Hillery wrote:
>
> That's doubly annoying since the source assembly build adds an unnecessary
>> ~10 seconds to every top-level build.
>>
>> Maybe there's a way to set that so it's not implicitly part of the build
>> but can be run independently when we care to... I'll investigate a bit.
>>
>> Ceej
>> aka Chris Hillery
>>
>> On Fri, Oct 2, 2015 at 2:03 PM, Ian Maxon <im...@uci.edu> wrote:
>>
>> It's actually not intended, and I have noticed it as well. It's a
>>> product of needing the source assembly for the top-level asterix
>>> project. The problem is that the plugin is being inhereted into child
>>> subprojects when it shouldn't be, unless the build was triggered from
>>> that top-level.
>>>
>>> - Ian
>>>
>>> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
>>>
>>>> It looks I can no longer build a particular project module under
>>>>
>>> asterixdb:
>>>
>>>>
>>>> For example, when I build asterix-test-framework, I got:
>>>>
>>>> "File:
>>>>
>>>>
>>> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
>>>
>>>> does not exist."
>>>>
>>>> I used to be able to do that, but now have to always build the entire
>>>> project.
>>>>
>>>> Is it intended?
>>>>
>>>>
>>>> Best,
>>>>
>>>> Yingyi
>>>>
>>>
>>>

Re: cannot build individual project module now?

Posted by Till Westmann <ti...@apache.org>.
Created a bug to put the result of the investigations in :)

https://issues.apache.org/jira/browse/ASTERIXDB-1120

Cheers,
Till

On 2 Oct 2015, at 14:11, Chris Hillery wrote:

> That's doubly annoying since the source assembly build adds an 
> unnecessary
> ~10 seconds to every top-level build.
>
> Maybe there's a way to set that so it's not implicitly part of the 
> build
> but can be run independently when we care to... I'll investigate a 
> bit.
>
> Ceej
> aka Chris Hillery
>
> On Fri, Oct 2, 2015 at 2:03 PM, Ian Maxon <im...@uci.edu> wrote:
>
>> It's actually not intended, and I have noticed it as well. It's a
>> product of needing the source assembly for the top-level asterix
>> project. The problem is that the plugin is being inhereted into child
>> subprojects when it shouldn't be, unless the build was triggered from
>> that top-level.
>>
>> - Ian
>>
>> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
>>> It looks I can no longer build a particular project module under
>> asterixdb:
>>>
>>> For example, when I build asterix-test-framework, I got:
>>>
>>> "File:
>>>
>> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
>>> does not exist."
>>>
>>> I used to be able to do that, but now have to always build the 
>>> entire
>>> project.
>>>
>>> Is it intended?
>>>
>>>
>>> Best,
>>>
>>> Yingyi
>>

Re: cannot build individual project module now?

Posted by Ian Maxon <im...@uci.edu>.
It might be possible to throw it into the 'apache-release' profile, at
least that was my initial thought. I just haven't dug into it in the
interest of getting the release out sooner.

On Fri, Oct 2, 2015 at 2:11 PM, Chris Hillery <ch...@hillery.land> wrote:
> That's doubly annoying since the source assembly build adds an unnecessary
> ~10 seconds to every top-level build.
>
> Maybe there's a way to set that so it's not implicitly part of the build
> but can be run independently when we care to... I'll investigate a bit.
>
> Ceej
> aka Chris Hillery
>
> On Fri, Oct 2, 2015 at 2:03 PM, Ian Maxon <im...@uci.edu> wrote:
>
>> It's actually not intended, and I have noticed it as well. It's a
>> product of needing the source assembly for the top-level asterix
>> project. The problem is that the plugin is being inhereted into child
>> subprojects when it shouldn't be, unless the build was triggered from
>> that top-level.
>>
>> - Ian
>>
>> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
>> > It looks I can no longer build a particular project module under
>> asterixdb:
>> >
>> > For example, when I build asterix-test-framework, I got:
>> >
>> > "File:
>> >
>> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
>> > does not exist."
>> >
>> > I used to be able to do that, but now have to always build the entire
>> > project.
>> >
>> > Is it intended?
>> >
>> >
>> > Best,
>> >
>> > Yingyi
>>

Re: cannot build individual project module now?

Posted by Chris Hillery <ch...@hillery.land>.
That's doubly annoying since the source assembly build adds an unnecessary
~10 seconds to every top-level build.

Maybe there's a way to set that so it's not implicitly part of the build
but can be run independently when we care to... I'll investigate a bit.

Ceej
aka Chris Hillery

On Fri, Oct 2, 2015 at 2:03 PM, Ian Maxon <im...@uci.edu> wrote:

> It's actually not intended, and I have noticed it as well. It's a
> product of needing the source assembly for the top-level asterix
> project. The problem is that the plugin is being inhereted into child
> subprojects when it shouldn't be, unless the build was triggered from
> that top-level.
>
> - Ian
>
> On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
> > It looks I can no longer build a particular project module under
> asterixdb:
> >
> > For example, when I build asterix-test-framework, I got:
> >
> > "File:
> >
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> > does not exist."
> >
> > I used to be able to do that, but now have to always build the entire
> > project.
> >
> > Is it intended?
> >
> >
> > Best,
> >
> > Yingyi
>

Re: cannot build individual project module now?

Posted by Ian Maxon <im...@uci.edu>.
It's actually not intended, and I have noticed it as well. It's a
product of needing the source assembly for the top-level asterix
project. The problem is that the plugin is being inhereted into child
subprojects when it shouldn't be, unless the build was triggered from
that top-level.

- Ian

On Fri, Oct 2, 2015 at 1:52 PM, Yingyi Bu <bu...@gmail.com> wrote:
> It looks I can no longer build a particular project module under asterixdb:
>
> For example, when I build asterix-test-framework, I got:
>
> "File:
> /Users/yingyi/workspace1/asterixdb/asterix-test-framework/src/main/assembly/source.xml
> does not exist."
>
> I used to be able to do that, but now have to always build the entire
> project.
>
> Is it intended?
>
>
> Best,
>
> Yingyi