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

Alexandru icidrop at yahoo.com
Wed Feb 22 13:35:20 CET 2012


i selected every module. here are the logs http://ubuntuone.com/7e1dpbM2DDZujwWySf9qya


the apache digester classpath lloks ok to me in windows>pref>ant>runtime  http://ubuntuone.com/77aCoCF9NZzupCE1xAbvaD


________________________________
 From: Rüdiger Kurz <r.kurz at alkacon.com>
To: Alexandru <icidrop at yahoo.com>; The OpenCms mailing list <opencms-dev at opencms.org> 
Sent: Tuesday, February 21, 2012 5:34 PM
Subject: Re: [opencms-dev] My OpenCms build and setup experience (fail)
 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120222/5b25637d/attachment.htm>


More information about the opencms-dev mailing list