-
1. Sample Portal Extension in EPP 5.1 not overriding anything
vstorm83 Jan 27, 2011 10:59 PM (in response to rraposa)Did you copy the starter.ear from starter/ear/target/ to the deploy directory of jboss ?
-
2. Sample Portal Extension in EPP 5.1 not overriding anything
rraposa Jan 27, 2011 11:08 PM (in response to vstorm83)Good point - the starter.ear file was already in my deploy directory so I didn't have to do that.
-
3. Re: Sample Portal Extension in EPP 5.1 not overriding anything
vstorm83 Jan 27, 2011 11:28 PM (in response to rraposa)Ok, There is a warning in the README.txt file of sample extension project :
WARNING: This can only work if a Unified ClassLoader has been configured on your JBoss (default behavior) and
the load order is first the exoplatform.ear then the sample-ext.ear and finally the starter.ear
I think maybe you should remove and hot redeploy the starter project after deploy the sample-ext (make sure starter is the last one loaded)
-
4. Sample Portal Extension in EPP 5.1 not overriding anything
rraposa Jan 28, 2011 12:12 AM (in response to vstorm83)Vu - thanks for the tip! I'm not sure what I did, but now it is working. One thing I changed was to add "starter" to the list of dependencies - giving it the least priority:
<field name="dependencies">
<collection type="java.util.ArrayList">
<value>
<string>starter</string>
</value>
<value>
<string>eXoResources</string>
</value>
<value>
<string>sample-ext</string>
</value>
</collection>
</field>
But I don't know if this was necessary. Anyway, thanks for your help!
Rich