Ying Wang, ejbjar processes a fileset of descriptors. You use the include and exclude elements to determine the set of descriptors to be processed. If you want to add additional classes to the jar, use the <support> element.
Conor > -----Original Message----- > From: Ying Wang [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 February 2002 2:15 PM > To: [EMAIL PROTECTED] > Subject: <ejbjar> include problem > > > > Hi Everyone, > I have problem with ant optional task ejbjar to include additional > files to ejbjar. > I tries a samll example build.xml on: > C:\bea\wlserver6.1\samples\examples\ejb\basic\beanManaged > > The following is part of the build.xml I changed: > > <target name="jar_ejb" depends="compile_ejb"> > <ejbjar srcdir="${build}" > includes="Account.class, AccountHome.class, > ProcessingErrorException.class, > AccountBean.class,*.xml" > descriptordir="${build}/META-INF"> > <weblogic destdir="${dist}" /> > <include > name="${build}/examples/ejb/basic/beanManaged/ProcessingErrorExcep > tion.class"/> > </ejbjar> > </target> > > The result beanManaged.jar doesn't include the > ProcessingErrorException.class > > Any help is appreciated! > > Thank you very much! > > > Ying Wang > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
