[GitHub] cloudstack pull request #1975: Fix build failure on master

2017-02-27 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/1975


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #1975: Fix build failure on master

2017-02-27 Thread rhtyd
Github user rhtyd commented on the issue:

https://github.com/apache/cloudstack/pull/1975
  
LGTM, found the build failure locally today. Introduced in `a2428508`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack issue #1975: Fix build failure on master

2017-02-27 Thread koushik-das
Github user koushik-das commented on the issue:

https://github.com/apache/cloudstack/pull/1975
  
ping @karuturi


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request #1975: Fix build failure on master

2017-02-27 Thread koushik-das
GitHub user koushik-das opened a pull request:

https://github.com/apache/cloudstack/pull/1975

Fix build failure on master



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Accelerite/cloudstack build-failure

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/1975.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1975


commit f843fcb969780e1368a060e26fe229f08a4ec92c
Author: Koushik Das <kous...@apache.org>
Date:   2017-02-28T05:52:30Z

    Fix build failure on master




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: Build Failure on Master

2017-02-13 Thread Tutkowski, Mike
Thanks!

> On Feb 13, 2017, at 2:52 PM, Sergey Levitskiy  
> wrote:
> 
> Thankfully @rhtyd maintains a repo of all dependencies 
> 
>>> 
> @serg38 I've been maintaining the non-oss libs here: 
> https://github.com/rhtyd/cloudstack-nonoss
>You can get the latest v12.1 library that is Java8 compatible from above, 
> it also includes the install-non-oss.sh script, you can simply clone the repo 
> and run it before building/packaging (in Jenkins too), in fact Travis jobs 
> actually do that: 
> https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28
> 
> 
> 
> 
> On 2/13/17, 1:44 PM, "Rafael Weingärtner"  wrote:
> 
>Yes, it is.
> 
>This plugin is not on Maven central repo. You have to install it manually
>on your local maven repo.
> 
>On Mon, Feb 13, 2017 at 4:41 PM, Tutkowski, Mike 
> 
>wrote:
> 
>> Hi,
>> 
>> I may have missed it in recent e-mails, but is this a known issue and, if
>> so, how can I get around it?
>> 
>> [ERROR] Failed to execute goal on project cloud-plugin-network-f5: Could
>> not resolve dependencies for project org.apache.cloudstack:cloud-
>> plugin-network-f5:jar:4.10.0.0-SNAPSHOT: Could not find artifact
>> com.cloud.com.f5:icontrol:jar:12.1 in central (https://repo.maven.apache.
>> org/maven2) -> [Help 1]
>> 
>> Thanks!
>> Mike
>> 
> 
> 
> 
>-- 
>Rafael Weingärtner
> 
> 


Re: Build Failure on Master

2017-02-13 Thread Sergey Levitskiy
Thankfully @rhtyd maintains a repo of all dependencies 

>>
@serg38 I've been maintaining the non-oss libs here: 
https://github.com/rhtyd/cloudstack-nonoss
You can get the latest v12.1 library that is Java8 compatible from above, 
it also includes the install-non-oss.sh script, you can simply clone the repo 
and run it before building/packaging (in Jenkins too), in fact Travis jobs 
actually do that: 
https://github.com/apache/cloudstack/blob/master/tools/travis/install.sh#L28




On 2/13/17, 1:44 PM, "Rafael Weingärtner"  wrote:

Yes, it is.

This plugin is not on Maven central repo. You have to install it manually
on your local maven repo.

On Mon, Feb 13, 2017 at 4:41 PM, Tutkowski, Mike 
wrote:

> Hi,
>
> I may have missed it in recent e-mails, but is this a known issue and, if
> so, how can I get around it?
>
> [ERROR] Failed to execute goal on project cloud-plugin-network-f5: Could
> not resolve dependencies for project org.apache.cloudstack:cloud-
> plugin-network-f5:jar:4.10.0.0-SNAPSHOT: Could not find artifact
> com.cloud.com.f5:icontrol:jar:12.1 in central (https://repo.maven.apache.
> org/maven2) -> [Help 1]
>
> Thanks!
> Mike
>



-- 
Rafael Weingärtner




Re: Build Failure on Master

2017-02-13 Thread Rafael Weingärtner
Yes, it is.

This plugin is not on Maven central repo. You have to install it manually
on your local maven repo.

On Mon, Feb 13, 2017 at 4:41 PM, Tutkowski, Mike 
wrote:

> Hi,
>
> I may have missed it in recent e-mails, but is this a known issue and, if
> so, how can I get around it?
>
> [ERROR] Failed to execute goal on project cloud-plugin-network-f5: Could
> not resolve dependencies for project org.apache.cloudstack:cloud-
> plugin-network-f5:jar:4.10.0.0-SNAPSHOT: Could not find artifact
> com.cloud.com.f5:icontrol:jar:12.1 in central (https://repo.maven.apache.
> org/maven2) -> [Help 1]
>
> Thanks!
> Mike
>



-- 
Rafael Weingärtner


Build Failure on Master

2017-02-13 Thread Tutkowski, Mike
Hi,

I may have missed it in recent e-mails, but is this a known issue and, if so, 
how can I get around it?

[ERROR] Failed to execute goal on project cloud-plugin-network-f5: Could not 
resolve dependencies for project 
org.apache.cloudstack:cloud-plugin-network-f5:jar:4.10.0.0-SNAPSHOT: Could not 
find artifact com.cloud.com.f5:icontrol:jar:12.1 in central 
(https://repo.maven.apache.org/maven2) -> [Help 1]

Thanks!
Mike


Re: Build failure on master (KVM related)

2013-09-17 Thread Marcus Sorensen
I made the last commit, but I know it  wasn't that. My change was a
simple string change, it wouldn't affect compilation. I'm looking at
it to see if I can determine the source.

On Tue, Sep 17, 2013 at 11:41 AM, Mike Tutkowski
mike.tutkow...@solidfire.com wrote:
 Just updated and ran mvn -P developer,systemvm clean install (twice - with
 the same results)

 [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.299s]
 [INFO] Apache CloudStack Plugin - Dedicated Resources  SUCCESS [6.294s]
 [INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS [3.454s]
 [INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS [3.893s]
 [INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS [8.444s]
 [INFO] Apache CloudStack Plugin - Hypervisor KVM . FAILURE [6.461s]

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:41.533s
 [INFO] Finished at: Tue Sep 17 11:40:04 MDT 2013
 [INFO] Final Memory: 38M/101M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on
 project cloud-plugin-hypervisor-kvm: There are test failures.
 [ERROR]
 [ERROR] Please refer to
 /Users/mtutkowski/Documents/CloudStack/src/CloudStack/plugins/hypervisors/kvm/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :cloud-plugin-hypervisor-kvm


 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *™*


Re: Build failure on master (KVM related)

2013-09-17 Thread Marcus Sorensen
See email thread 'Libvirt-java 0.5.0 has been released', it's due to that.

On Tue, Sep 17, 2013 at 11:45 AM, Marcus Sorensen shadow...@gmail.com wrote:
 I made the last commit, but I know it  wasn't that. My change was a
 simple string change, it wouldn't affect compilation. I'm looking at
 it to see if I can determine the source.

 On Tue, Sep 17, 2013 at 11:41 AM, Mike Tutkowski
 mike.tutkow...@solidfire.com wrote:
 Just updated and ran mvn -P developer,systemvm clean install (twice - with
 the same results)

 [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.299s]
 [INFO] Apache CloudStack Plugin - Dedicated Resources  SUCCESS [6.294s]
 [INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS [3.454s]
 [INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS [3.893s]
 [INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS [8.444s]
 [INFO] Apache CloudStack Plugin - Hypervisor KVM . FAILURE [6.461s]

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:41.533s
 [INFO] Finished at: Tue Sep 17 11:40:04 MDT 2013
 [INFO] Final Memory: 38M/101M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on
 project cloud-plugin-hypervisor-kvm: There are test failures.
 [ERROR]
 [ERROR] Please refer to
 /Users/mtutkowski/Documents/CloudStack/src/CloudStack/plugins/hypervisors/kvm/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :cloud-plugin-hypervisor-kvm


 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *™*


Re: Build failure on master (KVM related)

2013-09-17 Thread Mike Tutkowski
Got that e-mail lying around somewhere.

Thanks


On Tue, Sep 17, 2013 at 11:49 AM, Marcus Sorensen shadow...@gmail.comwrote:

 See email thread 'Libvirt-java 0.5.0 has been released', it's due to that.

 On Tue, Sep 17, 2013 at 11:45 AM, Marcus Sorensen shadow...@gmail.com
 wrote:
  I made the last commit, but I know it  wasn't that. My change was a
  simple string change, it wouldn't affect compilation. I'm looking at
  it to see if I can determine the source.
 
  On Tue, Sep 17, 2013 at 11:41 AM, Mike Tutkowski
  mike.tutkow...@solidfire.com wrote:
  Just updated and ran mvn -P developer,systemvm clean install (twice -
 with
  the same results)
 
  [INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS
 [2.299s]
  [INFO] Apache CloudStack Plugin - Dedicated Resources  SUCCESS
 [6.294s]
  [INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS
 [3.454s]
  [INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS
 [3.893s]
  [INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS
 [8.444s]
  [INFO] Apache CloudStack Plugin - Hypervisor KVM . FAILURE
 [6.461s]
 
  [INFO]
  
  [INFO] BUILD FAILURE
  [INFO]
  
  [INFO] Total time: 3:41.533s
  [INFO] Finished at: Tue Sep 17 11:40:04 MDT 2013
  [INFO] Final Memory: 38M/101M
  [INFO]
  
  [ERROR] Failed to execute goal
  org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test)
 on
  project cloud-plugin-hypervisor-kvm: There are test failures.
  [ERROR]
  [ERROR] Please refer to
 
 /Users/mtutkowski/Documents/CloudStack/src/CloudStack/plugins/hypervisors/kvm/target/surefire-reports
  for the individual test results.
  [ERROR] - [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e
  switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions,
  please read the following articles:
  [ERROR] [Help 1]
  http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  [ERROR]
  [ERROR] After correcting the problems, you can resume the build with the
  command
  [ERROR]   mvn goals -rf :cloud-plugin-hypervisor-kvm
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *™*




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*™*


Re: Build failure on master (KVM related)

2013-09-17 Thread Mike Tutkowski
OK, thanks! I can try that.


On Tue, Sep 17, 2013 at 12:34 PM, Wei ZHOU ustcweiz...@gmail.com wrote:

 build successfully after install java-1.7.0-openjdk.x86_64 and
 java-1.7.0-openjdk-devel.x86_64, and set the JAVA_HOME


 2013/9/17 Mike Tutkowski mike.tutkow...@solidfire.com

  Got that e-mail lying around somewhere.
 
  Thanks
 
 
  On Tue, Sep 17, 2013 at 11:49 AM, Marcus Sorensen shadow...@gmail.com
  wrote:
 
   See email thread 'Libvirt-java 0.5.0 has been released', it's due to
  that.
  
   On Tue, Sep 17, 2013 at 11:45 AM, Marcus Sorensen shadow...@gmail.com
 
   wrote:
I made the last commit, but I know it  wasn't that. My change was a
simple string change, it wouldn't affect compilation. I'm looking at
it to see if I can determine the source.
   
On Tue, Sep 17, 2013 at 11:41 AM, Mike Tutkowski
mike.tutkow...@solidfire.com wrote:
Just updated and ran mvn -P developer,systemvm clean install (twice
 -
   with
the same results)
   
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS
   [2.299s]
[INFO] Apache CloudStack Plugin - Dedicated Resources  SUCCESS
   [6.294s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS
   [3.454s]
[INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS
   [3.893s]
[INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS
   [8.444s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM . FAILURE
   [6.461s]
   
[INFO]
   
  
[INFO] BUILD FAILURE
[INFO]
   
  
[INFO] Total time: 3:41.533s
[INFO] Finished at: Tue Sep 17 11:40:04 MDT 2013
[INFO] Final Memory: 38M/101M
[INFO]
   
  
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.14:test
  (default-test)
   on
project cloud-plugin-hypervisor-kvm: There are test failures.
[ERROR]
[ERROR] Please refer to
   
  
 
 /Users/mtutkowski/Documents/CloudStack/src/CloudStack/plugins/hypervisors/kvm/target/surefire-reports
for the individual test results.
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
   the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug
 logging.
[ERROR]
[ERROR] For more information about the errors and possible
 solutions,
please read the following articles:
[ERROR] [Help 1]
   
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
  the
command
[ERROR]   mvn goals -rf :cloud-plugin-hypervisor-kvm
   
   
--
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*™*
  
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the
  cloudhttp://solidfire.com/solution/overview/?video=play
  *™*
 




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*™*


Build failure on master (KVM related)

2013-09-17 Thread Mike Tutkowski
Just updated and ran mvn -P developer,systemvm clean install (twice - with
the same results)

[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [2.299s]
[INFO] Apache CloudStack Plugin - Dedicated Resources  SUCCESS [6.294s]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS [3.454s]
[INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS [3.893s]
[INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS [8.444s]
[INFO] Apache CloudStack Plugin - Hypervisor KVM . FAILURE [6.461s]

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 3:41.533s
[INFO] Finished at: Tue Sep 17 11:40:04 MDT 2013
[INFO] Final Memory: 38M/101M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test) on
project cloud-plugin-hypervisor-kvm: There are test failures.
[ERROR]
[ERROR] Please refer to
/Users/mtutkowski/Documents/CloudStack/src/CloudStack/plugins/hypervisors/kvm/target/surefire-reports
for the individual test results.
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :cloud-plugin-hypervisor-kvm


-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloudhttp://solidfire.com/solution/overview/?video=play
*™*


Re: Build failure on master (KVM related)

2013-09-17 Thread David Nalley
On Tue, Sep 17, 2013 at 4:01 PM, Edison Su edison...@citrix.com wrote:
 We should be cautious to advance java version, as most of our code run/tested 
 on java 6.
 Is it a must to upgrade to Libvirt 0.5.0?



We've discussed this before:

http://cloudstack.markmail.org/thread/ucos7mpgfu5juskb


RE: Build failure on master...anyone know what this is?

2013-07-26 Thread Donal Lafferty
AFAIK, using 'mvn clean install' to build master is deprecated.

See 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch#Howtobuildonmasterbranch-BuildingCloudStack
 for updated instructions.


DL


 -Original Message-
 From: Min Chen [mailto:min.c...@citrix.com]
 Sent: 26 July 2013 5:57 AM
 To: dev@cloudstack.apache.org
 Cc: dev@cloudstack.apache.org
 Subject: Re: Build failure on master...anyone know what this is?
 
 Thanks Prasanna. I only did normal mvn clean install before checking in,
 missed this apidoc failure. Will remember this tip.
 
 -min
 
 Sent from my iPhone
 
 On Jul 25, 2013, at 9:38 PM, Prasanna Santhanam t...@apache.org wrote:
 
  What this is is the table of content mapper on the API documentation
  page you see in the cloudstack docs. Based on the API prefixes we put
  it in the right category. eg: deleteCacheStore, createCacheStore etc
  go under the heading Image Store
 
  The file to change when you introduce a new API is
  'tools/apidoc/gen_toc.py'. Go to the dictionary and add your mapping
  for API - category.
 
  If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
  will fail.
 
  On Fri, Jul 26, 2013 at 02:54:57AM +, Alex Huang wrote:
  [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
  Check, is this api part of another build profile? Null value for key:
  configureSimulator preProcessedCommand=1 Traceback (most recent call
 last):
   File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in
 module
 category = choose_category(fn)
   File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in
 choose_category
 (fn, __file__))
  Exception: Need to add a category for deleteCacheStore.xml to
  /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
 
 
  Thanks.
  --Alex
 
  --
  Prasanna.,
 
  
  Powered by BigRock.com
 


Re: Build failure on master...anyone know what this is?

2013-07-26 Thread Chip Childers
On Fri, Jul 26, 2013 at 10:05:04AM +0530, Prasanna Santhanam wrote:
 Fixed this fd62a22. This _always_ breaks when we add a new API :)

Indeed...  if not _always_, at least very close to _always_.

I wonder if it wouldn't be worth adding some logic that figures out the
categories at build time?

 
 On Thu, Jul 25, 2013 at 08:28:40PM -0700, Sheng Yang wrote:
  Don't know about deleteCacheStore.xml, but seems you need something like
  this:
  
  diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py
  index 6c08d17..33a7e75 100644
  --- a/tools/apidoc/gen_toc.py
  +++ b/tools/apidoc/gen_toc.py
  @@ -152,7 +152,9 @@ known_categories = {
   'PortableIp': 'Portable IP',
   'dedicateHost': 'Dedicate Resources',
   'releaseDedicatedHost': 'Dedicate Resources',
  'Baremetal' : 'Baremetal',
  -'Ucs' : 'UCS'
  +'Ucs' : 'UCS',
  +'CacheStore' : 'Cache Store'
   }
  
  Edison knows more about it.
  
  --Sheng
  
  
  On Thu, Jul 25, 2013 at 7:54 PM, Alex Huang alex.hu...@citrix.com wrote:
  
   [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
   Check, is this api part of another build profile? Null value for key:
   configureSimulator preProcessedCommand=1
   Traceback (most recent call last):
 File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in
   module
   category = choose_category(fn)
 File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in
   choose_category
   (fn, __file__))
   Exception: Need to add a category for deleteCacheStore.xml to
   /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
  
  
   Thanks.
   --Alex
  
 
 -- 
 Prasanna.,
 
 
 Powered by BigRock.com
 
 


Re: Build failure on master...anyone know what this is?

2013-07-26 Thread Daan Hoogland
Donal,

The page (found after following instructions on the page not found page)
says,
mvn clean install -P developer,systemvm

How is this deprecated? Or do you mean that not adding the -P option is?


On Fri, Jul 26, 2013 at 10:51 AM, Donal Lafferty
donal.laffe...@citrix.comwrote:

 AFAIK, using 'mvn clean install' to build master is deprecated.

 See
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch#Howtobuildonmasterbranch-BuildingCloudStackfor
  updated instructions.


 DL


  -Original Message-
  From: Min Chen [mailto:min.c...@citrix.com]
  Sent: 26 July 2013 5:57 AM
  To: dev@cloudstack.apache.org
  Cc: dev@cloudstack.apache.org
  Subject: Re: Build failure on master...anyone know what this is?
 
  Thanks Prasanna. I only did normal mvn clean install before checking in,
  missed this apidoc failure. Will remember this tip.
 
  -min
 
  Sent from my iPhone
 
  On Jul 25, 2013, at 9:38 PM, Prasanna Santhanam t...@apache.org
 wrote:
 
   What this is is the table of content mapper on the API documentation
   page you see in the cloudstack docs. Based on the API prefixes we put
   it in the right category. eg: deleteCacheStore, createCacheStore etc
   go under the heading Image Store
  
   The file to change when you introduce a new API is
   'tools/apidoc/gen_toc.py'. Go to the dictionary and add your mapping
   for API - category.
  
   If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
   will fail.
  
   On Fri, Jul 26, 2013 at 02:54:57AM +, Alex Huang wrote:
   [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
   Check, is this api part of another build profile? Null value for key:
   configureSimulator preProcessedCommand=1 Traceback (most recent call
  last):
File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in
  module
  category = choose_category(fn)
File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in
  choose_category
  (fn, __file__))
   Exception: Need to add a category for deleteCacheStore.xml to
   /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
  
  
   Thanks.
   --Alex
  
   --
   Prasanna.,
  
   
   Powered by BigRock.com
  



RE: Build failure on master...anyone know what this is?

2013-07-26 Thread Donal Lafferty
 Copy paste error.  Meant this link:  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack#HowtobuildCloudStack-BuildingCloudStack

It used to be enough to use 'mvn clean install', and you see these instructions 
on older pages.  E.g. Maven procedure developed for Cloudstack 4.1.0 and 
later under http://cloudstack.apache.org/develop/environment.html

DL

PS.  AFAIK, I don't have the rights to update the above link.

 -Original Message-
 From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
 Sent: 26 July 2013 2:52 PM
 To: dev
 Subject: Re: Build failure on master...anyone know what this is?
 
 Donal,
 
 The page (found after following instructions on the page not found page)
 says, mvn clean install -P developer,systemvm
 
 How is this deprecated? Or do you mean that not adding the -P option is?
 
 
 On Fri, Jul 26, 2013 at 10:51 AM, Donal Lafferty
 donal.laffe...@citrix.comwrote:
 
  AFAIK, using 'mvn clean install' to build master is deprecated.
 
  See
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+o
 n+master+branch#Howtobuildonmasterbranch-BuildingCloudStackfor
 updated instructions.
 
 
  DL
 
 
   -Original Message-
   From: Min Chen [mailto:min.c...@citrix.com]
   Sent: 26 July 2013 5:57 AM
   To: dev@cloudstack.apache.org
   Cc: dev@cloudstack.apache.org
   Subject: Re: Build failure on master...anyone know what this is?
  
   Thanks Prasanna. I only did normal mvn clean install before checking
   in, missed this apidoc failure. Will remember this tip.
  
   -min
  
   Sent from my iPhone
  
   On Jul 25, 2013, at 9:38 PM, Prasanna Santhanam t...@apache.org
  wrote:
  
What this is is the table of content mapper on the API
documentation page you see in the cloudstack docs. Based on the
API prefixes we put it in the right category. eg:
deleteCacheStore, createCacheStore etc go under the heading Image
 Store
   
The file to change when you introduce a new API is
'tools/apidoc/gen_toc.py'. Go to the dictionary and add your
mapping for API - category.
   
If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
will fail.
   
On Fri, Jul 26, 2013 at 02:54:57AM +, Alex Huang wrote:
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc
--- Check, is this api part of another build profile? Null value for 
key:
configureSimulator preProcessedCommand=1 Traceback (most recent
call
   last):
 File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189,
in
   module
   category = choose_category(fn)  File
/cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in
   choose_category
   (fn, __file__))
Exception: Need to add a category for deleteCacheStore.xml to
/cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
   
   
Thanks.
--Alex
   
--
Prasanna.,
   

Powered by BigRock.com
   
 


Re: Build failure on master...anyone know what this is?

2013-07-26 Thread Chip Childers
On Fri, Jul 26, 2013 at 10:28 AM, Donal Lafferty
donal.laffe...@citrix.comwrote:

  Copy paste error.  Meant this link:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack#HowtobuildCloudStack-BuildingCloudStack

 It used to be enough to use 'mvn clean install', and you see these
 instructions on older pages.  E.g. Maven procedure developed for
 Cloudstack 4.1.0 and later under
 http://cloudstack.apache.org/develop/environment.html

 DL

 PS.  AFAIK, I don't have the rights to update the above link.


Patches welcome though!

The content is in svn here:
https://svn.apache.org/repos/asf/cloudstack/site/trunk

Send patch suggestions for the website to market...@cloudstack.apache.org


RE: Build failure on master...anyone know what this is?

2013-07-26 Thread Alex Huang
+1

Our *Cmd.java files are basically a DSL written in Java.  As such anything 
required to generate the doc should reside with Cmd.java files.

--Alex

 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: Friday, July 26, 2013 6:01 AM
 To: dev@cloudstack.apache.org
 Subject: Re: Build failure on master...anyone know what this is?
 
 On Fri, Jul 26, 2013 at 10:05:04AM +0530, Prasanna Santhanam wrote:
  Fixed this fd62a22. This _always_ breaks when we add a new API :)
 
 Indeed...  if not _always_, at least very close to _always_.
 
 I wonder if it wouldn't be worth adding some logic that figures out the
 categories at build time?
 
 
  On Thu, Jul 25, 2013 at 08:28:40PM -0700, Sheng Yang wrote:
   Don't know about deleteCacheStore.xml, but seems you need something
   like
   this:
  
   diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py index
   6c08d17..33a7e75 100644
   --- a/tools/apidoc/gen_toc.py
   +++ b/tools/apidoc/gen_toc.py
   @@ -152,7 +152,9 @@ known_categories = {
'PortableIp': 'Portable IP',
'dedicateHost': 'Dedicate Resources',
'releaseDedicatedHost': 'Dedicate Resources',
   'Baremetal' : 'Baremetal',
   -'Ucs' : 'UCS'
   +'Ucs' : 'UCS',
   +'CacheStore' : 'Cache Store'
}
  
   Edison knows more about it.
  
   --Sheng
  
  
   On Thu, Jul 25, 2013 at 7:54 PM, Alex Huang alex.hu...@citrix.com
 wrote:
  
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc
--- Check, is this api part of another build profile? Null value for 
key:
configureSimulator preProcessedCommand=1 Traceback (most recent
call last):
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189,
in module
category = choose_category(fn)
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169,
in choose_category
(fn, __file__))
Exception: Need to add a category for deleteCacheStore.xml to
/cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
   
   
Thanks.
--Alex
   
 
  --
  Prasanna.,
 
  
  Powered by BigRock.com
 
 


Build failure on master...anyone know what this is?

2013-07-25 Thread Alex Huang
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
Check, is this api part of another build profile? Null value for key: 
configureSimulator preProcessedCommand=1
Traceback (most recent call last):
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in module
category = choose_category(fn)
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in 
choose_category
(fn, __file__))
Exception: Need to add a category for deleteCacheStore.xml to 
/cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories


Thanks.
--Alex


Re: Build failure on master...anyone know what this is?

2013-07-25 Thread Prasanna Santhanam
Fixed this fd62a22. This _always_ breaks when we add a new API :)

On Thu, Jul 25, 2013 at 08:28:40PM -0700, Sheng Yang wrote:
 Don't know about deleteCacheStore.xml, but seems you need something like
 this:
 
 diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py
 index 6c08d17..33a7e75 100644
 --- a/tools/apidoc/gen_toc.py
 +++ b/tools/apidoc/gen_toc.py
 @@ -152,7 +152,9 @@ known_categories = {
  'PortableIp': 'Portable IP',
  'dedicateHost': 'Dedicate Resources',
  'releaseDedicatedHost': 'Dedicate Resources',
 'Baremetal' : 'Baremetal',
 -'Ucs' : 'UCS'
 +'Ucs' : 'UCS',
 +'CacheStore' : 'Cache Store'
  }
 
 Edison knows more about it.
 
 --Sheng
 
 
 On Thu, Jul 25, 2013 at 7:54 PM, Alex Huang alex.hu...@citrix.com wrote:
 
  [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
  Check, is this api part of another build profile? Null value for key:
  configureSimulator preProcessedCommand=1
  Traceback (most recent call last):
File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in
  module
  category = choose_category(fn)
File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in
  choose_category
  (fn, __file__))
  Exception: Need to add a category for deleteCacheStore.xml to
  /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
 
 
  Thanks.
  --Alex
 

-- 
Prasanna.,


Powered by BigRock.com



Re: Build failure on master...anyone know what this is?

2013-07-25 Thread Prasanna Santhanam
What this is is the table of content mapper on the API documentation
page you see in the cloudstack docs. Based on the API prefixes we put
it in the right category. eg: deleteCacheStore, createCacheStore etc
go under the heading Image Store

The file to change when you introduce a new API is
'tools/apidoc/gen_toc.py'. Go to the dictionary and add your mapping
for API - category.

If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
will fail.

On Fri, Jul 26, 2013 at 02:54:57AM +, Alex Huang wrote:
 [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
 Check, is this api part of another build profile? Null value for key: 
 configureSimulator preProcessedCommand=1
 Traceback (most recent call last):
   File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in module
 category = choose_category(fn)
   File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in 
 choose_category
 (fn, __file__))
 Exception: Need to add a category for deleteCacheStore.xml to 
 /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
 
 
 Thanks.
 --Alex

-- 
Prasanna.,


Powered by BigRock.com



Re: Build failure on master...anyone know what this is?

2013-07-25 Thread Min Chen
Thanks Prasanna. I only did normal mvn clean install before checking in, missed 
this apidoc failure. Will remember this tip.

-min

Sent from my iPhone

On Jul 25, 2013, at 9:38 PM, Prasanna Santhanam t...@apache.org wrote:

 What this is is the table of content mapper on the API documentation
 page you see in the cloudstack docs. Based on the API prefixes we put
 it in the right category. eg: deleteCacheStore, createCacheStore etc
 go under the heading Image Store
 
 The file to change when you introduce a new API is
 'tools/apidoc/gen_toc.py'. Go to the dictionary and add your mapping
 for API - category.
 
 If you don't the 'mvn -Pdeveloper -pl :cloud-apidoc clean install'
 will fail.
 
 On Fri, Jul 26, 2013 at 02:54:57AM +, Alex Huang wrote:
 [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
 Check, is this api part of another build profile? Null value for key: 
 configureSimulator preProcessedCommand=1
 Traceback (most recent call last):
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 189, in module
category = choose_category(fn)
  File /cyg/d/src/acs/master/tools/apidoc/gen_toc.py, line 169, in 
 choose_category
(fn, __file__))
 Exception: Need to add a category for deleteCacheStore.xml to 
 /cyg/d/src/acs/master/tools/apidoc/gen_toc.py:known_categories
 
 
 Thanks.
 --Alex
 
 -- 
 Prasanna.,
 
 
 Powered by BigRock.com