View Single Post
  (#2 (permalink)) Old
doraemon doraemon is offline
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default First step - Uncompressed deployment of EAR files. - 11-13-2008, 01:01 PM

Hello again.

After some investigations, we altered the Ant script for jBoss Deployment:

<Eclipse root>/plugins/org.eclipse.jst.server.generic.jboss_XXX\buildfile s\jboss323.xml

We edited the script and commented the <jar> and <copy file> tasks,and we introduced a new <copy> task :

<move todir="${server.publish.dir}/${module.name}.ear">
<fileset dir="${module.dir}"/>
</move>

To keep right the undeploy targets, we changed the <delete file> task for a <delete dir> one :

<delete dir="${server.publish.dir}/${module.name}.war" failonerror="false"> </delete>

This "hack" works on WAR deployment too.

Looking at the custom layout problem, if you edit the project settings file .settings/org.eclipse.wst.common.component and change the deploypath label value to, for example, /ejb, the deployer saves EJB jars in this directory, but library files from utility projects remains in the root directory of the EAR.

¿Some documentation of the file out there ?
Reply With Quote