You list the jars you have in deps/, you are lacking some.
Below is a list of the jars I see after running "mvn -P deps" for 4.0.1.
If you look at the actions "mvn -P deps" runs the final one is copying
in jars into deps/*. You should see;
[INFO] Apache CloudStack Dependencies .................... SUCCESS
[0.990s]
The error you listed last may be related to missing ant components.
On RHES, do a;
yum install ant*
to bring in all modules.
Ove
[root@oel63-cs4-build-a deps]# ls
activation-1.1.jar commons-codec-1.6.jar
jcl-over-slf4j-1.6.1.jar servlet-api-2.3.jar
addressing-1.5.mar commons-collections-3.2.1.jar
jetty-6.1.26.jar servlet-api-2.5-20081211.jar
annogen-0.1.0.jar commons-configuration-1.8.jar
jetty-util-6.1.26.jar slf4j-api-1.5.11.jar
ant-1.7.0.jar commons-dbcp-1.4.jar
jmdns-2.1.jar slf4j-jdk14-1.5.11.jar
ant-launcher-1.7.0.jar commons-discovery-0.5.jar
joda-time-1.5.2.jar stringtemplate-3.2.1.jar
antlr-2.7.7.jar commons-fileupload-1.2.jar
jsch-0.1.42.jar target
antlr-runtime-3.4.jar commons-httpclient-3.1.jar
json-simple-1.1.jar
trilead-ssh2-build213-svnkit-1.3-patch.jar
apache-log4j-extras-1.1.jar commons-io-1.4.jar
jsr107cache-1.0.jar velocity-1.5.jar
awsapi-lib commons-lang-2.1.jar
jstl-1.2.jar woden-api-1.0M8.jar
axiom-api-1.2.8.jar commons-logging-1.1.1.jar
jul-to-slf4j-1.6.1.jar woden-impl-dom-1.0M8.jar
axiom-dom-1.2.7.jar commons-pool-1.6.jar
junit-4.10.jar ws-commons-util-1.0.2.jar
axiom-impl-1.2.8.jar dom4j-1.6.1.jar
libvirt-0.4.9.jar wsdl4j-1.6.2.jar
axis-1.4.jar ehcache-1.5.0.jar
log4j-1.2.16.jar wss4j-1.5.8.jar
axis2-1.5.1.jar ejb-api-3.0.jar
log4j-over-slf4j-1.6.1.jar wstx-asl-3.2.4.jar
axis2-adb-1.4.1.jar esapi-2.0GA.jar
mail-1.4.jar xalan-2.7.0.jar
axis2-adb-codegen-1.4.1.jar geronimo-activation_1.1_spec-1.0.1.jar
mex-1.5.1-impl.jar xapi-5.6.100-1-SNAPSHOT.jar
axis2-ant-plugin-1.4.1.jar geronimo-javamail_1.4_spec-1.2.jar
mysql-connector-java-5.1.21.jar XenServerJava
axis2-codegen-1.4.1.jar geronimo-jms_1.1_spec-1.1.jar
neethi-2.0.4.jar xercesImpl-2.8.1.jar
axis2-java2wsdl-1.4.1.jar geronimo-stax-api_1.0_spec-1.0.1.jar
not-yet-commons-ssl-0.3.9.jar xml-apis-1.3.04.jar
axis2-kernel-1.4.1.jar gson-1.7.1.jar
opensaml-1.1.jar xmlParserAPIs-2.6.0.jar
axis2-mtompolicy-1.5.1.jar hamcrest-core-1.1.jar
opensaml-2.5.1-1.jar xml-resolver-1.2.jar
axis2-webapp-1.5.1.war httpcore-4.0.jar
openws-1.4.1.jar xmlrpc-client-3.1.3.jar
axis-jaxrpc-1.4.jar httpcore-nio-4.0-beta1.jar
oro-2.0.8.jar xmlrpc-common-3.1.3.jar
backport-util-concurrent-3.1.jar install-non-oss.sh
pom.xml XmlSchema-1.4.2.jar
bcprov-jdk14-140.jar jasypt-1.9.0.jar
rahas-1.5.mar xmlsec-1.4.2.jar
bcprov-jdk15-1.45.jar javassist-3.9.0.GA.jar
rampart-1.5.mar xmltooling-1.3.1.jar
bcprov-jdk16-1.45.jar javax.persistence-2.0.0.jar
rampart-core-1.5.jar xpp3_min-1.1.4c.jar
CAStorSDK-1.3.1-CS40.jar jaxen-1.1.1.jar
rampart-policy-1.5.jar xstream-1.3.1.jar
cglib-nodep-2.2.2.jar jcip-annotations-1.0.jar
rampart-trust-1.5.jar
[root@oel63-cs4-build-a deps]#
On 01/17/2013 05:10 PM, Paul Angus wrote:
I've a bit more information:
------------------------------
compile-utils:
[mkdir] Created dir:
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/target/classes/cloud-utils.jar
BUILD FAILED
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/build/build-cloud.xml:180:
The following error occurred while executing this line:
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/build/build-common.xml:62:
Problem: failed to create task or type depend
Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not
found.
This looks like one of Ant's optional components.
---------------------------------
"org.apache.tools.ant.taskdefs.optional.depend.Depend" seems an odd name, is it
a bug or does someone know which jar is missing that contains it?
Thanks in advance,
Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com
-----Original Message-----
From: Paul Angus [mailto:paul.an...@shapeblue.com]
Sent: 17 January 2013 11:07
To: cloudstack-dev@incubator.apache.org
Subject: RE: creating rpms from source [build failed]
Hi Wido,
Yes, I ran 'mvn -P deps' first, the jars I have in /deps are:
cloud-iControl.jar
manageontap.jar
cloud-netscaler-sdx.jar
cloud-netscaler.jar
apputils.jar
vim.jar
vim25.jar
is there an additional AWS/axis2 jar required somewhere?
Thanks,
Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com
-----Original Message-----
From: Wido den Hollander [mailto:w...@widodh.nl]
Sent: 17 January 2013 10:57
To: cloudstack-dev@incubator.apache.org
Subject: Re: creating rpms from source [build failed]
Hi,
On 01/17/2013 10:33 AM, Paul Angus wrote:
Hi all (again),
I’m almost there (386/387!)
[386/387] copy: usage/conf/usage-components.xml.in ->
artifacts/default/usage/conf/usage-components.xml
[echo] Using build parameters from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/build-cloud.properties
[echo] Using company info from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/cloud.properties
[echo] Using override file from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/replace.properties
[echo] Using build parameters from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/build-cloud.properties
[echo] Using company info from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/cloud.properties
[echo] Using override file from
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/b
uild/replace.properties
BUILD FAILED
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/build.xml:48:
The following error occurred while executing this line:
/usr/local/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud-4.0.0/build/build-aws-api.xml:34:
taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
Is there a jar missing in /deps ?
Yes, it seems that way. Have you run this one: mvn -P deps
That should be run prior to building.
Wido
Thanks
Paul Angus
*Senior Consultant / Cloud Architect*
S: +44 20 3603 0540 <tel:+442036030540> | M: +4
<tel:+447968161581>47711418784
paul.an...@shapeblue.com <mailto:geoff.higginbot...@shapeblue.com> |
www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
**
*Visit us on stand 291 at Cloud Expo Europe*
<http://www.cloudexpoeurope.com/>
ShapeBlue provides a range of strategic and technical consulting and
implementation services to help IT Service Providers and Enterprises
to build a true IaaS compute cloud. ShapeBlue’s expertise, combined
with CloudStack technology, allows IT Service Providers and
Enterprises to deliver true, utility based, IaaS to the customer or end-user.
----------------------------------------------------------------------
--
This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Shape Blue Ltd. If you are not the
intended recipient of this email, you must neither take any action
based upon its contents, nor copy or show it to anyone. Please contact
the sender if you believe you have received this email in error. Shape
Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and
implementation services to help IT Service Providers and Enterprises to build a
true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack
technology, allows IT Service Providers and Enterprises to deliver true,
utility based, IaaS to the customer or end-user.
________________________________
This email and any attachments to it may be confidential and are intended solely
for the use of the individual to whom it is addressed. Any views or opinions
expressed are solely those of the author and do not necessarily represent those of
Shape Blue Ltd. If you are not the intended recipient of this email, you must
neither take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in error.
Shape Blue Ltd is a company incorporated in England & Wales.
ShapeBlue provides a range of strategic and technical consulting and
implementation services to help IT Service Providers and Enterprises to build a
true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack
technology, allows IT Service Providers and Enterprises to deliver true,
utility based, IaaS to the customer or end-user.
________________________________
This email and any attachments to it may be confidential and are intended solely
for the use of the individual to whom it is addressed. Any views or opinions
expressed are solely those of the author and do not necessarily represent those of
Shape Blue Ltd. If you are not the intended recipient of this email, you must
neither take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in error.
Shape Blue Ltd is a company incorporated in England & Wales.
--
Ove Everlid
System Administrator / Architect / SDN & Linux hacker
Mobile: +46706662363
Office: +4618656913 (note EMEA Time Zone)