[jbosstools-dev] a problem of classpath too long
Rob Stryker
rob.stryker at redhat.com
Tue Feb 24 15:58:34 EST 2009
My startup jboss launch config mimics startup.bat but I don't launch the
bat directly. I looked at the bat file and mimicked its behavior in a
launch config.
This way the launch configuration just launches a java type launch
rather than a .bat type launch.
This does add potential differences between the actual .bat and the
launch config clone of it, but it should solve your problem.
Just my 2 cents.
- RS
feng.qian wrote:
> 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
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
More information about the jbosstools-dev
mailing list