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 11<idea-plugin version =" 2" >
22 <id >net.servicestack.ideaplugin</id >
33 <name >ServiceStack</name >
4- <version >1.0.6 </version >
4+ <version >1.0.7 </version >
55 <vendor email =" team@servicestack.net" url =" https://servicestack.net/" >ServiceStack</vendor >
66
77 <description ><![CDATA[
88 Integration with ServiceStack Web Services, includes support for Java Add ServiceStack Reference.
99 ]]> </description >
1010
1111 <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 />
1213 1.0.6 - Update client and android dependency versions to 1.0.13. <br />
1314 1.0.5 - Update client and android dependency versions to 1.0.12. <br />
1415 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 33import com .google .gson .JsonElement ;
44import com .google .gson .JsonParser ;
55import com .intellij .ide .util .PackageChooserDialog ;
6+ import com .intellij .notification .Notification ;
7+ import com .intellij .notification .NotificationType ;
8+ import com .intellij .notification .Notifications ;
69import com .intellij .openapi .module .Module ;
710import com .intellij .openapi .project .Project ;
811import com .intellij .openapi .ui .TextFieldWithBrowseButton ;
@@ -218,8 +221,15 @@ private void processOK() {
218221
219222 } catch (MalformedURLException e ) {
220223 e .printStackTrace ();
221- } catch (IOException e ) {
224+ } catch (Exception e ) {
222225 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 );
223233 }
224234
225235
You can’t perform that action at this time.
0 commit comments