[ 
https://issues.apache.org/jira/browse/JS2-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ate Douma reopened JS2-688:
---------------------------


David,

The build for the jetspeed-api is broken as result of adding the new 
o.a.j.layout.JetspeedPowerToolFactory interface.
It depends on the jetspeedPowerTool interface which still is defined in the 
jetspeed-portal component.
Although moving that interface to the jetspeed-api would seem easy enough the 
do, there is a caveat: it exposes the commons-configuration Configuration class.
And because the jetspeed-api needs to be deployed in the shared/lib context, it 
would pull in the commons-configuration there too, which we definitely don't 
want (not even can).

So, this solution more or less isn't going to work out and we need to think of 
some workaround for it.
Changing the JetspeedPowerTool interface to not expose commons-configuration 
might be a way to do it, but I'm not sure that's feasible.

I've scanned the (Java) code for usage of the specific method: Configuration 
getTypeConfiguration(String type, String name, String location), and have found 
none, but maybe there are extensions out there which might use it?
If not, we could opt for changing the interface and return a Properties object 
instead.

WDYT?

> Unable to use Jetspeed services
> -------------------------------
>
>                 Key: JS2-688
>                 URL: https://issues.apache.org/jira/browse/JS2-688
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Assembly/Configuration
>    Affects Versions: 2.2
>         Environment: WINXP
> MYSQL
> Jetspeed-2.2-dev
>            Reporter: Vivek
>         Assigned To: David Sean Taylor
>             Fix For: 2.1.1
>
>
> Hi 
> I am unable to use the "CommonPortletServices.CPS_JETSPEED_POWERTOOL_FACTORY"
> When ever i try to use this service Class cast exception occurred.
> I have already made a entry in jetspeed-portlet.xml as <js:service 
> name='Powertools'/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to