Hi,
Please refer [1]. There's a separate section in automation.xml to define p2
repositories and you can get the values though AutomationContext.
<featureManagement>
<p2Repositories>
<repository name="localDefault">
<repository repo-id="online-repository">
https://wso2.org/repo</repository>
<repository
repo-id="file-repository">file:///home/krishantha/test</repository>
</repository>
</p2Repositories>
</featureManagement>
Thanks,
Krishantha.
[1]https://docs.wso2.com/display/TA430/Automation.xml+File
On Mon, Jan 19, 2015 at 10:13 AM, Nipuni Perera <[email protected]> wrote:
> Hi,
>
> I am writing tests for the fix, implemented to resolve[1]. This fixes the
> issues with feature management and I am using p2 repo URL[2] for the test
> case. Is it possible to parameterize this p2 repo URL instead using a
> hard-coded value?
>
> [1] https://wso2.org/jira/browse/CARBON-15127
> [2] http://dist.wso2.org/p2/carbon/releases/turing/
>
> Thanks,
> Nipuni
> --
> Nipuni Perera
> Software Engineer; WSO2 Inc.; http://wso2.com
> Email: [email protected]
> Git hub profile: https://github.com/nipuni
> Blog : http://nipunipererablog.blogspot.com/
> Mobile: +94 (71) 5626680
> <http://wso2.com>
>
>
--
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev