[jbosstools-dev] a problem of classpath too long

feng.qian fqian at redhat.com
Tue Feb 24 06:03:52 EST 2009


Max Rydahl Andersen wrote:
> On 24-02-2009 10:06, feng.qian wrote:
>> Max Rydahl Andersen wrote:
>>>
>>>> So I want to ask if we have a way to set a container or a jars 
>>>> folder for these jars.
>>> What do you mean by a container or jars folder for these ? That 
>>> wouldn't solve the problem would it ?
>> Yes, I want a container for these jars, but for this command 
>> 'wsprovider.bat', I do not know how to add a
>> container.
> What do you mean "container" ? Those jars are from a lot of different 
> places so how can it be in a container/folder ?
It's true, these jars are from different places. So I do not know if 
there is a way to define a folder to instead of them in the command.
wsprovider -c 'a.jar:b.jar:c.jar.............xxx.jar' -w -k   
.............   thejavaclass
use a folder or something to instead of 
'a.jar:b.jar:c.jar.............xxx.jar'

>
> Which jars does the wsprovider.bat actually need ?
The wsprovider.bat need some jars. But we do not care them because the 
wsprovider.bat run in it's environment and don't need we set
the classpath for itself. But when we run the command, maybe our java 
class(a service class) need some jars, we need to set classpath
for our java class.
>
> /max




More information about the jbosstools-dev mailing list