[opencms-dev] How to build Alkacon OAMP modules

Chirouze Olivier olivier.chirouze at volvo.com
Tue Aug 19 11:35:42 CEST 2008


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
> 



More information about the opencms-dev mailing list