[opencms-dev] How to build Alkacon OAMP modules
Olli Aro
olli_aro at yahoo.co.uk
Tue Aug 19 11:48:41 CEST 2008
Ok, I have now downloaded the whole CVS repository as a single project in
Eclipse and things look a lot better.
I can now start the build.xml and select the module I want to build.
However, I still get the following error as part of the process:
Buildfile: C:\eclipse_workspace\OpenCms - Complete Head\alkacon\build.xml
init-all:
[echo] all:
com.alkacon.opencms.commons,com.alkacon.opencms.calendar,com.alkacon.opencms
..newsletter,com.alkacon.opencms.feeder,com.alkacon.opencms.formgenerator,com
..alkacon.opencms.survey,com.alkacon.opencms.registration,com.alkacon.opencms
..counter,com.alkacon.opencms.oampdemo,com.alkacon.opencms.comments,com.alkac
on.opencms.photoalbum
init:
[selectionprompt] Prompting user for modules.interactive
[selectionprompt] user selection: com.alkacon.opencms.comments
dist:
Trying to override old definition of task selectiontreeprompt
Trying to override old definition of task selectionprompt
Trying to override old definition of task readxmlproperty
init:
[echo] Building OpenCms 7.0.5
[echo]
[echo] OpenCms input directory is: C:\eclipse_workspace\OpenCms -
Complete Head\OpenCms
[echo] OpenCms output directory is: C:\eclipse_workspace\OpenCms -
Complete Head\BuildCms
[echo] Java version detected: 1.6
[echo] Java target version: 1.5
[echo] Java home is: ${env.JAVA_HOME}
[echo] Tomcat home is: ${tomcat.home}
compile:
versioninfo:
jar:
init:
BUILD FAILED
C:\eclipse_workspace\OpenCms - Complete Head\alkacon\build.xml:143: The
following error occurred while executing this line:
C:\eclipse_workspace\OpenCms - Complete Head\alkacon\build.xml:145: The
following error occurred while executing this line:
C:\eclipse_workspace\OpenCms - Complete Head\alkacon\build-single.xml:85:
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
Total time: 11 seconds
Any ideas how to fix this? I have commons-digester.jar in my classpath and
could not find any references for it in the build.xml file.
Regards,
Olli
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chirouze Olivier
Sent: 19 August 2008 10:36
To: The OpenCms mailing list
Subject: Re: [opencms-dev] How to build Alkacon OAMP modules
Not exactly. I couldn't tell you if you need to have other files that
are in HEAD, but at least ant-contrib is a library that you can download
yourself in many places on the web. So you might be able to get the
necessary files without downloading OpenCms core code!
Olivier
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
> Sent: 19 August 2008 10:44
> To: 'The OpenCms mailing list'
> Subject: Re: [opencms-dev] How to build Alkacon OAMP modules
>
> I see, so I cannot build Alkacon modules on their own but I
> also need to
> have the HEAD for core OpenCms, since build.xml is
> referencing the files in
> core OpenCms directory?
>
> Olli
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chirouze Olivier
> Sent: 19 August 2008 09:17
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] How to build Alkacon OAMP modules
>
> Hi Olli,
>
> The error log says that your ant is missing task "if". It is
> included in
> ant-contrib library and thus I think you are not correctly including
> ant-contrib jar file.
>
> Check this line in the build.xml file:
>
> <pathelement
> location="${opencms.input.libs.compile}/ant-contrib-1.0b1.jar"/>
>
> Do you have ant-contrib.jar in your OpenCms\lib\compile directory?
>
> Olivier
>
>
>
> ________________________________
>
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
> Sent: 18 August 2008 16:11
> To: 'The OpenCms mailing list'
> Subject: [opencms-dev] How to build Alkacon OAMP modules
>
>
>
> Hi all,
>
>
>
> Does anyone know how to build comments module from OAMP modules
> source code. I have downloaded all sources to Eclipse and god classes
> working ok, but cannot work out the ant build.
>
>
>
> If I execute build.xml I get the following error:
>
>
>
> build.xml:36: Problem: failed to create task or type if
>
> Cause: The name is undefined.
>
> Action: Check the spelling.
>
> Action: Check that any custom tasks/types have been declared.
>
> Action: Check that any <presetdef>/<macrodef> declarations have
> taken place.
>
>
>
> So, it looks like I need to pass a name in for the module
> somehow?
>
>
>
> Regards,
>
>
>
> Olli
>
>
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080819/8fe69675/attachment.htm>
More information about the opencms-dev
mailing list