[opencms-dev] My OpenCms build and setup experience (fail)

Rüdiger Kurz r.kurz at alkacon.com
Tue Feb 21 16:34:38 CET 2012


Hi,

Problem1:
Your IDE somehow refers the wrong version of the apache commons digester 
-> Check the configured class path of the project and the window 
preferences in eclipse

Problem2:
Suggestion: Eclipse->Window->Pfeferences->Ant->Runtime->Global Entries 
refers to the wrong version of ant-opencms-1.1.jar or another classpath 
config for ant is stronger than the build.xml

Problem3:
More infos needed! opencms.log / setup.log / Which modules did you 
select during installation, did you also build the modules-v8 project, 
otherwise there will not be a demo content available and 404 makes sense.

Hope that helps!
Rüdiger

Am 21.02.2012 15:43, schrieb Alexandru:
> I downloaded the latest sources from git and then created a new java
> project in eclipse. Copy-pasted all the files from opencms-core to my
> eclipse opencms project. Done a refresh,configured src and lib folders
> and ant's runtime properites. All went well, except
> Problem 1: src/org.opencms/configuration/CmsSetNextRule.java gives this
> error at line 192: The method pushParams(Object) from the type Digester
> is not visible
> Problem 2:Trying to build a war with /modules/build.xml gives this
> error: Variable references non-existent resource :
> ${workspace_loc:/OpenCms/lib/compile/ant-opencms-1.1.jar}. I don't even
> have ant-opencms-1.1.jar. My jar version is -1.2.jar! And the build file
> clearly specifies that: <pathelement
> location="${opencms.input.libs.compile}/ant-opencms-1.2.jar" />.
> * So i decided to do a build from the terminal and everything seemed to
> work. It took 14 min to compile the modules. I then copied the war in
> the tomcat/webapps dir ant started the server. Problem 3:The
> installation process went well, but when it reopened the site for me in
> another window it gave me error 404.
>
> The /system/login page worked fine at least. Bottom line is that my site
> is still unusable, and the ide integration has failed even though i
> followed the instructions from here
> http://opencms-wiki.org/Developing_OpenCms_with_Eclipse

-- 
Kind Regards,
Rüdiger.

-------------------

Rüdiger Kurz

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list