Issue Details (XML | Word | Printable)

Key: CACTUS-98
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Archimedes Trajano
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cactus

Why is there a requirement for ejb.manifest.classpath == true?

Created: 02/Mar/04 07:14 AM   Updated: 17/Apr/04 03:43 PM
Return to search
Component/s: Maven Integration
Affects Version/s: None
Fix Version/s: 1.6

Time Tracking:
Not Specified

Environment:
Operating System: Other
Platform: Other

Bugzilla Id: 27351


 Description  « Hide
under <goal name="cactus:generate-ear-descriptor" prereqs="cactus:init">
there is a check for <j:if test="${dep.getProperty('ejb.manifest.classpath')
=='true'}"> this seems to be causing problems when testing EARs.

If I put in
<ejb.manifest.classpath>true</> in the project.xml file for the modules it
prevents deployment on jboss and if I remove it it does not add the module
into jboss.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 02/Mar/04 02:44 PM
hmmm... I have just copied without thinking the <ear> behaviour found in the
EAR plugin to the Cactus plugin.jelly... However, I've just seen that the EAR
plugin has been recently updated and changed. So we should update the
behaviour in cactus plugin.jelly to the new ear plugin.jelly. Got a patch?

Emmanuel Venisse added a comment - 02/Mar/04 05:10 PM
I think it's a correct patch.

Emmanuel


Index: integration/maven/plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-cactus/integration/maven/plugin.jelly,v
retrieving revision 1.22
diff -r1.22 plugin.jelly
1208c1208
< <j:if test="${dep.getProperty('ejb.manifest.classpath')=='true'}">
---
> <j:if test="${dep.getProperty('ear.bundle')=='true' ||
dep.getProperty('ear.module')=='true'}">

Vincent Massol added a comment - 03/Mar/04 04:18 AM
oops. Forget my previous comments. It's not correct. I was thinking about the
<ant:ear> code but you're actually talking about the cactus:generate-ear-
descriptor goal... :-) Sorry. I'll have a look at this today and apply
Emmanuel's patch.

Vincent Massol added a comment - 03/Mar/04 04:33 AM
Applied + added support for the new <ear.module> property tagging. Thanks!