Page 1 of 1

Enable to deploy Demo Application on local system

Posted: Fri Jul 20, 2012 6:35 am
by ved1986
Could someone why am I getting this error and how to resolve it?

Thanks.



[root@ved src]# ant deploy-exploded-war
Buildfile: build.xml
[echo] basedir: /home/ved/BroadleafCommerce-1.5.0-RC1-with-dependencies/src
[echo] releaseParentDir: /home/ved/BroadleafCommerce-1.5.0-RC1-with-dependencies
[typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.

BUILD FAILED
/home/ved/BroadleafCommerce-1.5.0-RC1-with-dependencies/src/build.xml:13: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:pom
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.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument

Total time: 0 seconds

Re: Enable to deploy Demo Application on local system

Posted: Thu Jul 26, 2012 9:21 am
by aazzolini
Broadleaf 1.5.0 RC1 is quite old.

Try following the instructions here: http://wiki.broadleafcommerce.org/confl ... ng+Started

Or, if you don't mind waiting a little longer (hopefully later today), you'll be able to start on Broadleaf 2.0, which is a substantial upgrade.

Thanks.