[
https://jira.jboss.org/browse/JBIDE-7069?page=com.atlassian.jira.plugin.s...
]
Andre Albino Pereira edited comment on JBIDE-7069 at 9/15/10 2:08 PM:
----------------------------------------------------------------------
Attachment PublishCopyUtilOriginal.txt contains the original version of
PublishCopyUtil.safeRename(File,File,int) for comparison purposes.
was (Author: andreptb):
Original PublishCopyUtil.safeRename(File,File,int).
Application publishing is very slow
-----------------------------------
Key: JBIDE-7069
URL:
https://jira.jboss.org/browse/JBIDE-7069
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.2.0.M2
Environment: Ubuntu 10.4 x64, jdk1.6.0_21, jboss-4.0.5-GA, Eclipse Helios (build
20100617-1415)
Reporter: Andre Albino Pereira
Assignee: Rob Stryker
Attachments: PublishCopyUtilChanges.txt, PublishCopyUtilOriginal.txt
It seems there's a bug when a resource to be published is moved to the deploy folder
using PublishCopyUtil.safeRename(File, File, int), where a unnecessary Thread.sleep(100)
is executed every time for each resource that is being moved (see
PublishCopyUtilOriginal.txt attachment at line 11). So, if a EAR with 1000 files is
deployed, it will waste around 1.6 min executing Thread.sleep(100).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira