You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael D Johnson (JIRA)" <ji...@codehaus.org> on 2006/05/01 19:25:41 UTC
[jira] Created: (MANTRUN-50) Attribute not supported for
task from Antrun.
Attribute not supported for <ejbgen> task from Antrun.
------------------------------------------------------
Key: MANTRUN-50
URL: http://jira.codehaus.org/browse/MANTRUN-50
Project: Maven 2.x Antrun Plugin
Type: Bug
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
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MANTRUN-50) Attribute not supported for
task from Antrun.
Posted by "Benson Margulies (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MANTRUN-50) Attribute not supported for
task from Antrun.
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTRUN-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164697#action_164697 ]
Carlos Sanchez commented on MANTRUN-50:
---------------------------------------
it may be that you have a different ejbgen ant task being used, maybe you have an older version also in the classpath
> Attribute not supported for <ejbgen> task from Antrun.
> ------------------------------------------------------
>
> Key: MANTRUN-50
> URL: http://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
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira