Refer:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+development+environment+on+Mac+OS+X

Looking at your file paths, looks like a Mac OSX; Install brew (most painless 
package manager for OSX):
ruby -e "$(curl -fsSkL 
raw.github.com/mxcl/homebrew/go<http://raw.github.com/mxcl/homebrew/go>)"
brew doctor

Install cdrtools: (no need to su root, this will take some time)
brew install cdrtools

Regards.

On 23-Oct-2012, at 1:00 AM, Charles Moulliard 
<[email protected]<mailto:[email protected]>> wrote:

I use maven 3 and this command mvn -P deps install does not help a lot as
we have a new error :

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49.615s
[INFO] Finished at: Mon Oct 22 21:28:22 CEST 2012
[INFO] Final Memory: 19M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project
cloud-console-proxy: Command execution failed. Cannot run program "mkisofs"
(in directory
"/Users/chmoulli/Apache/incubator-cloudstack/console-proxy/dist"): error=2,
No such file or directory -> [Help 1]
[ERROR]

On Mon, Oct 22, 2012 at 8:25 PM, Chiradeep Vittal <
[email protected]<mailto:[email protected]>> wrote:

I think the latest (master) instructions are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven


Maven 3 is required.

On 10/22/12 8:20 AM, "Charles Moulliard" <[email protected]> wrote:

Hi,

I try to build the project as explained here
http://incubator.apache.org/cloudstack/develop/environment.html but get
two
errors

1) Maven build

mvn -P deps

INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack AWS API Bridge
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in
mojo:
'process' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Unable to get dependency information: Unable to read the
metadata file for artifact 'org.apache.rampart:rahas:mar': Cannot find
parent: org.apache:apache for project:
org.apache.rampart:rampart-project:pom:1.5.1 for project
org.apache.rampart:rampart-project:pom:1.5.1
org.apache.rampart:rahas:mar:1.5.1

from the specified remote repositories:
apache.snapshots (http://repository.apache.org/snapshots),
central (http://repo1.maven.org/maven2)

Path to dependency:
1) org.apache.cloudstack:cloud-awsapi:war:4.1.0-SNAPSHOT

Not a v4.0.0 POM. for project org.apache:apache at
/home/cmoulliard/.m2/repository/org/apache/apache/8/apache-8.pom


2) Ant

ant clean-all build-all

BUILD FAILED
/home/cmoulliard/MyRepositories/incubator-cloudstack/build.xml:48: The
following error occurred while executing this line:
/home/cmoulliard/MyRepositories/incubator-cloudstack/build/build-aws-api.x
ml:34:
taskdef class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
using the classloader AntClassLoader[]


Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com




--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to