[opencms-dev] How to build Alkacon OAMP modules

Chirouze Olivier olivier.chirouze at volvo.com
Tue Aug 19 10:17:23 CEST 2008


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

	 

	 

	 



More information about the opencms-dev mailing list