File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/net/servicestack/idea Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
1
<idea-plugin version =" 2" >
2
2
<id >net.servicestack.ideaplugin</id >
3
3
<name >ServiceStack</name >
4
- <version >1.0.6 </version >
4
+ <version >1.0.7 </version >
5
5
<
vendor email =
" [email protected] " url =
" https://servicestack.net/" >ServiceStack</
vendor >
6
6
7
7
<description ><![CDATA[
8
8
Integration with ServiceStack Web Services, includes support for Java Add ServiceStack Reference.
9
9
]]> </description >
10
10
11
11
<change-notes ><![CDATA[
12
+ 1.0.7 - Client now gets dependency version from ServiceStack.Java tags, falls back to 1.0.13 if it fails. <br />
12
13
1.0.6 - Update client and android dependency versions to 1.0.13. <br />
13
14
1.0.5 - Update client and android dependency versions to 1.0.12. <br />
14
15
1.0.4 - Bug fixes for Maven project support and new versions of net.servicestack:client.<br />
Original file line number Diff line number Diff line change 3
3
import com .google .gson .JsonElement ;
4
4
import com .google .gson .JsonParser ;
5
5
import com .intellij .ide .util .PackageChooserDialog ;
6
+ import com .intellij .notification .Notification ;
7
+ import com .intellij .notification .NotificationType ;
8
+ import com .intellij .notification .Notifications ;
6
9
import com .intellij .openapi .module .Module ;
7
10
import com .intellij .openapi .project .Project ;
8
11
import com .intellij .openapi .ui .TextFieldWithBrowseButton ;
@@ -218,8 +221,15 @@ private void processOK() {
218
221
219
222
} catch (MalformedURLException e ) {
220
223
e .printStackTrace ();
221
- } catch (IOException e ) {
224
+ } catch (Exception e ) {
222
225
e .printStackTrace ();
226
+ Notification notification = new Notification (
227
+ "ServiceStackIDEA" ,
228
+ "Warning Add ServiceStack Reference" ,
229
+ "Unable to get latest version of required dependencies, falling back to known available version.\n " +
230
+ "Please check the JCenter/Maven Central for the latest published versions of the ServiceStack java clients and update your dependencies." ,
231
+ NotificationType .WARNING );
232
+ Notifications .Bus .notify (notification );
223
233
}
224
234
225
235
You can’t perform that action at this time.
0 commit comments