• 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

Exploded ear -how to debug jboss

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

I am working in eclipse 3.3 and jboss 4.2.
My application package as an ear (the ear size is 40M) with maven.

I understand that i can work in exploded mode in order to save the build and deploy time.

I look in google for reference , but didnt find. can any one give me a reference on how to set up eclipse in order to work against expolded ear?

Thank you
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did not completely understand the question. As far as i know, there's nothing different you have to do with Eclipse to work with an exploded ear file deployed in JBoss. It's the same as working with any application deployed as an archive.
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In order to build the ear and deploy it to the server i use maven.

As i understand if i want to work in exploded mode i need to extract the ear and my jars (am i correct ? is there any tool or plugin that can do it for me?)

Now , i have an exploded ear in the server.

i work with eclipse and i want to be in debug mode , so when i change a class (or any other trigger) it will copy the changed class to the exploded ear in the server.

Thank you
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by avihai marchiano:
In order to build the ear and deploy it to the server i use maven.

As i understand if i want to work in exploded mode i need to extract the ear and my jars (am i correct ? is there any tool or plugin that can do it for me?)



Extracting the ear is enough. Extracting the jars inside the ear is optional. As far as tools are concerned, Ant has the unjar/unwar task which can be used to exploding the archives. I guess maven too has a similar task. I haven't used maven so not sure the exact task names.

Originally posted by avihai marchiano:
Now , i have an exploded ear in the server.

i work with eclipse and i want to be in debug mode , so when i change a class (or any other trigger) it will copy the changed class to the exploded ear in the server.



I havent tried this but i guess it will update the changes. If it doesn't then follow the steps mentioned here
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much.

I didnt understand how you tell eclipse to deploy changes to the exploded ear?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic