[
http://jira.jboss.com/jira/browse/JBFORUMS-204?page=comments#action_12361962 ]
Luca Stancapiano commented on JBFORUMS-204:
-------------------------------------------
you must to try without output directories of authz-jaae-plugin and forums project......so
you'll see that portal-forums-authz-plugin.sar cannot be added into jboss-forums.ear
because it is not yet created. I've seen that build.xml of build project begin with
forums project and then with authz-jaae-plugin. I tried to invert the order modifiing
build.xml of build project but without success. Then I thought to patch build.xml of
authz-jaae-plugin so that at the end of creation of forums-authz-plugin.sar , it copy that
file into jboss-forums.ear. I reconfirm that the last patch is correct. I rewrite you that
piece to add at the end of output target of authz-jaae-plugin project :
<copy todir="${forums.root}/resources/portal-forums-ear">
<fileset dir="${build.lib}"
includes="portal-forums-authz-plugin.sar"/>
</copy>
<jar jarfile="${forums.lib}/jboss-forums.ear">
<fileset dir="${forums.root}/resources/portal-forums-ear"
includes="**/*"/>
</jar>
building sources
----------------
Key: JBFORUMS-204
URL:
http://jira.jboss.com/jira/browse/JBFORUMS-204
Project: JBoss Forums
Issue Type: Bug
Components: Portlet Productization
Affects Versions: 1.0.0 RC
Environment: all
Reporter: Luca Stancapiano
Assigned To: Ryszard Kozmik
Fix For: 1.0.0 GA
Attachments: build.xml, build.xml
hi......I try to build sources of forums applicattion (taken from
http://anonsvn.labs.jboss.com/labs/jbossforums/trunk).
Apparently it is ok but when I deploy jboss-forums.ear, I have the error that
portal-forums-authz-plugin.sar is lost. Inside jboss-forums.ear infact it is not added. I
added in build.xml row 162 of authz-jaae-plugin project theese rows:
<copy todir="${forums.root}/resources/portal-forums-ear">
<fileset dir="${authz-jaae-plugin.lib}"
includes="portal-forums-authz-plugin.sar"/>
</copy>
<jar jarfile="${forums.lib}/jboss-forums.ear">
<fileset dir="${forums.root}/resources/portal-forums-ear"
includes="**/*"/>
</jar>
so, when target output of forums is executed, portal-forums-authz-plugin.sar is added
automatically into jboss-forums.ear
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira