• Compilation problems

  • 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.
 #5502  by weezer316
 
Hi

Sorry to post again but does anyone have any idea how to fx this error on the project being built?

Description Resource Path Location Type
The type com.sun.star.lang.XEventListener cannot be resolved. It is indirectly referenced from required .class files DocConverter.java /openkm/src/main/java/es/git/openkm/util line 1 Java Problem


I just cannot fix it! Happens on both linux and windows.

I have ran the install script in ext-libs and still the problem persists. Please help!

Wheeler
 #5503  by jllort
 
could you try to make packaging from console ?
mvn clean
mvn package

to see what happens
which maven version do you have
you could try to increase memory using MAVEN_OPTS
 #5511  by weezer316
 
Hi

Right well If i do that then the target folder dissapears along with everything beneath it.

However, If i do:

mvn clean
mvn package
mvn install -DdownloadSources=true -DdownloadJavadocs=true

Then the target folder returns. i then have this below
eclipse.JPG
eclipse.JPG (188.36 KiB) Viewed 5005 times

Now what? Im a touch confused to say the least. the developer guide doesnt make it clear what i need to do.

You will also see i still have they same errors on eclipse thoough. Does this matter?

Regards

Wheeler
 #5512  by jllort
 
I don't have that problem. Simply I want to be sure there's not maven problem.

I've got external maven configured to eclispe, as you can see in the
eclipse-maven.jpeg
eclipse-maven.jpeg (276.59 KiB) Viewed 5003 times
screenshow

Developer guide is focused in actual svn head ( something like debug is quite diferent to 4.x ) but IDE compilation environment has not been changed.
 #6075  by noya
 
Hi,
I have a problem when I try build project:
05.08.10 13:38:31 EEST: Build errors for openkm; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0-beta-3:create (default) on project openkm: An error has occurred while checking scm status.

Could you help me? Thanks in advance.
 #6086  by jllort
 
It's not an important error, really war package etc... are done correctly.

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.