Page 1 of 2
Building OpenKM 3.0 from source
PostPosted:Mon Mar 09, 2009 7:08 pm
by madmax79
hi,
i\'m trying to build openKM from source, but it does not work. the files xdoclet-build.xml, build.xml and packaging-build.xml referenced in build.sh are not available from CVS repository. the files are explicitly marked in .cvsignore. but why? any ideas?
thx,
Re:Building OpenKM 3.0 from source
PostPosted:Tue Mar 10, 2009 10:02 am
by jllort
We don\'t use build.sh, probably is an older file or for some testing by us, not required for developing.
Have you read the
developer guide under documentation ?
Re:Building OpenKM 3.0 from source
PostPosted:Wed Mar 11, 2009 10:00 am
by madmax79
thx, yes i\'ve read the dev guide. there i can find a screen which shows xdoclet running to generate the web descriptor stuff and the ejb facility stuff for AuthModule. the file which is shown is xodclet-build.xml.
my workaround is to introduce maven for dependency mgmt. and also to split up the hole project to a clean module structure.
--openkm
-ear/pom.xml
-ejb/pom.xml
-war/pom.xml
i\'m currently interested in your ejb-layer - which i is not finished yet ;) - and built my own web client on top of it. want to reuse your service-layer.
regards [file name=openkm-f306278452e0c98f7a654d8afec80f9c.zip size=3438]
http://www.openkm.com/images/fbfiles/fi ... c80f9c.zip[/file]
Re:Building OpenKM 3.0 from source
PostPosted:Wed Mar 11, 2009 3:34 pm
by pavila
Interesting... I was thinking on use maven for OpenKM because this simplifies a lot the compiling / building process. I will try these poms.
Respect EJB layer, it was an initial architecture requirement but never required by anybody. This is a simple interface which make OpenKM API calls. I you wan to implement these the complete API your are wellcome with the contribution.
Re:Building OpenKM 3.0 from source
PostPosted:Wed Mar 11, 2009 9:00 pm
by madmax79
i\'ve started with AuthModule and BookmarkModule building the ejb stuff around. please have a look to the patch. i introduce ejb3 annotations as your webservices already use them. so i can get rid of the xdoclet stuff in service layer and therefore removing complexity in the buildsystem. maybe one day openKM could use only
one technology for meta programming (annotations)
regards, [file name=patch.zip size=3790]
http://www.openkm.com/images/fbfiles/files/patch.zip[/file]
Re:Building OpenKM 3.0 from source
PostPosted:Fri Mar 13, 2009 11:46 am
by pavila
Great, we included partial annotations in OpenKM 3.0 source code and I hope to extend to the whole source in the next release. I will add your contributions to the project shortly.
Re:Building OpenKM 3.0 from source
PostPosted:Fri Mar 13, 2009 12:04 pm
by pavila
I have applied your patch and this error is thrown
Code: Select allCaused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository
es.git:openkm-base:pom:3.0-SNAPSHOT
when I to run maven:
Re:Building OpenKM 3.0 from source
PostPosted:Tue Mar 24, 2009 10:18 am
by affeval1
Made a fresh checkout today to build the source, and am following the developer\'s guide to get it built.
But the xdoclet build is still needed. BTW, today is my first day with OpenKM.. So appreciate any advice on the build steps for the project that applied currently.
Re:Building OpenKM 3.0 from source
PostPosted:Tue Mar 24, 2009 11:39 am
by madmax79
sorry, the patch requires the directory structure which i had described before. something like
openKM
-pom.xml --> the error states that this pom.xml is missing :(
-war/pom.xml
-ear/pom.xml
-ejb/pom.xml
but you can live without them, easily remove the <parent> pom entry from the pom.xml of the patch and run again.
Re:Building OpenKM 3.0 from source
PostPosted:Wed Mar 25, 2009 5:02 am
by affeval1
Please stabilize the build steps and update the developers guide after ejb2 --> ejb3 migration and ant --> maven2 migration...
As of now, the Developer\'s Guide is useless when it comes to xdoclet stuff..
thanks in advance for whoever stabilize the build.
Re:Building OpenKM 3.0 from source
PostPosted:Wed Mar 25, 2009 9:54 am
by madmax79
i would do, but i cannot commit the mvn2 stuff :(
furthermore, we currently work on removing the jboss hard coded stuff in the ejb layer to get openKM deployed on other application servers. we\'re unhappy with this situation, cause we have to work on our own branch of version 3.0. so we have to resync with openKM trunk someday :(
Re:Building OpenKM 3.0 from source
PostPosted:Thu Mar 26, 2009 9:39 pm
by pavila
You can send me a fully functional patch and I can apply to the CVS code. The previous uploaded patch had problems with the mvn stuff. Or send DETAILED instructions on how to add mvn support to OpenKM and source code / structure changes.
We can not give write permissions to everybody or the repository can be damaged. If you become a good project contributor, we can give you write permissions some day.
Re:Building OpenKM 3.0 from source
PostPosted:Sun Mar 29, 2009 8:50 pm
by madmax79
new patch for openkm tagged version OKM-3_0 available. please give them a try.
http://www.mybasket.de/~openkm/patch.zip or one try out my complete prj. setup
http://www.mybasket.de/~openkm/openkm-m2.zip
kind regards m.lauke
Re:Building OpenKM 3.0 from source
PostPosted:Tue Mar 31, 2009 6:06 pm
by pavila
ok, i will try it. Thx.
Re:Building OpenKM 3.0 from source
PostPosted:Mon Apr 06, 2009 11:24 am
by Gbas
last week mybasket.de seems down, another site to download the patch ?
Thanks