[
http://jira.jboss.com/jira/browse/JBIDE-1081?page=comments#action_12382240 ]
Rob Stryker commented on JBIDE-1081:
------------------------------------
for bug 1, when I try to run on server, only one project shows up: The Ear project.
ybxiangEAR. Under it is ybxiang and ybxiangEJB. So bug1 has been fixed. (JBIDE-992)
bug2 is just how WTP behaves. Max is correct. The workspace *thinks* the module is up to
date. It last published everything and was completely unaware the actual deployed files
below were removed. WTP does not pay attention to the deployed files once deployed and so
does not recognize when they've been deleted.
The problem here is WTP does not have any user interface to republish entirely one module,
or even republish entirely every module. The only UI it seems to have is add module,
remove module, or incrementally publish module. This is a deficiency with WTP and once I
clear my backlog of issues here, perhaps I can work with WTP to improve that situation.
bug3 is an action that is not contributed by JBoss Tools / RHDS, and so we really
don't have control over it, but we can open a bug in eclipse's bugzilla. I will
not close this issue until I've posted bugzilla links for issues 2 and 3.
Hope this has been helpful!
=]
RHDS should not deploy EAR AND WAR to JBoss, EAR is enough!
-----------------------------------------------------------
Key: JBIDE-1081
URL:
http://jira.jboss.com/jira/browse/JBIDE-1081
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Affects Versions: 2.0.0.Beta4
Environment: win xp,
JDK1.6
Reporter: a a
Assigned To: Rob Stryker
Fix For: 2.0.0.CR1
Original Estimate: 4 days, 6 hours, 30 minutes
Remaining Estimate: 4 days, 6 hours, 30 minutes
steps:
1.create a seam project:
file->new-> seam web project->project name="ybxiang"->select
"Java persistence"->next->next->( set SqlServer JDBC Driver
correctly)...->In JSF Capability dialog select "Server supplied JSF
implementation"->next->Seam runtime =jboss-seam-1.2.1.GA, Deploy as
="ear"-->Finish
2.select menu "project->build all"
3.Run it:
"Run as"->"Run on Server"->"JBoss 4.2
Server"->next->
Now, in this window, you can find two table. I add project "ybxiang" and
"ybxiang-ear" to right table. Obviously, the project "ybxiang-ear"
contains project "ybxiang" which is the WAR and project "ybxiang-ejb"
which is the EJB. Now, i should be allowed to remove project "ybxiang" to left
table and only have project "ybxiang-ear" left in the right table!!! But, i am
not allowed to remove it!!!
.--Now, put "Finish" button, you will find that the ybxiang-ear.ear(EAR) and
ybxiang.war(WAR) are both deployed into
"D:\java\jboss-4.2.1.GA\server\default\deploy"!!!
It's not right!!!
This is the bug(1).
4.Now, i shut down JbossAS, and delete EAR and WAR file. I want to redeploy it.
I push "Run"->"Run on server" again, neither EAR nor WAR is
redeployed to "D:\java\jboss-4.2.1.GA\server\default\deploy"!!!
Please notice that, I have shut down JBOssAS and deleted the deployed files!!! Now, i
want JBOssAS run MyProject again from RHDS!
This is the bug(2)
5.right click on "ybxiang-ear" in RHDS-->export->general->Ant
buildfiles->select all items-->Finish.
You can not find build.xml in ybxinag-ear project or its directory. You do can find
build.xml files for ybxiang and ybxiang-ejb!!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira