Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7918341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:28:16+00:00 2026-06-03T15:28:16+00:00

Background Disclaimer: I have very little experience with Java. We previously used a wrapped

  • 0

Background

Disclaimer: I have very little experience with Java.

We previously used a wrapped version of Jetty 6 for on-demand static content (JS, CSS, images, HTML) during our Ant build so we can run unit tests with PhantomJS against an HTTP-hosted environment.

However, Jetty is now on version 8.1.3 and we no longer need that wrapping (which solves a different problem which is now moot), so I wanted to update to just using Jetty 8.1.3 directly.

First I downloaded the whole Jetty distribution, which weighs in at a massive ~40 MB. This works from Ant, using “start.jar”… but I don’t really want to be pushing those unnecessary JARs around everywhere.

So then I downloaded the aggregate “jetty-server-8.1.3.v20120416.jar” (latest) from the Maven repo, BUT I can’t seem to use that JAR from Ant like I could with “start.jar”, e.g. “java -jar jetty-server-8.1.3.v20120416.jar OPTIONS=Server”

The Jetty documentation is both poor and missing (404’s). Ugh!

Actual Question

What the heck do I do with this aggregate “jetty-server” JAR? Should I be pointing to a particular class instead of the whole JAR?

…

Related Question: Minimum set of files needed from Jetty to serve static content?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:28:18+00:00Added an answer on June 3, 2026 at 3:28 pm

    You use it as a dependency for an embedded usage of jetty.

    http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty

    it is not appropriate for usage with the start.jar, that is a mechanism for knitting together a classpath suitable to launch jetty with, not as a generalized jar launcher.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Disclaimer: I have little background in Java, since I am predominantly a C# developer.
Background: I have a css and a js that is used only by the
Disclaimer, I'm from a Java background. I don't do much C#. There's a great
Background: I have a little video playing app with a UI inspired by the
Disclaimer: I have no experience using YUI at all. I was wondering how the
Background: I haven't had much experience with multi-process Perl scripts. I have a data
Background I have a dimension table that has a single record for each day.
Background, Part 1 I have a form that collects both frequency and duration from
Background: I have this with rollup query defined in MySQL: SELECT case TRIM(company) when
Background I have an existing extension designed to accompany a browser-based game (The extension

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.