Adding org.apache.http libs


I have problem with adding my apache libs.

I need to import libraries like;

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.util.EntityUtils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

I downloaded it from Apache site, but dont know how to import it to MPS. I've added it in generators properties with common->javaclasses, tried this same with Language but in my generator I get error that this class is unresolved.

How can I do it right?

Thanks for your help


Please sign in to leave a comment.