Those are autogenerated.

On 03/13/2014 09:05 AM, Kevin Moulart wrote:
Ok it does compile with maven in eclipse as well, but still, many imports
are not recognized in the sources :

- import org.apache.mahout.math.function.IntObjectProcedure;
- import org.apache.mahout.math.map.OpenIntLongHashMap;
- import org.apache.mahout.math.map.OpenIntObjectHashMap;
- import org.apache.mahout.math.set.OpenIntHashSet;
- import org.apache.mahout.math.list.DoubleArrayList;
...

Pretty much all the problems come from the OpenInt... classes that it
doesn't seem to find. Is there a jar or a pom entry I need to add here ?
Or do I have the wrong version of org.apache.mahout.math, because I can't
find those maps/sets/lists in the math package ?

(I have the same problem on both my windows, centos and mac os)

Kévin Moulart


2014-03-12 17:00 GMT+01:00 Kevin Moulart <[email protected]>:

Never mind, I found where the problem lied, I deleted the full content of
.m2 and retried it as non root user and it worked. Trying in Eclipse now,
with tests I'll let you now if it doesn't work.

Kévin Moulart


2014-03-12 16:45 GMT+01:00 Kevin Moulart <[email protected]>:

Hi,

I tried to fix all the problem I had to configure eclipse in order to
compile mahout in it using "maven clean package" as goal.

First I had to make a change in mahout core in the class GroupTree.java,
line 171 :

stack = new ArrayDeque<GroupTree>();


Then I tried compiling with eclipse (I already had the plugin and all
imported and I'm working on the trunk version).

 From eclipse it runs until it tries compiling the examples :

[INFO] Building jar:
/home/myCompany/Workspace_eclipse/mahout-trunk/examples/target/mahout-examples-1.0-SNAPSHOT-job.jar
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mahout Build Tools ................................ SUCCESS [
  1.173 s]
[INFO] Apache Mahout ..................................... SUCCESS [
  0.307 s]
[INFO] Mahout Math ....................................... SUCCESS [
  8.041 s]
[INFO] Mahout Core ....................................... SUCCESS [
  8.378 s]
[INFO] Mahout Integration ................................ SUCCESS [
  1.030 s]
[INFO] Mahout Examples ................................... FAILURE [
  5.325 s]
[INFO] Mahout Release Package ............................ SKIPPED
[INFO] Mahout Math/Scala wrappers ........................ SKIPPED
[INFO] Mahout Spark bindings ............................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24.630 s
[INFO] Finished at: 2014-03-12T16:38:08+01:00
[INFO] Final Memory: 101M/1430M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4:single (job) on project
mahout-examples: Failed to create assembly: Error creating assembly archive
job: IOException when zipping com/ibm/icu/ICUConfig.properties: invalid LOC
header (bad signature) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :mahout-examples


It does the exact same thing when I try typing mvn clean package in
terminal, but when I try it as root, it works, so it might be an issue with
the permissions however I fail to see where (I did a chown -R on my entire
home folder just to be on the safe side and it still fails).

Anyone had the same problem ? Any idea about how to fix it ?

Kévin Moulart





Reply via email to