[
https://jira.codehaus.org/browse/MANTRUN-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benson Margulies closed MANTRUN-50.
-----------------------------------
Resolution: Not A Bug
Fix Version/s: 1.6
The ejb task requires additional jars in the plugin classpath.
> Attribute not supported for <ejbgen> task from Antrun.
> ------------------------------------------------------
>
> Key: MANTRUN-50
> URL: https://jira.codehaus.org/browse/MANTRUN-50
> Project: Maven 2.x Antrun Plugin
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Windows XP, Maven 2.0.4, Weblogic 8.1-sp2, java 1.4_2,
> 2G Ram, Ant 1.6.5
> Reporter: Michael D Johnson
> Fix For: 1.6
>
> Attachments: build.xml
>
>
> When running <ejbgen> task using command line Ant, task executes as expected.
> When running same target using Antrun plugin, task fails with error message
> stating that "fork" is not a valid attribute of <ejbgen> task. I'm not sure
> if this is a classpath issue with Antrun not passing all properties to Ant,
> or if this is a failure of the Plugin.
> The task in question appears as follows:
> <!-- auto generate the files -->
> <ejbgen outputDir="${ejb.temp.dir}/output" forceGeneration="yes"
> fork="yes" jndiPrefix="pm/" wls81="true" noValueClasses="true"
> noImports="false">
> <classpath refid="compilation.classpath"/>
> <fileset dir="${ejb.temp.dir}/input" includes="*.java" />
> </ejbgen>
> The taskdef for this task appears as follows:
> <taskdef
> name="ejbgen"
> classname="com.bea.wls.ejbgen.ant.EJBGenAntTask"
> classpath="${common.lib}/ejbgen.jar"/>
> I have also attached the build.xml file for reference.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira