Dependency tag 'war.bundle' does not include ejb jar in war file

2004-06-28 Thread AtWorkNow
Hi.

 

I currently have a project, which uses the ejb plug-in to create the server and client 
jars.  However, when creating a war with the following dependency:

 

  dependency
   groupIdmyGroupId/groupId
   artifactIdmyArtifactId/artifactId
   version1.0-client/version
   typeejb/type
   properties
war.bundletrue/war.bundle
   /properties
  /dependency

 

the war:webapp plug-in fails to include the client ejb jar in the war file.  I believe 
a fix for this would be to include the following for the 'war:webapp' goal:

 

j:if test=${dep.type =='ejb'} 

ant:copy todir=${webapp.build.lib} file=${lib.path}/ 

/j:if 

If someone would have a workaround, other than using the deprecated property 
'war.bundle.jar' or if the suggested fix above or any other similar solution could be 
added to the plug-in, it would be very appreciated.

AG


Dependency tag 'war.bundle' does not include ejb jar in war file

2004-06-28 Thread AtWorkNow
Sorry, my original email had the wrong reply address.



Hi.

 

I currently have a project, which uses the ejb plug-in to create the server and client 
jars.  However, when creating a war with the following dependency:

 

  dependency
   groupIdmyGroupId/groupId
   artifactIdmyArtifactId/artifactId
   version1.0-client/version
   typeejb/type
   properties
war.bundletrue/war.bundle
   /properties
  /dependency

 

the war:webapp plug-in fails to include the client ejb jar in the war file.  I believe 
a fix for this would be to include the following for the 'war:webapp' goal:

 

j:if test=${dep.type =='ejb'} 

ant:copy todir=${webapp.build.lib} file=${lib.path}/ 

/j:if 

If someone would have a workaround, other than using the deprecated property 
'war.bundle.jar' or if the suggested fix above or any other similar solution could be 
added to the plug-in, it would be very appreciated.

AG