[jboss-user] [JBoss Tools] - Exclude source dir from deployment in EJB module?

arjan tijms do-not-reply at jboss.com
Mon Dec 6 07:52:46 EST 2010

arjan tijms [http://community.jboss.org/people/atijms] created the discussion

"Exclude source dir from deployment in EJB module?"

To view the discussion, visit: http://community.jboss.org/message/574482#574482

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"/>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101206/ae554c8f/attachment.html 

More information about the jboss-user mailing list