Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # dev - svn:ignore .gitignore and ACCUMULO-935


Copy link to this message
-
Re: svn:ignore .gitignore and ACCUMULO-935
Christopher 2013-06-06, 18:07
Billie-

Yes, the original intent was to make it look like a normal
ACCUMULO_HOME directory. Unfortunately, the best, easiest way to do
this is to use the assembly plugin, and it makes these extra
directories. It can't be helped... at least, I didn't think it was
worth wasting time on it, like I spent so much time doing getting the
filenames right in 1.5.0 artifacts. I think it might be best to change
the name of the parameter so it's not misleading, though.

David-

Update. It won't do that anymore. It'll grab everything else that
normally goes in the tarball, too.

--
Christopher L Tubbs II
http://gravatar.com/ctubbsii
On Thu, Jun 6, 2013 at 12:56 PM, David Medinets
<[EMAIL PROTECTED]> wrote:
> It did not behave that way for me. Three directories were created bin,
> conf, and lib. Directly where my DEV_ACCUMULO_HOME pointed to.
>
>
> On Thu, Jun 6, 2013 at 11:47 AM, Billie Rinaldi <[EMAIL PROTECTED]>wrote:
>
>> I'm trying this out.  Based on the name of the parameter
>> (DEV_ACCUMULO_HOME) I was expecting it to look like a normal accumulo home
>> directory, but it actually creates
>> DEV_ACCUMULO_HOME/accumulo-1.6.0-SNAPSHOT-dev/accumulo-1.6.0-SNAPSHOT.  I
>> can see why you'd want a subdirectory with the version number, but why are
>> there two subdirectories?
>>
>> Billie
>>
>>
>> On Tue, Jun 4, 2013 at 9:38 AM, Christopher <[EMAIL PROTECTED]> wrote:
>>
>> > Slight change. I take back what I said before: by default it does
>> > create the assembled directory (what will go in the bin tarball) in
>> > assemble/target. But, that is subject to being wiped out by 'mvn
>> > clean'. Specifying the property with a different location, outside the
>> > target directory will protect it from being "cleaned".
>> >
>> > Also, because it reuses the same component profile as the bin tarball,
>> > it basically means that it will create an directory that should look
>> > exactly like what the unpacked bin tarball would look like.
>> >
>> > --
>> > Christopher L Tubbs II
>> > http://gravatar.com/ctubbsii
>> >
>> >
>> > On Mon, Jun 3, 2013 at 4:37 PM, Christopher <[EMAIL PROTECTED]> wrote:
>> > > Oh, well, I should clarify... the things that would normally go *in*
>> > > that directory (such as jars) would still end up in their respective
>> > > target directories (except those things copied directly from the
>> > > source tree, like the scripts and configuration).
>> > >
>> > > --
>> > > Christopher L Tubbs II
>> > > http://gravatar.com/ctubbsii
>> > >
>> > >
>> > > On Mon, Jun 3, 2013 at 4:36 PM, Christopher <[EMAIL PROTECTED]>
>> wrote:
>> > >> Nope. If you don't set the property, then it won't copy files to that
>> > >> directory, and you'll have to build the binary assembly or rpm or deb
>> > >> and unpack/install that, as we expect end-users to normally do, in
>> > >> order to get a similar structure.
>> > >>
>> > >> --
>> > >> Christopher L Tubbs II
>> > >> http://gravatar.com/ctubbsii
>> > >>
>> > >>
>> > >> On Mon, Jun 3, 2013 at 4:22 PM, David Lyle <[EMAIL PROTECTED]>
>> > wrote:
>> > >>> What happens if I don't set the property? Does everything end up
>> under
>> > >>> target?
>> > >>>
>> > >>>
>> > >>> On Mon, Jun 3, 2013 at 4:06 PM, Christopher <[EMAIL PROTECTED]>
>> > wrote:
>> > >>>
>> > >>>> Minor correction. The basic method for specifying the external
>> > directory
>> > >>>> is:
>> > >>>> mvn -DDEV_ACCUMULO_HOME=<absolutePath> package
>> > >>>>
>> > >>>> --
>> > >>>> Christopher L Tubbs II
>> > >>>> http://gravatar.com/ctubbsii
>> > >>>>
>> > >>>>
>> > >>>> On Mon, Jun 3, 2013 at 4:04 PM, Christopher <[EMAIL PROTECTED]>
>> > wrote:
>> > >>>> > I made some changes for ACCUMULO-935 that may be unexpected, so
>> > here's
>> > >>>> > some information that may help:
>> > >>>> >
>> > >>>> > Use 'mvn -DDEV_ACCUMULO_HOME package' to output built artifacts to
>> > an
>> > >>>> > external directory, so the workspace does not get dirtied with
>> > >>>> > unversioned files outside of the target directories, that need to