You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Martin Grotzke <ma...@javakaffee.de> on 2009/07/09 09:42:13 UTC

Set jvm options for jetty task

Hi,

I'm running jetty as described in the howtos:

  task("jetty"=>[package(:war), jetty.use]) do |task|
    jetty.deploy("http://localhost:8080", task.prerequisites.first)
    Readline::readline('[Type ENTER to stop Jetty]')
  end

Now I wonder if it's possible to set jvm options, e.g. the -javaagent.

Is there a way to achieve this?

Thanx && cheers,
Martin



Re: Set jvm options for jetty task

Posted by Martin Grotzke <ma...@javakaffee.de>.
Uups, I searched the wrong mailing list before, and now came across
  http://markmail.org/thread/jnhvotvupaduiqtk
and found that this has been already asked/answered :)

Sorry for the noise,
cheers,
Martin


On Thu, 2009-07-09 at 09:42 +0200, Martin Grotzke wrote:
> Hi,
> 
> I'm running jetty as described in the howtos:
> 
>   task("jetty"=>[package(:war), jetty.use]) do |task|
>     jetty.deploy("http://localhost:8080", task.prerequisites.first)
>     Readline::readline('[Type ENTER to stop Jetty]')
>   end
> 
> Now I wonder if it's possible to set jvm options, e.g. the -javaagent.
> 
> Is there a way to achieve this?
> 
> Thanx && cheers,
> Martin
> 
>