Page 1 of 1

How to Develop for OpenKM 5.1

PostPosted:Tue Jan 03, 2012 2:21 pm
by Kumar
Hi,
I am trying to develop Openkm, and checkout the code through Maven but the code compiled automatically. The following are the errors I got while build automatically:

1. ArtifactTransferException: Failure to transfer
org.apache.derby:derby:jar:10.5.3.0_1 from
http://repo1.maven.org/maven2 was cached in the local reposirory,
resolution will not be reattempted untill the update interval of
central has elapsed or updates are forc

2. Missing artifact com.openkm:extensions-full:jar:LTE

3. Missing artifact org.apache.derby:derby:jar:10.5.3.0_1 in
pom.xml /openkm line 2 Maven Dependency Problem

4.The container 'Maven Dependencies' references non existing library
'C:\Users\Administrator\.m2\repository\org\apache\derby\derby\10.5.3.0_1\derby-10.5.3.0_1.jar' openkm Build
path Build Path Problem

5. The project cannot be built until build path errors are
resolved openkm Unknown Java Problem.



Iam tried on Windows server 2008. Can any one tell how to resolve those Errors to build the Code successfully.





Thanks in Advance,
Kumar

Re: How to Develop for OpenKM 5.1

PostPosted:Wed Jan 04, 2012 3:17 pm
by jllort
Tell us the url are you using to checkout openkm.

Are you using
https://openkm.svn.sourceforge.net/svnr ... 5.1/openkm ( 5.1 branch, future 5.1.9 )
https://openkm.svn.sourceforge.net/svnr ... 1.8/openkm ( 5.1.8 tag )

Re: How to Develop for OpenKM 5.1

PostPosted:Tue Jan 10, 2012 1:06 pm
by Kumar
Hi Jilort,
I am new to OpenKM and have gone through documentation about OpenKM and started developing.

First I prepared developing environment by installing softwares like JDK 1.6, Eclipse Indigo, Maven 3.0, Subeclipse. After this I checkout the code through Maven using link https://openkm.svn.sourceforge.net/svnr ... unk/openkm.
Here I came to know that after completing openkm downloading it will automatically compiled. But when I am look into the target folder I am able to see only one folder that is test-classes folder. There was no openkm.war, pom.xml etc.,

What was the mistake I did here to get other files like openkm.war... If I did any thing wrong then please tell me how can I build my openkm code ?


Thanks in Advance,
Ashwin

Re: How to Develop for OpenKM 5.1

PostPosted:Wed Jan 11, 2012 6:43 am
by pavila
I don't recommend you the trunk. Try one o these locations:

* Branch 5.1 -> https://openkm.svn.sourceforge.net/svnr ... 5.1/openkm
* Tag 5.1.8-2 -> https://openkm.svn.sourceforge.net/svnr ... 8-2/openkm

Re: How to Develop for OpenKM 5.1

PostPosted:Fri Jan 13, 2012 9:13 am
by jllort
OpenKM.war is generated by maven. Contextual menu, Run As -> Maven package