Page 1 of 1

Creating development environment

PostPosted:Sat Jan 29, 2011 12:52 pm
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.

Re: Creating development environment

PostPosted:Sat Jan 29, 2011 5:42 pm
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 ?

Re: Creating development environment

PostPosted:Sat Jan 29, 2011 7:54 pm
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.

Re: Creating development environment

PostPosted:Sat Jan 29, 2011 8:21 pm
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.

Re: Creating development environment

PostPosted:Sat Jan 29, 2011 10:38 pm
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.

Re: Creating development environment

PostPosted:Sun Jan 30, 2011 10:27 am
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.

Re: Creating development environment

PostPosted:Sun Jan 30, 2011 10:31 am
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.