JBoss Community

Exclude source dir from deployment in EJB module?

created by arjan tijms in JBoss Tools - View the full discussion

I'm using Eclipse 3.6.1 with JBoss tools 3.2 beta 1. In my EAR project I have an EJB and a web module. My EJB module has multiple java source directories. I'm trying to prevent one of those from ending up in the deployment.

 

To do this, I went to [EJB module] -> project -> properties -> Deployment Assembly.

 

I removed the source directory in question here and cleaned, rebuild, redeployed etc everything. However, the content of this particular source directory keeps ending up in the deployment.

 

I checked the .settings/org.eclipse.wst.common.component file in the EJB module, and the source folder I don't want to deploy is really gone:

 

 

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
    <wb-module deploy-name="foo_main_ejb">
        <wb-resource deploy-path="/" source-path="/src"/>
        <wb-resource deploy-path="/" source-path="/resources"/>
        <property name="java-output-path"/>
    </wb-module>
</project-modules>

 

Is this file simply ignored or do I need to do something else?

 

Thanks in advance!

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community