[
https://jira.jboss.org/jira/browse/JBIDE-3612?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-3612:
--------------------------------------
This problem has been existing for a long time and can be reproduced randomly.
It is easier to reproduce it after introducing the SeamProjectCreator class.
The main problem is that the project is published before it is built. The result,
sometimes, is that we deploy the project that doesn't contain any resources (mainly
.class files).
It isn't enough to register and public the project in Facet delegate. We have to
initiate the build. Publishing mustn't start before the build is finished. The problem
with publishing isn't related only to the New Seam Project Wizard. The publish action
should check if a build job exists and, if exists, wait for the build finishes.
Bugs
https://bugs.eclipse.org/bugs/show_bug.cgi?id=215352 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163668 are caused by the issue described in
JBIDE-3414. If publishing is done after configuring and building the project, this issue
will disappear.
New Seam Project Wizard: Seam EJB project is not published.
-----------------------------------------------------------
Key: JBIDE-3612
URL:
https://jira.jboss.org/jira/browse/JBIDE-3612
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.0.0.CR2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.0.0.GA
1. Create Seam EAR Project using New Seam Web Project wizard.
2. Seam-ear is registered but seam ejb module is not published.
Clean/full-publish on ear module helps.
We register/publish seam project by adding jobs in Seam post Install delegate.
But eclipse starts building workspace only when the operation of
ModifyFacetedProjectWizard is finished.
And the build thread is waiting for registring jobs is finished.
So we have EAR module published before projects are buit.
<EJB>/buid/classes is empty and wtp prints error message in console (if trace is
on) and stops publishing ejb project.
So we need either force build before registration or suspend publishing until projects
are buit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira