Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
Hi!

Theres's neither pom, file nor gradle one, nor eclipse project ! So, how can we build Knowage CE ?

If we cannot build, why did you choose Github ? Indeed, we won't able to make "pull requests".

regards
in Build by (150 points)

2 Answers

0 votes
 
Best answer
Dear,

We've just completed the adoption of maven, we are going to release 6.1 (these week) where you can use maven to build the source code.

Best Regards

Angelo
by (20.7k points)
selected by
Hi !

Thanks, a lot.

I will try. In fact I want to make a modification in the KnowageMeta webapp in order to be able to manipulate Hive metadata, and be able to work with its schema.

Regards.
+3 votes

I was just able to build Knowage CE 6.1.1 on my Windows 7 (64 Bit) workstation in Eclipse (Oxygen).  Here's what I did:

  • Download the Knowage CE master zip file from Github.
  • In Eclipse, import the the Knowage project using the "Projects from Folder or Archive" wizard.  Be sure the "Search for nested projects" and "Detect and configure project natures" check boxes are checked.  The initial import can take a long time, so be patient.
  • Once the import is complete, find the "knowage-ce-parent" project folder, which should contain a single pom.xml file.
  • In my case, I changed the Java version to 1.8 from the default 1.7. You must do this in the knowage-ce-parent pom.xml file and possibly other places depending upon your environment. 
  • Right click on the file, select "Run as", then select "Run configurations".
  • Create a Maven run configuration with these goals:  clean install
  • Execute the run configuration, which will take anywhere from 10 to 30 minutes (or more to complete).  The compile time may be considerable depending upon the performance of your system.
  • When compilation is complete, check in the "knowage" project folder "target" directory.  You should find a file there named "knowage.war" (mine was about 154 MB).

One issue I ran into was that my environment was not "clean" because I had tried to build individual projects.  If you get compilation errors, then run a Maven clean on the "knowage-ce-parent" project pom.xml file.

by (430 points)
...