Antonio Goncalves created FORGE-1803:
----------------------------------------
Summary: Created EJB goes into the view package
Key: FORGE-1803
URL:
https://issues.jboss.org/browse/FORGE-1803
Project: Forge
Issue Type: Bug
Components: Java EE
Affects Versions: 2.5.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
If I create a new project from scratch and add an EJB, the EJB is created under the
{{service}} package. But if I am on an already created project and do the same, the EJB is
created under the {{view}} package.
The example below show how I create a new EJB under the newly created {{test}} project
which ends up in {{service}} package. And then, I {{cd}} an already created project
({{cdbookstore}}) and the EJB is created under {{view}} :
{code}
[temp]$ project-new --named test
***SUCCESS*** Project named 'test' has been created.
[test]$ ejb-new-bean --named MyService
***SUCCESS*** EJB has been installed.
***SUCCESS*** EJB org.test.service.MyService created.
[MyService.java]$ cd ~~
[test]$ cd ../cdbookstore/
[cdbookstore]$ ejb-new-bean --named MyService
***SUCCESS*** EJB org.agoncal.training.javaee6adv.view.MyService created.
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)