Hello,
I am trying to build LogicalDoc CE 6.1 from its source code.
When I execute mvn install using Maven version 2.0.10 I get the following build error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to initialise extensions
Component descriptor role: 'org.apache.maven.wagon.CommandExecutor', implementation: 'org.apache.maven.wagon.providers.ssh.jsch.ScpCommandExecutor', role hint: 'scp' has a hint, but there are other implementations that don't
When I use Maven version 2.2.1 I get this error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error resolving version for 'org.apache.maven.plugins:maven-site-plugin': Plugin requires Maven version 3.0
And finally when I use Maven 3.0.3, this error shows up:
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
My environment:
Java 1.6
Ant 1.8.2
I have no problem building the prior versions to 6.1
Could you please assist me with this issue.
Cheers
The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems
Problem with building the src
Moderator: car031
Post
Re: Problem with building the src
In order to build the sources of LogicalDOC 6.0, 6.1 you need JDK 1.6, Maven 3.0.x, Ant 1.7 (minimum), GWT 2.1.1
Post
Re: Problem with building the src
Thanks very much. There was a confusion between mvn 2.2.1 and mvn 3.0.3 in my PATH variable.
Post
Re: Problem with building the src
Please let us know if you encounter other problems during build from source
Best regards
Alex
Best regards
Alex

Post
Re: Problem with building the src
So far so good. I built 6.1 successfully, deployed the resulting war file and it worked fine.
However I already encountered a little bug maybe!
I create a new folder 'test1' under the main parent folder, then I created a new sub-folder 'test2' in 'test1'. Then
I tried to drag 'test2' and drop it in the main parent folder so that it could be in the same directory-level as 'test1'
but the move didn't take place. Is that intentionally so?
Regards
However I already encountered a little bug maybe!
I create a new folder 'test1' under the main parent folder, then I created a new sub-folder 'test2' in 'test1'. Then
I tried to drag 'test2' and drop it in the main parent folder so that it could be in the same directory-level as 'test1'
but the move didn't take place. Is that intentionally so?
Regards
Post
Re: Problem with building the src
You can't use drag'n'drop on folders, this feature is enabled only on files !
In order to move a folder use the folder contextual menu (mouse right on folder)
In order to move a folder use the folder contextual menu (mouse right on folder)
Post
Re: Problem with building the src
That's very odd, because I am able to drag and drop folders into each other without using the contextual menu.
Please make 3 folders under the parent directory and play around with them you will see what I mean
PS. I am on LogocalDoc 6.1
Please make 3 folders under the parent directory and play around with them you will see what I mean

PS. I am on LogocalDoc 6.1
Post
Re: Problem with building the src
Thanks! I managed to get it right on point. Been pulling my hair out for the last 2 hours 

Who is online
Users browsing this forum: No registered users and 43 guests