MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
balanceofpower
Post subject: Dependent Deployment  PostPosted: Jul 23, 2009 - 03:10 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 286

When are we going to have the ability to
"click in"
and
"click out"
for a package/directory etc.

I need to include/exclude packages (e.g. test, Mocks) etc. when I create an EAR.

e.g.
[ ] Exploded Deployment [ ] Packaged Deployment

Scheme \/
with mocks
with tests
etc.

where my
"with mocks" =
[ ] include */mock/* [Add Include] [Add Remove]
[ ] remove */bling/bong/*

etc.


This is getting very tiresome as it been promised for over a year!
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Dependent Deployment  PostPosted: Jul 23, 2009 - 07:39 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

balanceofpower,

I have escalated this to the management and added this to our features tracker list. Thank you for posting your feature request.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Jul 23, 2009 - 09:50 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 286

Thanks...
But this was promised a year ago.
:(

Can this be expedited (this is probably quite easy!)
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Jul 23, 2009 - 09:57 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

balanceofpower,

The features that get added to the builds are a management decision. Questions such as - when, which release, etc are governed by feature requests per user and assigned priority. I have already escalated your request to the management.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Nov 01, 2011 - 08:55 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 286

Any movement on this?
 
 View user's profile Send private message  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Nov 06, 2011 - 01:09 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 286

From J6EE CDI Doco...
This is what I was referring to in the other post...
You wanted the thread to continue here.

Quote:

2.1.4. Alternatives
We've already seen how qualifiers let us choose between multiple implementations of an interface at development time. But sometimes we have an interface (or other bean type) whose implementation varies depending upon the deployment environment. For example, we may want to use a mock implementation in a testing environment. An alternative may be declared by annotating the bean class with the @Alternative annotation.

public @Alternative
class MockPaymentProcessor extends PaymentProcessorImpl { ... }

We normally annotate a bean @Alternative only when there is some other implementation of an interface it implements (or of any of its bean types). We can choose between alternatives at deployment time by selecting an alternative in the CDI deployment descriptor META-INF/beans.xml of the jar or Java EE module that uses it.

Different modules can specify that they use different alternatives.

We cover alternatives in more detail in Section 4.7, “Alternatives”.



(Taken from CDI Weld doco - JBoss - Attached)

I can see that a dependent deployment COULD:

    set the alternative in the beans.xml OR
    substitute complete packages in what is deployed (as the container would be happy as long as it find ONLY ONE possible injectable bean)


Your Thoughts?
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Nov 08, 2011 - 03:16 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

balanceofpower,

I shall investigate and get back to you on this.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits