﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
152	How to get jar files included so can be used for Java service api?	surf9		"Hi there

I have many jar files I would like to include.

My dir for the java api is:

/java/purpose

Inside the purpose dir I would like to have another folder called dependencies. Inside the dependencies folder I would like to store all the JAR files. I currently have not created the dependencies folder and all files are stored inside the purpose dir.

Inside /java/purpose path I have my .class file.

The java source code has the following import as an example:
import org.geotools.data.FeatureSource;

Currently when I try to compile my .java file I get the following error:

javac WFSJava.java
WFSJava.java:4: error: package org.geotools.data does not exist

I've tried setting the CLASSPATH in the terminal using an absolute path to the /java/purpose dir and also tried adding it to the main.cfg using:

[env]
CLASSPATH=/java/purpose

I still get the same error message.

Would you have any ideas how I can resolve this?

Thanks,


"	task	new	minor		Development platform				
