[jbosstools-dev] a problem of classpath too long

Rob Stryker rob.stryker at redhat.com
Sun Mar 8 23:12:32 EDT 2009


I'll work with grid today to investigate a launch config solution.

feng.qian wrote:
>
>>
>>>>
>>>> p.s. Make sure you create a uniquely named file and delete it again ;)
>>> I use some codes to generate jar:
>>> tempJar = File.createTempFile("temp", ".jar");
>>> org.jboss.tools.common.util.FileUtil.jar(new File[0], 
>>> tempJar.getAbsolutePath(), mf);
>>>
>>> The jar is just a temp file, so we need not to care the uniquely 
>>> named file and how to delete it.
>> Well, you would be running this possibly many times so why wait until 
>> your VM shutsdown to delete all those jars ?
> Delete all those jars?
> You means when user run our tools, maybe genrate many temp jars and I 
> should delete every temp.jar after use it every time?
>
>>
>> /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