I think you can try this: cd deps/ ./install-non-oss.sh cd .. mvn exec:java --projects plugins/hypervisors/kvm -Dexec.mainClass=com.cloud.agent.AgentShell
Thanks, Pradeep.S -----Original Message----- From: Satoshi Kobayashi [mailto:satosh...@stratosphere.co.jp] Sent: Friday, September 28, 2012 7:45 AM To: Pradeep Soundararajan Cc: cloudstack-dev@incubator.apache.org Subject: Re: Review Request: Add the dependence library (JNA) for maven exec:java goal Hi Pradeep 2012/9/28 Pradeep Soundararajan <pradeep.soundarara...@citrix.com>: > Please let me know what exception has been raised. I have remembered that it was probably ClassNotFoundException of com.sun.jna package (Callback class?). I do not have environment to replay at right now. I make and check it later. > I think we have to add the plugin "exec-maven-plugin" in our pom files to > execute exec:java related. Otherwise, it will throw some warnings during the > execution. I think that a POM configuration is required in order to omit arguments at a command line. A exception did not be raised in my environment. But, I think that a POM configuration is kinder. Since I looked at it in another patch, I did not include it in this patch. > Thanks, > Pradeep.S > > -----Original Message----- > From: Satoshi Kobayashi [mailto:nore...@reviews.apache.org] On Behalf > Of Satoshi Kobayashi > Sent: Thursday, September 06, 2012 8:52 AM > To: cloudstack; Satoshi Kobayashi > Subject: Review Request: Add the dependence library (JNA) for maven > exec:java goal > > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6937/ > ----------------------------------------------------------- > > Review request for cloudstack. > > > Description > ------- > > Add the dependence library (JNA) for maven exec:java goal > > It is required to run on development environment for KVM Agent > > > Diffs > ----- > > plugins/hypervisors/kvm/pom.xml > 8cdaa8681571b5070bfc501014df91c9986479e3 > > Diff: https://reviews.apache.org/r/6937/diff/ > > > Testing > ------- > > 1) mvn compile -Dnonoss > 2) prepare agent.properties > 3) mvn exec:java -pl plugins/hypervisors/kvm \ > -Dexec.mainClass=com.cloud.agent.AgentShell \ > -Dnonoss > result: An exception does not be raised. > > > Thanks, > > Satoshi Kobayashi >