Author: scabanovich
Date: 2010-01-28 06:26:33 -0500 (Thu, 28 Jan 2010)
New Revision: 19983
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbProjectFactory.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5752
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbProjectFactory.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbProjectFactory.java 2010-01-28
11:02:35 UTC (rev 19982)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/KbProjectFactory.java 2010-01-28
11:26:33 UTC (rev 19983)
@@ -80,6 +80,7 @@
}
underConstruction.add(project);
final KbProject mock = new KbProject();
+ mock.setProject(project);
class KbBuilderEx extends KbBuilder {
protected KbProject getKbProject() {
return mock;
@@ -96,7 +97,6 @@
public void run() {
// System.out.println("build begin");
long t0 = System.currentTimeMillis();
- mock.setProject(project);
KbBuilderEx builder = new KbBuilderEx();
setProjectToBuilder(builder, project);
builder.build();