I'm creating a plugin but I want to utilize the httpclient from Apache Commons PMS already has (org/apache/commons/httpclient) instead of putting it my package separately, can I do this? I thought it was just a case of;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpState;
but it just doesn't work.If I extract the PMS.jar and then set my classpath to where I extracted, it works fine but is that the proper way to do it? If I move my compiled jar to another machine (without the extracted files) it won't work, right?
Thanks.
