• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Basis for populating tmp0 directory in RAD

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I have a J2EE application with the following projects:

3 EJB Projects : EJBProject1, EJBProject2 and EJBCommon
and
1 Java Project: ProcessMessage

The name of the EAR project is 'EARProject'.

When I deploy the EAR project, start the server, the code is published from the following paths:

C:\Project Workspaces\02_PROVIDER\EJBProject1\ejbModule;
C:\Project Workspaces\02_PROVIDER\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\EJBCommon;
C:\Project Workspaces\02_PROVIDER\EJBProject2\ejbModule;
C:\Project Workspaces\02_PROVIDER\ProcessMessage\src;
C:\Project Workspaces\02_PROVIDER\EARProject\resources;

As you can see, only EJBCommon project is deployed to 'tmp0' directory in the .metadata folder of the RAD workspace.
What is making only this project being deployed in tmp0 and rest of the projects being directly deployed from their respect source folders directly from the workspace?

Please help me. I am stuck up due to this since last 3 days.

Thanks in advance,
Pankaj
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One simple way to clean up this mess is to re-create the enterprise application project in RAD. At the time of creation at the EJB project and Utility project at the same time. Once the projects are created then shutdown RAD and copy the files from behind into the newly created projects. Open RAD, refresh the newly created projects.

Export the EAR file and you should be fine. But for long run you should try to write your own Ant script so that you can control everything. Also note that you dont need to use wasant that comes bundled with RAD/WAS. You can use Apache ant directly.
 
I brought this back from the farm where they grow the tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic