DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29182

Jasper locks jar files when compiling JSPs through Ant





------- Additional Comments From [EMAIL PROTECTED]  2004-05-28 08:38 -------
> I'm not sure a fix to URLClassLoader to not lock jar files is that easy, even 
> if it's desirable.

Agreed. Also, it's desirable to support existing JDKs.

Adding fork attribute to JspC would be sufficient, although I'm not sure if it's
that easy, because:

- You would have to also specify a classpath attribute (or nested element) that
would tell the task what classpath to use when the separate JVM is run
- You would need to capture output from the separate process and somehow
redirect it to the original task's output (Ant output).
- You may want to allow all the attributes that the <java> task has that relate
to JVM parameters, such as jvm, maxmemory, jvmargs, failonerror, or nested
elements jvmarg, sysproperty

Is this (easily) doable?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to