[
https://jira.jboss.org/jira/browse/JBIDE-3156?page=com.atlassian.jira.plu...
]
Rob Stryker resolved JBIDE-3156.
--------------------------------
Resolution: Done
Assignee: Rob Stryker
Bug is reproducible when right-clicking on a project in the Project Archives view and
selecting "build project (full)". It was not reproducible if clicking on an
*archive* and selecting "build archive (full)".
Commits have been made including new unit tests.
CCE from running archive from project
-------------------------------------
Key: JBIDE-3156
URL:
https://jira.jboss.org/jira/browse/JBIDE-3156
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.0.0.cr1
Environment: Ubuntu 8.10
OpenJDK 6b12
eclipse Ganymede SR1
JBT nightly build 3.0.0.CR1/200811101501
(workspace created for test)
Reporter: Ciro Cavani
Assignee: Rob Stryker
Attachments: .packages, .packages
Running archive build on project node of "Package archives" view throws CCE.
[code]
java.lang.ClassCastException:
org.jboss.ide.eclipse.archives.ui.providers.ArchivesContentProviderDelegate$WrappedProject
cannot be cast to org.jboss.ide.eclipse.archives.core.model.IArchiveNode
at org.jboss.ide.eclipse.archives.ui.actions.BuildAction$1.run(BuildAction.java:77)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[/code]
Process:
1. create a Java Project
2. create deploy, EarContent and WarContent folders
3. create an EAR package (Project archives view)
3.1. destination to deploy folder
3.2. exploded
4. delete default fileset
This already throws CCE trying build.
--
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