xdoclet is used in ant script ------------------------------ Key: XDT-1682 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1682 Project: XDoclet Type: Bug
Components: Spring Module Versions: 1.2.1 Environment: J2ee,Os,apache ant Reporter: Sai Sirisha Assigned to: xdoclet-devel (Use for new issues) When xdoclet is used in ant script and if one target "generate-app-beans" is depending on the target "generate-web" and merge directories paths are defined separately for the two,its not considering instead taking the merge directory of target "generate-web" itself for target "generate-app-beans" also.though a new path for merge directory is spacified for target "generate-app-beans" its not taking that path and taking files from merge directory from target "generate-web" itself why? eg.<taskdef name="springdoclet" classname="xdoclet.modules.spring.SpringDocletTask" classpathref="xdoclet.classpath" /> <target name="generate-app-beans" depends="generate-web" description="Generates spring bean definitions <app-beans.xml>."> <springdoclet destDir="${src.dir}/config" mergeDir="${merge.dir}/spring" verbose="true"> <fileset dir="${src.dir}"> <include name="**/*.java" /> <exclude name="**/*Action.java" /> </fileset> <springxml acceptAbstractClasses="false" destinationFile="${gen.app.beans.filename}" destDir="${src.dir}/config" /> </springdoclet> </target> <target name="generate-web" description="Generates web deployment descriptor and struts-config.xml."> <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="xdoclet.classpath" /> <webdoclet destDir="${web.dir}" mergeDir="${merge.dir}" verbose="true"> <fileset dir="${src.dir}"> <include name="**/*Action.java" /> <include name="**/*Listener.java" /> <include name="**/*Form.java" /> </fileset> <deploymentdescriptor destdir="${web.deployment.dir}" distributable="false" displayname="${server.displayname}" sessiontimeout="${server.session.timeout}" /> <strutsconfigxml version="1.2" destDir="${web.deployment.dir}" /> </webdoclet> <springdoclet destDir="${src.dir}/config" mergedir="${merge.dir}" verbose="true"> <fileset dir="${src.dir}"> <include name="**/*Action.java" /> </fileset> <springxml acceptAbstractClasses="false" destinationFile="${spring.struts.filename}" /> </springdoclet> </target> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel