mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Re: does mahout source repo miss lots of file?
Date Mon, 15 Apr 2013 04:57:08 GMT
Sounds like the right steps.

Is there a reason that you are not using the trunk version?

Can you include error messages?


On Sun, Apr 14, 2013 at 9:28 PM, mlw5415 <mlw5415@163.com> wrote:

> Do I miss some step?
>
> First download sources from '
> http://svn.apache.org/repos/asf/mahout/tags/mahout-0.7/',
> Then use 'mvn compile' or 'mvn package'.
>
> Thank for any help.
>
>
>
>
>
> From: Ted Dunning
> Date: 2013-04-15 12:17
> To: mlw5415
> CC: user
> Subject: Re: Re: does mahout source repo miss lots of file?
> Yes.  They are generated.
>
>
>
>
> On Sun, Apr 14, 2013 at 9:08 PM, mlw5415 <mlw5415@163.com> wrote:
>
> > **
> > These classes are generated at compile time?
> >
> > I download sources '
> > http://svn.apache.org/repos/asf/mahout/tags/mahout-0.7/' and use 'mvn
> > compile' but got errors.
> > I can image that 'Abstract*.java' can be generated, but the other class,
> > such as 'ByteArrayList.java' has lot of  complex logic could not be
> > generated,
> >
> > The following code can be generated?
> >    public void beforeInsert(int index, byte element) {
> >     // overridden for performance only.
> >     if (size == index) {
> >       add(element);
> >       return;
> >     }
> >     if (index > size || index < 0) {
> >
> >       throw new IndexOutOfBoundsException("Index: " + index + ", Size: "
> + size);
> >     }
> >     ensureCapacity(size + 1);
> >     System.arraycopy(elements, index, elements, index + 1, size - index);
> >     elements[index] = element;
> >     size++;
> >   }
> >
> > ------------------------------
> >
> >  *From:* Ted Dunning <ted.dunning@gmail.com>
> > *Date:* 2013-04-15 11:55
> > *To:* user@mahout.apache.org; mlw5415 <mlw5415@163.com>
> > *Subject:* Re: does mahout source repo miss lots of file?
> >  These classes are generated at compile time.
> >
> >
> > On Sun, Apr 14, 2013 at 8:35 PM, mlw5415 <mlw5415@163.com> wrote:
> >
> >> mahout-0.7 tag, such as follow url:
> >>
> >>
> http://svn.apache.org/repos/asf/mahout/tags/mahout-0.7/math/src/main/java/org/apache/mahout/math/list
> >> we only see 4 class:
> >> AbstractList.java
> >> AbstractObjectList.java
> >> ObjectArrayList.java
> >> SimpleLongArrayList.java
> >>
> >> but in the maven repo, i unzip the source jar file, and find lot of
> >> missing file as bellow:
> >> AbstractByteList.java
> >> AbstractCharList.java
> >> AbstractDoubleList.java
> >> AbstractFloatList.java
> >> AbstractIntList.java
> >> AbstractLongList.java
> >> AbstractShortList.java
> >> ByteArrayList.java
> >> CharArrayList.java
> >> DoubleArrayList.java
> >> FloatArrayList.java
> >> IntArrayList.java
> >> LongArrayList.java
> >> package.html
> >> ShortArrayList.java
> >
> >
> >

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message