Page 1 of 1

Compilation problems

PostPosted:Sat Jun 19, 2010 9:28 pm
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

Re: Compilation problems

PostPosted:Sun Jun 20, 2010 11:23 am
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

Re: Compilation problems

PostPosted:Tue Jun 22, 2010 8:55 am
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 5006 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

Re: Compilation problems

PostPosted:Tue Jun 22, 2010 3:19 pm
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 5004 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.

Re: Compilation problems

PostPosted:Fri Aug 06, 2010 12:22 pm
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.

Re: Compilation problems

PostPosted:Mon Aug 09, 2010 2:28 pm
by jllort
It's not an important error, really war package etc... are done correctly.