Thanks dion!
> Message: > > The following issue has been closed. > > Resolver: dion gillard > Date: Thu, 31 Jul 2003 11:34 PM > > Applied with fixes and docs > --------------------------------------------------------------------- > View the issue: > > http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-633 > > > Here is an overview of the issue: > --------------------------------------------------------------------- > Key: MAVEN-633 > Summary: Contributing an ejb:ejb-client goal > Type: New Feature > > Status: Closed > Priority: Major > Resolution: FIXED > > Time Spent: Unknown > Remaining: Unknown > > Project: maven > Components: > plugin-other > Fix Fors: > 1.0-rc1 > > Assignee: > Reporter: James CE Johnsom > > Created: Wed, 30 Jul 2003 1:02 PM > Updated: Thu, 31 Jul 2003 11:34 PM > Environment: 1.0-beta-11-SNAPSHOT, JVM 1.4, Linux > > Description: > This patch adds a trivial goal that will create a jarfile suitable for > clients of your EJBs. The idea is to have the minimal set of classes > necessary for the EJB clients. The value of > maven.ejb.client.base.excludes probably needs some work... > > > diff --context > /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.jelly ./plu > gin.jelly > *** /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.jelly Wed Jul > 30 09:53 :45 2003 > --- ./plugin.jelly Wed Jul 30 13:29:35 2003 > *************** > *** 107,113 **** > </ant:jar> > > </goal> > ! > <!--==================================================================--> > <!-- Install the ejb in the local repository > --> > <!--==================================================================--> > > > --- 107,124 ---- > </ant:jar> > > </goal> > ! > ! > <!--==================================================================--> > ! <!-- Builds an ejb client jar file > --> ! > <!--==================================================================--> > ! <goal name="ejb:ejb-client" prereqs="ejb:ejb" description="Build a > client ej b file"> > ! <ant:jar > jarfile="${maven.build.dir}/${maven.final.name}-client.jar" ! > basedir="${maven.build.dest}" > ! > excludes="${maven.ejb.client.base.excludes},${maven.ejb.client.ex > cludes}" > ! > > ! </ant:jar> > ! </goal> > ! > <!--==================================================================--> > <!-- Install the ejb in the local repository > --> > <!--==================================================================--> > > diff --context > /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.properties > ./plugin.properties > *** /home/jcej/jakarta/maven/src/plugins-build/ejb/plugin.properties > Tue Jul 22 10:21:20 2003 > --- ./plugin.properties Wed Jul 30 13:25:45 2003 > *************** > *** 1 **** > # --------------------------------------------------------------------- > maven.ejb.manifest=${maven.ejb..ejb.src}/META-INFto using jar task not > ejbjar escriptordir}/MANIFEST.MF > \ No newline at end of file > --- 1 ---- > # --------------------------------------------------------------------- > maven.ejb.manifest=${maven.ejb..ejb.src}/META-INFto using jar task not > ejbjar # Exclude from the client jar those things that should only exist > on the EJB ser > maven.ejb.client.base.excludes=**/*Bean.class,**/*CMP.class,**/*Session.class > \ No newline at end of file > > > > > > --------------------------------------------------------------------- > JIRA INFORMATION: > This message is automatically generated by JIRA. > > If you think it was sent incorrectly contact one of the administrators: > http://jira.codehaus.org/secure/Administrators.jspa > > If you want more information on JIRA, or have a bug to report see: > http://www.atlassian.com/software/jira > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
