1 文件结构
2 Build path 配置
3 公共文件
Configuration/conf/build.properties编写如下(按照情况修改root)
#the separator should be "//" instead of "/", or error "Property root was circularly defined."
#这里按自己的情况修改
root=E://java//workspace//
tools=${root}/tools
xdoclet.home=${tools}/xdoclet-1.2.3
jboss.home=${tools}/jboss-4.2.3.GA
#application name
app.name=xdoclet_ejb01
#temporary directory to put jars or wars compiled
deploy_temp_dir=${root}/build/tmp
Configuration/jndi/jndi.properties如下
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces