]>
source.dussan.org Git - vaadin-framework.git/log
Leif Åstrand [Thu, 1 Sep 2016 08:40:05 +0000 (11:40 +0300)]
Move uitests for the legacy Grid to a separate v7 package
Change-Id: Iba9614f9809714b2d3ac564e737f03e8f89c6f82
Artur Signell [Thu, 1 Sep 2016 09:19:07 +0000 (12:19 +0300)]
Fix formatting so that it is shown correctly in GitHub
Change-Id: Ieb59f0d85d4a8bcef0dc60c849818cf1928b6f78
Teemu Suo-Anttila [Wed, 31 Aug 2016 13:03:20 +0000 (16:03 +0300)]
Add simple data change handling for Selects
Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab
Artur Signell [Mon, 29 Aug 2016 19:11:23 +0000 (22:11 +0300)]
Fix animation end listeners so they are always removed (#17903)
Fixes ComboBox suggestion popup so that it will not automatically
close when clicking the popup button, if the user happened to
double click on the button earlier.
Ported from 7.7
Change-Id: I6cd8c7744ca4c52a7bd52ab12c23fb55522f0611
Artur Signell [Wed, 31 Aug 2016 13:17:50 +0000 (16:17 +0300)]
Implement Binder.saveIfValid and fix Binder.save to throw exception
Change-Id: I44498b4b34b2e9732b50abb14e8eb7be01314158
Artur Signell [Wed, 31 Aug 2016 12:56:58 +0000 (15:56 +0300)]
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
Johannes Dahlström [Wed, 24 Aug 2016 08:26:12 +0000 (11:26 +0300)]
Implement SingleSelection on client and server
Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167
Teemu Suo-Anttila [Wed, 31 Aug 2016 12:09:50 +0000 (15:09 +0300)]
Enable assertions for TestingWidgetset, add test to verify this
Change-Id: I0c5fc24e490edc6e0d3fb7a9b1d2a71d564bb13c
Henri Sara [Wed, 31 Aug 2016 10:20:01 +0000 (13:20 +0300)]
Increase memory for compatibility-client-compiled SDM
Change-Id: I13a7df46f768390cb35c5519a6cfc444355b15f4
Johannes Dahlström [Tue, 30 Aug 2016 12:30:13 +0000 (15:30 +0300)]
Rename TypedDataGenerator to DataGenerator
Also add a no-op default implementation to destroyData,
making DataGenerator a functional interface.
Change-Id: I546f443150da23debd4a2691003e435367469439
Artur Signell [Wed, 31 Aug 2016 06:50:59 +0000 (09:50 +0300)]
Stop running test on IE11 which does not shift click when it should
Change-Id: I4b7a05f4918e14c6644514d036f33178d999b086
Artur Signell [Tue, 30 Aug 2016 20:20:18 +0000 (23:20 +0300)]
Duplicate AbstractField state and connector into compatibility-client
Change-Id: Ib6339f32ac348c144b19bb4a6ab724781e35196b
Artur Signell [Tue, 30 Aug 2016 11:23:43 +0000 (14:23 +0300)]
Use servlet context classloader when finding servlet class for websockets (#20024)
Change-Id: Ia885ecebe854c0aeda47be2bbc9a9d8a47a03d5c
Artur Signell [Tue, 30 Aug 2016 14:15:01 +0000 (17:15 +0300)]
Organize imports
Change-Id: Ie58291fd4858d5421b23e56603808f158d559687
Artur Signell [Tue, 30 Aug 2016 14:16:47 +0000 (17:16 +0300)]
Use new Label instead of old
Change-Id: I1c7c6f84a665679321d98384cb7d3bf494fafd39
Artur Signell [Tue, 30 Aug 2016 14:16:40 +0000 (17:16 +0300)]
Remove Legacy prefix
Change-Id: I8460d2426662d9f8d60d6b7d532e95df33cd95b4
Artur Signell [Tue, 30 Aug 2016 11:18:12 +0000 (14:18 +0300)]
Move and duplicate client side and state to compatibility package
* DateField
* PopupDateField
* InlineDateField
Change-Id: I7d6c0253435dcdf424b7914d025e81af504be11d
Artur Signell [Tue, 30 Aug 2016 10:42:53 +0000 (13:42 +0300)]
Move and duplicate client side and state to compatibility package
* ProgressBar
* ProgressIndicator
* OptionGroup
* Table
* Tree
* TreeTable
Change-Id: Ie1249631cbdd2721f2c3a36e1b8ffc8160fca6aa
Artur Signell [Tue, 30 Aug 2016 10:16:41 +0000 (13:16 +0300)]
Move and duplicate client side and state to compatibility package
* Calendar
* CheckBox
* CustomField
* Label
* RichTextArea
* TextField
* TextArea
Change-Id: Iba8915195e4d205fb4db9a4df5d96a4a10ab2f96
Aleksi Hietanen [Tue, 30 Aug 2016 08:32:37 +0000 (11:32 +0300)]
Fix label widths in several tests
Change-Id: I70f296fc5d1d2957698a169e501dcd1c43589503
Matti Tahvonen [Mon, 22 Aug 2016 15:30:59 +0000 (18:30 +0300)]
Added a fallback value for useragent (#20172)
Without this change, some browsers, like GoogleBot, don't properly render the page.
Instead of weird JS exception (and hit to server with 404) we should at least try
to render the app with all browser. As webikit/chromium based browsers are
nowadays most popular, falling back to "safari" permutation.
Change-Id: I4275110962432b2552d51715a86a8e815fe539ad
Teemu Suo-Anttila [Tue, 30 Aug 2016 09:30:37 +0000 (12:30 +0300)]
Duplicate shared classes of the Vaadin 7 Grid
Change-Id: I50cdcef0beb2f384636eb40c2f3f7493db52ac87
Teemu Suo-Anttila [Fri, 26 Aug 2016 11:53:46 +0000 (14:53 +0300)]
Duplicate client-side of the Vaadin 7 Grid
Change-Id: I069df183806937c2d97eb3e9c8a073ef53ab5c24
Henri Sara [Mon, 29 Aug 2016 12:06:39 +0000 (15:06 +0300)]
Support in-memory filtering in DataCommunicator
Change-Id: Ia3cd36cea43a96138eaefff708b694d6e9e96885
Simo-Pekka Koskinen [Mon, 4 Jul 2016 11:15:07 +0000 (14:15 +0300)]
Fixed a broken comment
Fixed broken comment on 'Calling Javascript' -paragraph.
Change-Id: I5098f21006f00eab48ce5cd55e3bb14bee040fbf
Enver Haase [Mon, 29 Aug 2016 20:21:58 +0000 (23:21 +0300)]
Mention vaadin-push in getting-started
Change-Id: Ic46254b77d1226c2a00ed1ad2b2f96a452a4609a
Jens Jansson [Mon, 4 Jul 2016 10:50:32 +0000 (13:50 +0300)]
Code highlighting and fixed a broken comment
Change-Id: Ibc5844aa4ffba5691a6e3a2d1b962ce28e2aebcf
Leif Åstrand [Wed, 13 Jul 2016 11:41:43 +0000 (14:41 +0300)]
Add empty lines so :: is recognized as definitions
Change-Id: Ifddcdda98090c5e5262d000a131c53109ce2c5c5
Marcus Hellberg [Mon, 29 Aug 2016 19:52:00 +0000 (12:52 -0700)]
Fixed event name to match example code
Change-Id: Id9333bae30c7bf5c24dcd0aca1cbee671c28910e
Matti Tahvonen [Tue, 31 May 2016 11:00:00 +0000 (14:00 +0300)]
Fire actions before removing menu from the DOM (#20080)
Change-Id: Ic1cd285c697a05d186d81935f632881e4cf561bf
Artur Signell [Mon, 29 Aug 2016 10:34:37 +0000 (13:34 +0300)]
Fix OSGi support in compatibility packages
Change-Id: I0f04060c70d83724c08c37e93dd57a2d93b065a8
Artur Signell [Mon, 29 Aug 2016 11:59:28 +0000 (14:59 +0300)]
Move V7 Converter and ConverterFactory to compatibility package
Change-Id: I48d1ea501a621f653bde840d646ae01e6edc3eea
Artur Signell [Mon, 29 Aug 2016 13:23:02 +0000 (16:23 +0300)]
Add Eclipse launch configurations for super dev mode
Change-Id: Ia82a5904e0e85aaae1ecd0136ac56ff2e2cfcc86
Alejandro Duarte [Mon, 29 Aug 2016 10:45:33 +0000 (13:45 +0300)]
Updated tutorial to Vaadin 7.7.0
Change-Id: I1ef5a89a7e9f700a9302ff535d7e30b692316e22
Aleksi Hietanen [Mon, 29 Aug 2016 10:21:49 +0000 (13:21 +0300)]
Fix Label widths in ValoThemeUITests
New Label implementation no longer sets the width to 100%
in the constructor, breaking some screenshot tests.
Change-Id: Ib627ce3d08449df98a0b54d96fa88a0b06fc2384
Aleksi Hietanen [Thu, 25 Aug 2016 08:32:58 +0000 (11:32 +0300)]
Fix placeholder styling
Placeholder styling was being applied to components even
when the placeholder was not visible. This commit removes
custom placeholder styling in favor of browser defaults.
Change-Id: I2a1b696235070435511867a10619fcdecd187e3b
Teemu Suo-Anttila [Wed, 24 Aug 2016 11:05:02 +0000 (14:05 +0300)]
Implement DetailsGenerators for Grid
Change-Id: I09057b990f10bde6cf72a16677e58cb2bc9a7029
Artur Signell [Fri, 26 Aug 2016 14:53:14 +0000 (17:53 +0300)]
Make window.vaadin.forceSync do something again
Change-Id: I220b29a81aa2c1b05743d5bf03bc4ca2eb017dd5
Artur Signell [Fri, 26 Aug 2016 13:57:12 +0000 (16:57 +0300)]
Change Label default width to undefined to match other components
Change-Id: Ia4e6bbe0673c20e96bdda240570247ff9b1f6d93
Artur Signell [Thu, 25 Aug 2016 11:01:28 +0000 (14:01 +0300)]
Mark java validation packages as optional for OSGi
Change-Id: I7214c7b0214197452a15202996503ce7cae5a1b0
Artur Signell [Fri, 26 Aug 2016 08:36:24 +0000 (11:36 +0300)]
Move remaining Vaadin 7 classes to the compatibility package
Change-Id: I3be37350a638028d89fb527a3dfb09e74fdebeed
Artur Signell [Fri, 26 Aug 2016 09:40:27 +0000 (12:40 +0300)]
Remove dependency from ErrorMessage to old exception types
Change-Id: Ifbc8d65ac5da8f6e68545ded508b28371523c5b0
Artur Signell [Fri, 26 Aug 2016 06:55:30 +0000 (09:55 +0300)]
Move old converters and DefaultConverterFactory to compatibility package
Change-Id: I42b933d1cb46cccb4a00211ee6eab699723b8804
Artur Signell [Thu, 25 Aug 2016 16:37:57 +0000 (19:37 +0300)]
Implement new Label
Label does intentionally not implement HasValue as it
cannot provide a value to a model
Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
Artur Signell [Thu, 25 Aug 2016 12:16:17 +0000 (15:16 +0300)]
Remove Property dependency from TextField
Change-Id: I33ec7d1b8cb00617f67f383829bb7da083f1a7cd
Artur Signell [Thu, 25 Aug 2016 11:46:30 +0000 (14:46 +0300)]
Move old Field and AbstractField to compatibility package
Change-Id: Ia9b6f77763abac87ec61d1ee198cb8d41419a934
Artur Signell [Thu, 25 Aug 2016 10:21:36 +0000 (13:21 +0300)]
Move old TextField to compatibility package
Change-Id: Ic1e8d3f9859f5e496c0e27e2fece4b5a9da74f01
Artur Signell [Fri, 26 Aug 2016 07:56:51 +0000 (10:56 +0300)]
Move VOptionGroup and dependants to the compatibility package
Change-Id: I49f272480c1d109f7c8fda16e7a05765f46026c5
Artur Signell [Fri, 26 Aug 2016 07:57:19 +0000 (10:57 +0300)]
Move PasswordFieldConnector to correct package
Change-Id: I8ef025863b2b004473eae0a458e77be6a4c8fa86
Artur Signell [Fri, 26 Aug 2016 08:34:38 +0000 (11:34 +0300)]
Add missing header
Change-Id: Ibb3b19bb19296cfd0777bb7d1c5852aa6f926fb1
Aleksi Hietanen [Thu, 25 Aug 2016 16:06:30 +0000 (19:06 +0300)]
Implement new ProgressBar
Change-Id: Ie5c4b0f4d9bc65e484f08832343ba97fff61a9b6
Aleksi Hietanen [Wed, 10 Aug 2016 11:18:47 +0000 (14:18 +0300)]
Update TextArea to extend AbstractFieldNew (#53)
Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
Artur Signell [Thu, 25 Aug 2016 10:08:17 +0000 (13:08 +0300)]
Move old PasswordField to compatibility package
Change-Id: I8db672100e06cbe2eb53de2b0ec2a98b8febe70b
Artur Signell [Tue, 23 Aug 2016 19:07:52 +0000 (22:07 +0300)]
Convert LoginForm to use new TextField
Add basic tests for logging in and for changing caption
Change-Id: I6dca2eedb5832db0eb409f0621092d0e723e0654
Artur Signell [Tue, 23 Aug 2016 19:03:53 +0000 (22:03 +0300)]
Clean up LoginForm
Change-Id: If05d20348fc999941d7d46170937533c29e1ad1b
Henri Sara [Thu, 25 Aug 2016 07:35:31 +0000 (10:35 +0300)]
Move ComboBox shared classes to vaadin-compatibility-shared
Change-Id: Icdb0ddc011e8749f4c3f159d2ecd94e4c564d28f
Artur Signell [Tue, 23 Aug 2016 12:16:55 +0000 (15:16 +0300)]
Move Vaadin 7 CheckBox to compatibility package
Adds a v7 AbstractFieldConnector for the compatibility package
Remove dependency from core to old AbstractField
Change-Id: I5da665de69cf469adfa946cf18aae1a3e56c3486
Johannes Dahlström [Tue, 23 Aug 2016 12:45:51 +0000 (15:45 +0300)]
Add SelectionModel interface and selection API to Listing
Concrete selection models not implemented in this patch.
Change-Id: Ibcd64817efa704b6dd664bfaccb2d8c5110720fb
Henri Sara [Thu, 25 Aug 2016 07:39:02 +0000 (10:39 +0300)]
Add sources to vaadin-compatibility-shared JAR
This is required by vaadin-compatibility-client-compiled client side
compilation.
Change-Id: I8ef49736eaf6c747d5d8892615dbf93a519f3ee0
Artur Signell [Thu, 25 Aug 2016 08:46:16 +0000 (11:46 +0300)]
Reintroduce variables used in OSGi manifests
Change-Id: I4c0d5cb06eea524b5514e963d8915fd917c7271d
Artur Signell [Tue, 23 Aug 2016 12:18:41 +0000 (15:18 +0300)]
Move Vaadin 7 CustomField to compatibility package
Change-Id: Ie1d37fd2d249bf35e953f095fa80a6905a135793
Artur Signell [Tue, 23 Aug 2016 12:36:51 +0000 (15:36 +0300)]
Move LegacyWindow back to com.vaadin.ui
There are too many dependencies between Legacy* and the core framework
to be able to easily separate them.
Change-Id: I6888e7a370b5d8da587e421abe3cb4686855c72f
Artur Signell [Wed, 24 Aug 2016 20:10:54 +0000 (23:10 +0300)]
Use RPC for TextField cursor position and selection range updates
Change-Id: I48595a1d1a9a1620739d00a499d996026bd51000
Artur Signell [Thu, 25 Aug 2016 07:32:41 +0000 (10:32 +0300)]
Cleanup of TextField
Change-Id: Ia596f58bb0c44e2d70ccf2c0add95d86b33afdcb
Teemu Suo-Anttila [Wed, 24 Aug 2016 09:55:11 +0000 (12:55 +0300)]
Allow multiple data change handlers in client-side data sources
This patch moves Registration to shared so it can be used in
both client and server
Change-Id: I16757f70beb474403903bbcf92c7f850aed68b88
Artur Signell [Wed, 24 Aug 2016 19:19:35 +0000 (22:19 +0300)]
Update Eclipse project to Java 8
Change-Id: I55693dd7ee500d5746df055e6d1ae0099976338d
Artur Signell [Wed, 24 Aug 2016 12:32:34 +0000 (15:32 +0300)]
Change declarative support to use new converters
Change-Id: I3bb2c106a4c4d8556f6f752867da1917e0d3c9a3
Artur Signell [Tue, 23 Aug 2016 20:06:05 +0000 (23:06 +0300)]
Convert Vaadin 7 converters to Vaadin 8 converters
Change-Id: I347e6cd195b2d77ab2399667a69e4c23b0b54eb7
Teemu Suo-Anttila [Wed, 24 Aug 2016 11:04:02 +0000 (14:04 +0300)]
Add listing extension to allow access to data communicator
Change-Id: I4eca9884cf0195bab68d282bf1a6fd8c8b48a0fb
Artur Signell [Tue, 23 Aug 2016 09:06:16 +0000 (12:06 +0300)]
Make binder set null values correctly
Change-Id: I5edf6136f155a9ee5dc5fd6286004f4e8cd8c3db
Teemu Suo-Anttila [Mon, 22 Aug 2016 13:39:50 +0000 (16:39 +0300)]
Add a typed version of the Grid component
Change-Id: I00cbe80ac72787de0c4cc88e1c223badc2c4ae89
Artur Signell [Mon, 22 Aug 2016 19:58:05 +0000 (22:58 +0300)]
Move Item to compatibility package
Change-Id: I51ad45a18d2dcfbd582c7e4bdcca99300d20cee0
Artur Signell [Tue, 23 Aug 2016 12:17:45 +0000 (15:17 +0300)]
Move ProgressBar/ProgressIndicator to correct package
Change-Id: I1caff26291706de6ea3ea507089669b5d93bd2bd
Artur Signell [Tue, 23 Aug 2016 08:22:34 +0000 (11:22 +0300)]
Remove trailing whitespace
Change-Id: I697874595e9f70d606fe15037172b127915e4bfb
Pekka Hyvönen [Tue, 23 Aug 2016 07:40:20 +0000 (10:40 +0300)]
Remove duplicate tests and rename tests BinderTest
BinderTest had duplicate tests which are now removed.
Remaining Binding tests are renamed.
Change-Id: I1b572dcdf40a8d6b4e7e0ce8caa943f8aaaf8320
Henri Sara [Tue, 23 Aug 2016 06:46:42 +0000 (09:46 +0300)]
Ignore missing package.html in checkstyle
Change-Id: I74eeb1f58d8f3dffc92e8dcdb3dc6d32efd82735
Aleksi Hietanen [Fri, 19 Aug 2016 10:02:43 +0000 (13:02 +0300)]
Fix TextField and related tests
- Fixes sendValueChange in TextFieldConnector
- VTextField now adds/removes dependent stylename "focus" on focus/blur
Change-Id: I965c30dd296cdab43ee5dc6cc8c7f8306392d8a2
Artur Signell [Fri, 19 Aug 2016 05:25:29 +0000 (08:25 +0300)]
Move Container to compatibility package
Change-Id: I32bbf4891d6aca9dc9ee8f1b7ae733bc28b4cd30
Artur Signell [Thu, 18 Aug 2016 20:27:29 +0000 (23:27 +0300)]
Rename packages in compatibility-client to use com.vaadin.v7
Change-Id: Id0f178dfc3910ee7492c860d381b2d413e82ba73
Artur Signell [Mon, 22 Aug 2016 10:24:19 +0000 (13:24 +0300)]
Move ProgressBar/ProgressIndicator to compatibility package
Change-Id: I9d8ef17fc4bd903ad6c4e258b800b72029e507fd
Artur Signell [Thu, 18 Aug 2016 20:19:41 +0000 (23:19 +0300)]
Move and rename server classes which go into the compatibility package
* Use com.vaadin.v7
* Use the same class name as in Vaadin 7
* Use a "vaadin7-" declarative prefix for Vaadin 7 components
Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
Johannes Dahlström [Mon, 25 Jul 2016 09:49:26 +0000 (12:49 +0300)]
Implement BeanBinder with JSR-303 validation
Change-Id: Ieaba56e9a26381d98b139845c30d65340dac0639
Artur Signell [Mon, 22 Aug 2016 10:23:25 +0000 (13:23 +0300)]
Include compatibility packages in bom
Change-Id: I3afea4ba5ffbd5c12a89dd42af3a60c4070686fb
Artur Signell [Thu, 18 Aug 2016 20:36:31 +0000 (23:36 +0300)]
Map <vaadin7> declarative prefix to com.vaadin.v7.ui
Change-Id: I3b529cf4c918eb6ce733fa6d126428d759c88345
Artur Signell [Fri, 19 Aug 2016 12:06:29 +0000 (15:06 +0300)]
Remove unused test themes
Change-Id: I38e7986692f833ca92aaa77dd7cad3ce72e3aced
Artur Signell [Thu, 18 Aug 2016 20:07:28 +0000 (23:07 +0300)]
Move DateField and old validators to compatibility package
Change-Id: I800db8383171280c01eb427e121467a37acbca66
Artur Signell [Thu, 18 Aug 2016 19:56:01 +0000 (22:56 +0300)]
Move TextArea to compatibility package
Change-Id: I16b6566340e3ce32a4f94b7554e2f6f583e20486
Artur Signell [Thu, 18 Aug 2016 19:54:48 +0000 (22:54 +0300)]
Move RichTextArea to compatibility package
Change-Id: Ie73adbb0ddaf98aed6554f658625f1d812c3342b
Artur Signell [Thu, 18 Aug 2016 19:51:28 +0000 (22:51 +0300)]
Organize imports
Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
Artur Signell [Thu, 18 Aug 2016 19:10:47 +0000 (22:10 +0300)]
Move remaining selects and container implementations to compatibility package
Because of dependencies also moves
Calendar, ColorPicker, SQLContainer, container filters
Change-Id: I0594cb24f20486ebbca4be578827fea7cdf92108
Artur Signell [Thu, 18 Aug 2016 18:58:46 +0000 (21:58 +0300)]
Move Table/TreeTable to compatibility package
Change-Id: Ic9f2badf8688c32d704be67519c0f4c9a3da0e28
Artur Signell [Thu, 18 Aug 2016 18:51:13 +0000 (21:51 +0300)]
Move selects to compatibility package
Change-Id: I7ee02d34b230e8752174a7f19824f81cbb616c33
Artur Signell [Thu, 18 Aug 2016 15:04:59 +0000 (18:04 +0300)]
Move FieldGroup and Vaadin 7 Grid to compatibility package
Change-Id: I9aaef478e0b67462641239802b924b8461cb9225
Matti Tahvonen [Fri, 1 Jul 2016 14:23:45 +0000 (17:23 +0300)]
Added contributing instructions
Added instructions built by Markus to the project.
Change-Id: I4e5214cf4fec7d2d3068f5a061a0764e6eaec878
Artur Signell [Fri, 19 Aug 2016 13:59:48 +0000 (16:59 +0300)]
Make DevelopmentServerLauncher work again
Change-Id: I2014aa3f491cb18a81de15ac992faddfa4762ac8
Artur Signell [Fri, 19 Aug 2016 12:31:12 +0000 (15:31 +0300)]
Use the same groupId for all modules in the project
Change-Id: I9017e2540450e9548090c7fcdaefb1de3315587c
Artur Signell [Fri, 19 Aug 2016 10:26:11 +0000 (13:26 +0300)]
Delete old test UIs which have no automated test
Change-Id: Ic72fdcc300a5087dd5cfffbe2bf48b7bba2ea76b
Artur Signell [Fri, 19 Aug 2016 05:17:51 +0000 (08:17 +0300)]
Remove package javadocs as they are all out of date
Change-Id: Ie3210997959923f70fbb73be4e9672827366d35a
Denis Anisimov [Thu, 18 Aug 2016 13:24:17 +0000 (16:24 +0300)]
CustomField migration to new AbstractField (#61).
Change-Id: I33dd7aa2cf91ba2606a602c8ba612bcc30b02622
Artur Signell [Fri, 19 Aug 2016 08:12:06 +0000 (11:12 +0300)]
Use versions-maven-plugin 2.3 to avoid NPE while setting project version
Change-Id: I5b9a00466090b22fec374fd7d71b80d745afed26