DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7538>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7538 GenericDeploymentTool doesn't find manifest if flatdestdir=true Summary: GenericDeploymentTool doesn't find manifest if flatdestdir=true Product: Ant Version: 1.5 alpha (nightly) Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Assume the following file structure and <ejbjar> target, the manifest is NOT included in the output jar: classes/com/somecom/ejb/Test.class classes/com/somecom/ejb/TestHome.class classes/com/somecom/ejb/TestBean.class src/com/somecom/ejb/Test.java src/com/somecom/ejb/TestHome.java src/com/somecom/ejb/TestBean.java src/com/somecom/ejb/Test-ejb-jar.xml src/com/somecom/ejb/Test-manifest.mf <ejbjar descriptordir="src" srcdir="classes" flatdestdir="true" destdir="."> <include name="**/*ejb-jar.xml"/> </ejbjar> Using the following structure and call, the manifest file is included: classes/com/somecom/ejb/Test.class classes/com/somecom/ejb/TestHome.class classes/com/somecom/ejb/TestBean.class src/com/somecom/ejb/Test.java src/com/somecom/ejb/TestHome.java src/com/somecom/ejb/TestBean.java src/com/somecom/ejb/Test-ejb-jar.xml src/Test-manifest.mf <ejbjar descriptordir="src" srcdir="classes" flatdestdir="false" destdir="."> <include name="**/*ejb-jar.xml"/> </ejbjar> <ejbjar descriptordir="src" srcdir="classes" destdir="."> <include name="**/*ejb-jar.xml"/> </ejbjar> The code in GenericDeploymentTool.java uses basedir in the buildJar method to find the manifest file. Basedir that is passed into this method has already been trimmed if flatdestdir=true. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
