Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Error while trying to run jetty from ant

Saad,

The task names changed between jetty-8 and jetty-9. If you're using
jetty-8 then you have to use <jetty> task. If you're using jetty-9
then the tasks are <jetty.run> and <jetty.stop>. Simple as that :)

Jan

On 23 April 2015 at 08:00, Saad Shakil <saadshakil@xxxxxxxxx> wrote:
> Hi,
>
> I'm experiencing this issue while trying to run jetty from ant:
>
> http://stackoverflow.com/questions/29809185/error-while-trying-to-run-jetty-from-ant-failed-to-create-task-or-type-jetty-r
>
> On the freenode #jetty IRC, I was told that jetty 8 is End Of Life.  I do
> not understand why this is preventing the ant target from starting and
> stopping jetty with <jetty.run ...> and <jetty.stop ...>.  Is it so that
> jetty-ant simply provides wrappers for jetty 8 and 9 classes, where in my
> case jetty.run and jetty.stop are missing since I'm using jetty 8 (due to
> restriction to java 6)?
>
> Regards,
> Saad
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-dev



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top