microsoft / msopentech-tools-for-intellij

Plugin for easy and fast development to enable developers of Android Apps to connect to Office 365 services and Azure Mobile Services, and developers of Java middleware to connect to Azure compute services
Apache License 2.0
28 stars 34 forks source link

PublishSettings file cannot be imported #374

Open manasasrinivas opened 9 years ago

manasasrinivas commented 9 years ago

*.PublishSettings file generated for Website from Azure console (by clicking Download the publish profile) cannot be imported into Eclipse Luna. Following steps have been done:

  1. Simple Java EE Maven project is packaged for Azure (with button "Package for Azure";
  2. Right click on this project, Azure->Publish to Azure;
  3. Then Import from PUBLISH-SETTINGS;
  4. Download the publish profile from https://manage.windowsazure.com/publishsettings
  5. Following message is shown while importing: Importing xxx.PublishSettings file failed. Reason: Failed to parse file. Ensure publish settings file is valid. System Details:
  6. OS Windows 7 Home Basic 64-bit
  7. JRE 1.7.0, Eclipse Luna
manasasrinivas commented 9 years ago

<?xml version="1.0" encoding="utf-8"?>

BeatriceOltean commented 8 years ago

Thank you for sharing the Publish Settings file . We guess this is related to the proxy settings.

BeatriceOltean commented 8 years ago

We cannot reproduce the issue and we assume this is related to some proxy settings. Would you be able to send us the log file from C:\Users.IdeaIC14\system\log\idea.log file if you are using the Community Edition or the C:\Users.IntelliJIdea14\system\log\idea.log if you are using the Ultimate edition?

BeatriceOltean commented 8 years ago

Also the text you shared on Jul 30 is missing some text(by copy paste to github) but we generated the missing text and we are able to actually import the publish settings file with the correct subscription

iandow commented 8 years ago

I'm also unable to import my publishsettings file. My error is different though. My error says, "error constructing MAC: java.lang.SecurityException: JCE cannot authenticate the provider BC".

I'm using IntelliJ 13.1 with plugin version 0.1.255. screen shot 2015-12-14 at 1 05 42 pm screen shot 2015-12-14 at 1 05 19 pm

lenala commented 8 years ago

Are you using Java 6? Currently for the plugin we support only Java 7+, please let us know if you see this error with Java 7+ or switching to Java 7 does not solve the problem.

iandow commented 8 years ago

I'm using Java 8.

martinsawicki commented 8 years ago

we still can't reproduce this issue on our side. We'll play around with some other ideas... In the meantime to make sure IntelliJ is really using Java 8, you can check if the following file /Applications/Intellij IDEA 15.app/Contents/Info.plist ---- inside JVMOptions, from JVMVersion, remove 1.6+ and make sure it only says 1.7+