]
Rob Stryker commented on JBIDE-1081:
------------------------------------
I think the reason export to ant doesn't work for the ear project is because it is not
a java project, it has no source files, and nothing is on its classpath.
I'd even go so far as to say the export to ant feature is not a WTP-provided action
but rather an action for regular java projects. This would explain why it's not aware
of the virtual component model of WTP projects.
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: