"Francisco Figueiredo Jr." <[EMAIL PROTECTED]> writes:
The way we redeploy is by using exploded deployments. Where the ear is really a directory structure reflecting the internal structure of of a zipped up .ear file.
This is an approach I also tried and it looks very promissing.
Then, make sure you are targeting your new .class files into the new ear structure (all subcomponents can be exploded also, .war, .jar etc)
Then, just touch foo.ear/META-INF/application.xml and jboss will redeploy that ear.
Ahhhhhhhh!! That is what I was looking for! :)
I could do the exploded deployment, but I couldn't get JBOSS to redeploy it after I updated a class. I didn't know about this "touch application.xml" tip.
Thanks Bob, for your feedback. I will try it.
If this still takes too long, look at breaking up the components in the .ear. Either into smaller .ears, or into individual components (.war, ejbs jars, etc) and move those to deploy/. Then you only need to re-deploy the components that have changed.
Yeah, this seems a very nice idea too.
We are already doing some breaking. Initially we got all sort of ClassCastException possible :)
We could get rid of them by just using the interface classes from one single .ear. All other ears using the interfaces would end up using the interface classes shared by the .ear
I don't know if this is a good solution for it, but it worked and we could keep the development.
If you all have any tips for this too, it would be very much appreciated.
-- Regards,
Francisco Figueiredo Jr. Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founding Member
------------- "Science without religion is lame; religion without science is blind."
~ Albert Einstein
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user