DO NOT REPLY [Bug 29570] - JSP don't compile because of: Error creating temporary file

2004-09-15 Thread bugzilla
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=29570.
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=29570

JSP don't compile because of: Error creating temporary file





--- Additional Comments From [EMAIL PROTECTED]  2004-09-15 08:21 ---
We have run into this problem with Red Hat App Server (which includes Tomcat 5).

It is a bug (IMO) in the Ant javac task  -- it uses the user home directory
instead of the system temp directory for a temporary file created when the
command line gets larger than 4K, which happens with long classpaths.

I have filed a bug for Ant and a patch has been checked into Ant's CVS
repository.  It was not supposed to be included in 1.6.2 yet so more people had
a chance to comment on it.  I have backpatched the change in the Ant 1.6.1 that
we've released.

I believe the fix in the Ant task is the better solution, although the change is
Jasper makes it immune to this problem.

In any case, I am attaching the Ant patch we are using (last thing I've heard
this was in Ant's current sources).

Reards to all,
Fernando

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



DO NOT REPLY [Bug 29570] - JSP don't compile because of: Error creating temporary file

2004-09-15 Thread bugzilla
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=29570.
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=29570

JSP don't compile because of: Error creating temporary file





--- Additional Comments From [EMAIL PROTECTED]  2004-09-15 08:21 ---
Created an attachment (id=12738)
Ant 1.6.1 patch

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



DO NOT REPLY [Bug 29570] - JSP don't compile because of: Error creating temporary file

2004-09-12 Thread bugzilla
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=29570.
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=29570

JSP don't compile because of: Error creating temporary file

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-12 20:51 ---
When the command line for the javac task is more the 4096 characters long, the 
ant task creates a temporary file to hold the full command. This is to 
overcome command length limitations on a number of OSes.

Jasper was not setting the temp dir so Ant tries to use the user dir which in 
your case must be the tomcat root dir.

Jasper has now been patched to fix this.

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