Hi all;
I locally downloaded the p2 -repo, and pointing that as  feature repo.
I use FeatureManagementAdminServiceClient to add the repo programmatically..

This is how i try to add the repo.
featureClient.addRepository(featureRepoLocation, featureRepoName);

But im getting;
org.apache.axis2.AxisFault: Invalid repository location:
C:\Downloads\p2-repo\p2-repo
        at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
        at
org.wso2.carbon.feature.mgt.stub.RepositoryAdminServiceStub.addRepository(RepositoryAdminServiceStub.java:544)

What im doing wrong here?

-Ratha
mobile: (+94)755906608
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to