[jira] [Updated] (DELTASPIKE-588) Repositories from Data module should be deactivatable

2014-05-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Kildén updated DELTASPIKE-588:
---

Description: 
Unit testing with Test-Control is great. However since you don't control the 
actual implementation of the Repositories from data-module they are to hard to 
mock away.

Either provide a built in project stage for this purpose - 
ProjectStage.MockFriendlyUnitTest or make it Deactivatable like other 
components are.

The end user would benefit a lot from being able to mock away repositories in 
certain unit tests.  

  was:
Unit testing with Test-Control is great. However since you don't control the 
actual implementation of our Repositories from data-module they are to hard to 
mock away.

Either provide a built in project stage for this purpose - 
ProjectStage.MockFriendlyUnitTest or make it Deactivatable like other 
components are.

The end user would benefit a lot from being able to mock away repositories in 
certain unit tests.  


 Repositories from Data module should be deactivatable
 -

 Key: DELTASPIKE-588
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-588
 Project: DeltaSpike
  Issue Type: Improvement
  Components: Data-Module
Reporter: Karl Kildén
Priority: Minor

 Unit testing with Test-Control is great. However since you don't control the 
 actual implementation of the Repositories from data-module they are to hard 
 to mock away.
 Either provide a built in project stage for this purpose - 
 ProjectStage.MockFriendlyUnitTest or make it Deactivatable like other 
 components are.
 The end user would benefit a lot from being able to mock away repositories in 
 certain unit tests.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Gerhard Petracek
the dist was only generated locally.

@john:
i planned to create a ticket for you after the release.

@rafael:
-Pdistribution was used

however, it isn't a blocker.

regards,
gerhard



2014-04-30 23:27 GMT+02:00 Rafael Benevides benevi...@redhat.com:

 maybe mvn release:perform also needs to have distribution profile activate
 also: mvn release:perform -Pdistribution

 Unfortunately I can't test it because of https://repository.apache.orgrights

 Em 30/04/14 18:19, Rafael Benevides escreveu:

  I just realized that too

 Em 30/04/14 18:04, John D. Ament escreveu:

 Hmm looks like dist still isn't included..


 On Wed, Apr 30, 2014 at 4:22 PM, Gerhard Petracek gpetra...@apache.org
 wrote:

  Hi,

 I was running the needed tasks to get the 7th release of Apache
 DeltaSpike
 out.
 The artifacts are deployed to Nexus [1] (and [2]).

 The tag is available at [3] and will get pushed to the ASF repository
 once
 the vote passed.

 Please take a look at the 0.7 artifacts and vote!

 Please note:
 This vote is majority approval with a minimum of three +1 votes (see
 [4]).

 
 [ ] +1 for community members who have reviewed the bits
 [ ] +0
 [ ] -1 for fatal flaws that should cause these bits not to be released,
 and
 why..
 

 Thanks,
 Gerhard

 [1]

 https://repository.apache.org/content/repositories/
 orgapachedeltaspike-1003/
 [2]

 https://repository.apache.org/content/repositories/
 orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-
 project/0.7/deltaspike-project-0.7-source-release.zip
 [3] https://github.com/os890/deltaspike-vote/tree/
 deltaspike-project-0.7
 [4] http://www.apache.org/foundation/voting.html#ReleaseVotes






[jira] [Commented] (DELTASPIKE-582) BeanProvider produces 2 instances of the object java se

2014-05-01 Thread Barbier (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986548#comment-13986548
 ] 

Barbier commented on DELTASPIKE-582:


Ok, I've tried to re-design my application in order to to have it 
compliant to your comment but this is not working. @Inject with 
@ApplicationScopped and without beanProvider does not provide my app 
with objects instances.
Furthermore, I re-read the meaning and definitions of the annotations 
used in CDI and it is said that @ApplicationScopped is only a web scope 
and not a desktop app scope.
Maybe have I to use only classes and not annotations to be able to use 
CDI in my app but in this case it sounds more logical to use a factory 
or something like that.
I wanted to use CDI to avoid the factory.


 BeanProvider produces 2 instances of the object java se
 ---

 Key: DELTASPIKE-582
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-582
 Project: DeltaSpike
  Issue Type: Bug
  Components: CdiControl
Affects Versions: 0.6
 Environment: linux ubunutu, eclipse kepler, maven config, open web 
 beans
Reporter: Barbier
 Attachments: office.data.zip, office.service.zip, 
 office.ui.fx.debug.zip, office.ui.fx.zip


 the injection process with the following code produces 2 instances of the 
 object
 LoginModel model = BeanProvider.getContextualReference( ILoginModel.class );



--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Thomas Andraschko
+1


2014-05-01 11:30 GMT+02:00 Gerhard Petracek gerhard.petra...@gmail.com:

 the dist was only generated locally.

 @john:
 i planned to create a ticket for you after the release.

 @rafael:
 -Pdistribution was used

 however, it isn't a blocker.

 regards,
 gerhard



 2014-04-30 23:27 GMT+02:00 Rafael Benevides benevi...@redhat.com:

  maybe mvn release:perform also needs to have distribution profile
 activate
  also: mvn release:perform -Pdistribution
 
  Unfortunately I can't test it because of
 https://repository.apache.orgrights
 
  Em 30/04/14 18:19, Rafael Benevides escreveu:
 
   I just realized that too
 
  Em 30/04/14 18:04, John D. Ament escreveu:
 
  Hmm looks like dist still isn't included..
 
 
  On Wed, Apr 30, 2014 at 4:22 PM, Gerhard Petracek 
 gpetra...@apache.org
  wrote:
 
   Hi,
 
  I was running the needed tasks to get the 7th release of Apache
  DeltaSpike
  out.
  The artifacts are deployed to Nexus [1] (and [2]).
 
  The tag is available at [3] and will get pushed to the ASF repository
  once
  the vote passed.
 
  Please take a look at the 0.7 artifacts and vote!
 
  Please note:
  This vote is majority approval with a minimum of three +1 votes (see
  [4]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be
 released,
  and
  why..
  
 
  Thanks,
  Gerhard
 
  [1]
 
  https://repository.apache.org/content/repositories/
  orgapachedeltaspike-1003/
  [2]
 
  https://repository.apache.org/content/repositories/
  orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-
  project/0.7/deltaspike-project-0.7-source-release.zip
  [3] https://github.com/os890/deltaspike-vote/tree/
  deltaspike-project-0.7
  [4] http://www.apache.org/foundation/voting.html#ReleaseVotes
 
 
 
 



Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Romain Manni-Bucau
+1


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-01 15:20 GMT+02:00 Thomas Andraschko andraschko.tho...@gmail.com:
 +1


 2014-05-01 11:30 GMT+02:00 Gerhard Petracek gerhard.petra...@gmail.com:

 the dist was only generated locally.

 @john:
 i planned to create a ticket for you after the release.

 @rafael:
 -Pdistribution was used

 however, it isn't a blocker.

 regards,
 gerhard



 2014-04-30 23:27 GMT+02:00 Rafael Benevides benevi...@redhat.com:

  maybe mvn release:perform also needs to have distribution profile
 activate
  also: mvn release:perform -Pdistribution
 
  Unfortunately I can't test it because of
 https://repository.apache.orgrights
 
  Em 30/04/14 18:19, Rafael Benevides escreveu:
 
   I just realized that too
 
  Em 30/04/14 18:04, John D. Ament escreveu:
 
  Hmm looks like dist still isn't included..
 
 
  On Wed, Apr 30, 2014 at 4:22 PM, Gerhard Petracek 
 gpetra...@apache.org
  wrote:
 
   Hi,
 
  I was running the needed tasks to get the 7th release of Apache
  DeltaSpike
  out.
  The artifacts are deployed to Nexus [1] (and [2]).
 
  The tag is available at [3] and will get pushed to the ASF repository
  once
  the vote passed.
 
  Please take a look at the 0.7 artifacts and vote!
 
  Please note:
  This vote is majority approval with a minimum of three +1 votes (see
  [4]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be
 released,
  and
  why..
  
 
  Thanks,
  Gerhard
 
  [1]
 
  https://repository.apache.org/content/repositories/
  orgapachedeltaspike-1003/
  [2]
 
  https://repository.apache.org/content/repositories/
  orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-
  project/0.7/deltaspike-project-0.7-source-release.zip
  [3] https://github.com/os890/deltaspike-vote/tree/
  deltaspike-project-0.7
  [4] http://www.apache.org/foundation/voting.html#ReleaseVotes
 
 
 
 



Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Cody Lerum
+1

builds and tests weld and owb fine on win 8.1 x64 7u51

On Wed, Apr 30, 2014 at 2:22 PM, Gerhard Petracek gpetra...@apache.org wrote:
 Hi,

 I was running the needed tasks to get the 7th release of Apache DeltaSpike
 out.
 The artifacts are deployed to Nexus [1] (and [2]).

 The tag is available at [3] and will get pushed to the ASF repository once
 the vote passed.

 Please take a look at the 0.7 artifacts and vote!

 Please note:
 This vote is majority approval with a minimum of three +1 votes (see [4]).

 
 [ ] +1 for community members who have reviewed the bits
 [ ] +0
 [ ] -1 for fatal flaws that should cause these bits not to be released, and
 why..
 

 Thanks,
 Gerhard

 [1]
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/
 [2]
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-project/0.7/deltaspike-project-0.7-source-release.zip
 [3] https://github.com/os890/deltaspike-vote/tree/deltaspike-project-0.7
 [4] http://www.apache.org/foundation/voting.html#ReleaseVotes


Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Mark Struberg
+1

LieGrue,
strub





 On Thursday, 1 May 2014, 17:12, Cody Lerum cody.le...@gmail.com wrote:
  +1
 
 builds and tests weld and owb fine on win 8.1 x64 7u51
 
 
 On Wed, Apr 30, 2014 at 2:22 PM, Gerhard Petracek gpetra...@apache.org 
 wrote:
  Hi,
 
  I was running the needed tasks to get the 7th release of Apache DeltaSpike
  out.
  The artifacts are deployed to Nexus [1] (and [2]).
 
  The tag is available at [3] and will get pushed to the ASF repository once
  the vote passed.
 
  Please take a look at the 0.7 artifacts and vote!
 
  Please note:
  This vote is majority approval with a minimum of three +1 votes 
 (see [4]).
 
  
  [ ] +1 for community members who have reviewed the bits
  [ ] +0
  [ ] -1 for fatal flaws that should cause these bits not to be released, and
  why..
  
 
  Thanks,
  Gerhard
 
  [1]
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/
  [2]
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-project/0.7/deltaspike-project-0.7-source-release.zip
  [3] https://github.com/os890/deltaspike-vote/tree/deltaspike-project-0.7
  [4] http://www.apache.org/foundation/voting.html#ReleaseVotes
 


Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread Jean-Louis MONTEIRO
Looks good guys.
+1

JLouis


2014-05-01 23:06 GMT+02:00 Mark Struberg strub...@yahoo.de:

 +1

 LieGrue,
 strub





  On Thursday, 1 May 2014, 17:12, Cody Lerum cody.le...@gmail.com wrote:
   +1
 
  builds and tests weld and owb fine on win 8.1 x64 7u51
 
 
  On Wed, Apr 30, 2014 at 2:22 PM, Gerhard Petracek gpetra...@apache.org
  wrote:
   Hi,
 
   I was running the needed tasks to get the 7th release of Apache
 DeltaSpike
   out.
   The artifacts are deployed to Nexus [1] (and [2]).
 
   The tag is available at [3] and will get pushed to the ASF repository
 once
   the vote passed.
 
   Please take a look at the 0.7 artifacts and vote!
 
   Please note:
   This vote is majority approval with a minimum of three +1 votes
  (see [4]).
 
   
   [ ] +1 for community members who have reviewed the bits
   [ ] +0
   [ ] -1 for fatal flaws that should cause these bits not to be
 released, and
   why..
   
 
   Thanks,
   Gerhard
 
   [1]
 
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/
   [2]
 
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-project/0.7/deltaspike-project-0.7-source-release.zip
   [3]
 https://github.com/os890/deltaspike-vote/tree/deltaspike-project-0.7
   [4] http://www.apache.org/foundation/voting.html#ReleaseVotes
 




-- 
Jean-Louis


Re: [VOTE] Release of Apache DeltaSpike 0.7

2014-05-01 Thread John D. Ament
+1


On Thu, May 1, 2014 at 5:51 PM, Jean-Louis MONTEIRO jeano...@gmail.comwrote:

 Looks good guys.
 +1

 JLouis


 2014-05-01 23:06 GMT+02:00 Mark Struberg strub...@yahoo.de:

  +1
 
  LieGrue,
  strub
 
 
 
 
 
   On Thursday, 1 May 2014, 17:12, Cody Lerum cody.le...@gmail.com
 wrote:
+1
  
   builds and tests weld and owb fine on win 8.1 x64 7u51
  
  
   On Wed, Apr 30, 2014 at 2:22 PM, Gerhard Petracek 
 gpetra...@apache.org
   wrote:
Hi,
  
I was running the needed tasks to get the 7th release of Apache
  DeltaSpike
out.
The artifacts are deployed to Nexus [1] (and [2]).
  
The tag is available at [3] and will get pushed to the ASF repository
  once
the vote passed.
  
Please take a look at the 0.7 artifacts and vote!
  
Please note:
This vote is majority approval with a minimum of three +1 votes
   (see [4]).
  

[ ] +1 for community members who have reviewed the bits
[ ] +0
[ ] -1 for fatal flaws that should cause these bits not to be
  released, and
why..

  
Thanks,
Gerhard
  
[1]
  
  
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/
[2]
  
  
 
 https://repository.apache.org/content/repositories/orgapachedeltaspike-1003/org/apache/deltaspike/deltaspike-project/0.7/deltaspike-project-0.7-source-release.zip
[3]
  https://github.com/os890/deltaspike-vote/tree/deltaspike-project-0.7
[4] http://www.apache.org/foundation/voting.html#ReleaseVotes
  
 



 --
 Jean-Louis