downloading remote templates

This commit is contained in:
Dmitry Avdeev
2012-11-15 16:48:52 +04:00
parent e814020c24
commit c909260b57
@@ -61,7 +61,7 @@ public class RemoteTemplatesFactory implements ProjectTemplatesFactory {
HttpURLConnection connection = null;
String code = ApplicationInfo.getInstance().getBuild().getProductCode();
try {
connection = getConnection(code + "_templates.xml");
connection = getConnection("IC" + "_templates.xml");
stream = connection.getInputStream();
String text = StreamUtil.readText(stream);
return createFromText(text);