On Wed, May 22, 2013 at 03:22:33PM +0200, Karel Piwko wrote:
On Wed, 22 May 2013 14:59:41 +0200
Max Andersen <manderse(a)redhat.com> wrote:
> On Fri, May 17, 2013 at 01:28:44PM +0200, Karel Piwko wrote:
> >> >
> >> > Interesting - but it does require cli jars in addition to the normal
> >> > management client, right ?
> >> Yeah it would require the dependencies, but not JBoss modules.
> >
> >If those I Maven dependencies, they can be automatically fetched based on
> >some metadata (where metadata equals Server associated with the project for
> >instance) via ShrinkWrap Maven Resolver.
>
> not sure how that helps ?
well, based on some metadata (like Server Runtime Environment in project), you
could download jboss-cli jars for version you need on demand. Instead of
bundling those in tools. No sure if Eclipse allows you to change the classpath
dynamically though.
well, do you like changing the classpath dynamically for your code ?:)
Anyways, we would need a method that works offline too - users needing this
tend to be firewalled off unfortunately.
Which is why back/forward compatible management API's are so important.
For now it works with just the latest jars which is good.
/max
>
> /max
>
> >> >
> >> > /max
> >> >>>
> >> >>> p.s. We don't bundle any jboss-cli jars in our tools since
we would
> >> >>> proably
> >> >>> need one for each version (EAP 6.0,6.1, AS7.0, AS7.1. etc)
> >> >>> /max
> >> >>>
> >> >>>> On 05/15/2013 03:26 AM, Max Rydahl Andersen wrote:
> >> >>>>> ...are these scripts *required* to run the examples the
projects ?
> >> >>>>> Or are they just custom goals you can run as a one-off
to change
> >> >>>>> the server or would they *always* be executed ?
> >> >>>>>
> >> >>>>> And i'm wondering if we should add a "Run on
server" feature in
> >> >>>>> eclipse to
> >> >>>>> run these easily from the IDE against a server already
configured...
> >> >>>>>
> >> >>>>> /max
> >> >>>>
> >> >>
> >> >> --
> >> >> James R. Perkins
> >> >> JBoss by Red Hat
> >>
> >