• Creating development environment

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #8477  by joel.alexandre
 
Hi,

i'm trying to create a development environment of openkm but can't seen to get it done.

I've followed the wiki - http://wiki.openkm.com/index.php/Developer_Guide - but i'm checking out the code as in http://wiki.openkm.com/index.php/Checko ... Subversion, the maven progress bar doesn't get over the 10%. I've checked and the source code seems to be all downloaded.

I've then tried importing the maven project (from the code i've downloaded in the step above) and it also doesn't get over the 10%.

Here's the console output.. and it stops here for hours:
Code: Select all
29-01-2011 8:54:53 GMT: Updating index central|http://repo1.maven.org/maven2
29-01-2011 8:54:55 GMT: Updated index for central|http://repo1.maven.org/maven2
29-01-2011 8:55:07 GMT: Refreshing [/openkm/pom.xml]
29-01-2011 8:55:13 GMT: [WARN] The POM for com.openkm.extension:sample-full:jar:5.0 is missing, no dependency information available
29-01-2011 8:55:15 GMT: Downloaded http://repository.jboss.com/maven2/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar
29-01-2011 8:55:15 GMT: Downloaded http://repository.jboss.com/maven2/org/apache/commons/commons-compress/1.0/commons-compress-1.0.jar
29-01-2011 8:55:15 GMT: Downloaded http://repository.jboss.com/maven2/de/schlichtherle/io/truezip/6.6/truezip-6.6.jar
29-01-2011 8:55:15 GMT: Downloaded http://repository.jboss.com/maven2/org/slf4j/slf4j-api/1.5.3/slf4j-api-1.5.3.jar
29-01-2011 8:55:16 GMT: Downloaded http://repository.jboss.com/maven2/org/slf4j/slf4j-log4j12/1.5.3/slf4j-log4j12-1.5.3.jar
29-01-2011 8:55:16 GMT: Downloaded http://repository.jboss.com/maven2/dnsjava/dnsjava/2.0.8/dnsjava-2.0.8.jar
29-01-2011 8:56:16 GMT: Downloaded http://repository.jboss.com/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
29-01-2011 8:56:16 GMT: Downloaded http://repository.jboss.com/maven2/org/apache/jackrabbit/jackrabbit-core/1.6.4/jackrabbit-core-1.6.4.jar
29-01-2011 8:56:16 GMT: Downloaded http://repository.jboss.com/maven2/org/apache/jackrabbit/jackrabbit-api/1.6.4/jackrabbit-api-1.6.4.jar
29-01-2011 8:56:17 GMT: Downloaded http://repository.jboss.com/maven2/org/apache/jackrabbit/jackrabbit-jcr-commons/1.6.4/jackrabbit-jcr-commons-1.6.4.jar
Any idea?

Thanks.
 #8478  by jllort
 
Downloading all maven repository take some hours. If you consider stops for so much time, try direcly from console using "mvn package" command
First time you'll get some error because some libraries in ext-libs folder must be registered to maven. ( you can register before executing maven package ).
Which version are you downloading 5.1 or 5.0 ?
 #8480  by joel.alexandre
 
I've just got it right. I've deleted everything (eclipse, maven, eclipse workspace), restarted the procedure and it worked.

I have no ideia what i did wrong before.

thanks.
 #8481  by jllort
 
Where are you considering developing on version 5.1 or 5.0 ? And what do you want to doing ? depending your needs or what you want doing I can make some suggestions.
 #8482  by joel.alexandre
 
i want to analyse the current stable version to see how a customization directly on the project or through a plugin can me made.

The current stable is the 5.0 branch and the 5.1 is the trunk? i think i'll do the testing with the stable 5.0 branch.
 #8487  by jllort
 
OK, Version 5.1 has more complete API for creating extensions than 5.0. In some weeks we'll closing 5.1. on svn althought probably will not yet release, because we considering users must doing migration only one time per year,probably it'll a internal version for us.

If it's for testing purpose consider 5.1. if it's for doing some implementation in your installation, consider 5.0.
 #8489  by joel.alexandre
 
jllort wrote:OK, Version 5.1 has more complete API for creating extensions than 5.0. In some weeks we'll closing 5.1. on svn althought probably will not yet release, because we considering users must doing migration only one time per year,probably it'll a internal version for us.

If it's for testing purpose consider 5.1. if it's for doing some implementation in your installation, consider 5.0.
Thanks - 5.0 will be.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.