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"/>
</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
[
http://community.jboss.org/message/574482#574482]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]