Commit Graph

58 Commits (b52ee401c8be8e4eadfce6cd2b3d4a78b7923975)

Author SHA1 Message Date
Thomas Mäder e4055918de
Detect Simple Java Projects on Import (#12041)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2019-01-16 14:58:44 +01:00
Victor V. Rubezhny f9ee2eab2c New folders do not register in the jdt.ls workspace #10115 (#11084)
This fix adds a filtering of java projects (folders from the projects
of other types will not be reported to jdt.ls)

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 1447b8ce9c Fix for RunPlainJavaProjectTest test (#11133)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 5368f37be5 Provide mock for EventService to fix NPE
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Victor V. Rubezhny 7efbacc274 Source folders of Plain Java project are not properly shown in Project Explorer after WS is restarted #10456 (#11003)
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 3e7a23c7bb Use notifications instead of client commands (#11057)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Victor V. Rubezhny 46582b22eb New folders do not register in the jdt.ls workspace #10115 (#10893)
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-10-17 15:05:02 +02:00
Victor V. Rubezhny d99ed11abd New folders do not register in the jdt.ls workspace #10115 (#10665)
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d6160cbe86 Merging master
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder 89b15914e4 Read resources relative to class (#10339)
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder bdf9fa5a9c Fixups after rebase
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder aa5cd88b07 Make jdt.ls branch work with refactored LS launchers
Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko 993a9665e6 Fix after rebase
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Thomas Mäder c68ec14404 6682 Use jdt.ls for Usages
Use jdt.ls for usages

Signed-off-by: Thomas Mäder <tmader@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 97b232e9ec Synchronize already existed plain java projects with jdt.ls (#8209)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Anatoliy Bazko d636a907d0 CHE-8049: Update simple java project when jdt.ls is ready (#8198)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2018-10-17 15:05:02 +02:00
Valeriy Svydenko 1114991f10 Add support for "Simple Java" projects for jdt.ls (#8065)
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
2018-10-17 15:05:02 +02:00
Sergii Kabashniuk 65bd65e23b Upgrade to new dependency mockito-testng (#10647) 2018-10-10 13:58:33 +03:00
Mykhailo Kuznietsov 07263f1e30
Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
Mykhailo Kuznietsov 15d23edc91
Update license to EPL 2.0 (#10531) 2018-07-31 11:24:36 +03:00
Gennady Azarenkov 00ca1592c7
Make it possible to have distributed ProjectRegistry (#9848)
* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat

* get projects folder from workkspace configuration

* Merge remote-tracking branch 'upstream/master'

* clean code

* clean code

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* Revert "Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined"

This reverts commit 127a79e54c3e7f97a74f0103506025eb5e181777.

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* replace provided attribute values with stored (src, out) in PlainJavaProjectType

* fix PlainJavaProjectType for getting rid and deprecate using SettableValueProvider

* remove comented code

* hide brouse source folder button, set source folder field as disabled

* hide the browse source button, set source folder field to read only mode, remove highlighter from the source folder field

* adapt test for current changes on UI, set save button to enable state

* apply formatting

* fs cache PT

* fix order of steps in the test

* Refactor RegisteredProject to make it possible to cache it (as DTO) to local file

* cache Projects and PTs to files

* Make it possible to have several impls for ProjectRegistry preparing it to be distributed across multi machines env

* merge upstream

* merge upstream

* merge upstream

* Update MavenServerService.java

* clean code

* small fix

* small fix

* small fix
2018-05-31 15:26:42 +03:00
Dmytro Kulieshov 119a61b7bb
Fixed possible places of failure due to not closing InputStreams(#9780)
Signed-off-by: Dmytro Kulieshov <dkuliesh@redhat.com>
2018-05-25 15:23:01 +03:00
Gennady Azarenkov 89e3851127
Rework PlainJava project type and Deprecate SettableValueProvider (#9634)
* Adding pipeline

* del jenkinsfile

* Make exec agent not to use setsid for other than Linux envs

* revert pom.xml

* goformat

* get projects folder from workkspace configuration

* Merge remote-tracking branch 'upstream/master'

* clean code

* clean code

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* Revert "Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined"

This reverts commit 127a79e54c3e7f97a74f0103506025eb5e181777.

* Fix calculation Projects Root so it wont cause NPE if there are no 'project' volume defined

* replace provided attribute values with stored (src, out) in PlainJavaProjectType

* fix PlainJavaProjectType for getting rid and deprecate using SettableValueProvider

* remove comented code

* hide brouse source folder button, set source folder field as disabled

* hide the browse source button, set source folder field to read only mode, remove highlighter from the source folder field

* adapt test for current changes on UI, set save button to enable state

* apply formatting

* fix order of steps in the test
2018-05-08 11:05:38 +03:00
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
Vitalii Parfonov 0a772ca76e
CHE-6848: Navigation to file improvement: Provide filtering binary files and sorting results by extensions (#7983) 2017-12-22 13:06:47 +02:00
Dmytro Kulieshov 0f635cf122
Added JSON-RPC back-end to Project API and removed deprecated VFS classes (#7380) 2017-11-20 12:02:46 +02:00
Florent BENOIT 3f262e620e Cleanup some Mockito deprecated usage (che6) (#6864)
* Cleanup some Mockito deprecated usage
org.mockito.Matchers —> org.mockito.ArgumentMatchers
org.mockito.runners.MockitoJUnitRunner —> org.mockito.junit.MockitoJUnitRunner

Change-Id: Icf7351cb58e0f42fa95885c2d2cf6b5e98206c35
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-21 09:07:43 +02:00
Florent BENOIT 6a95b6d74a Apply google format v1.4 https://github.com/google/google-java-format/releases/tag/google-java-format-1.4
Change-Id: I5df30c23165df1fd39eef4c57893bebd1d681c1d
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-19 22:23:04 +02:00
Sergii Kabashniuk 70ac13c008 Merge remote-tracking branch 'origin/master' into che6 2017-10-12 16:14:51 +03:00
Dmytro Kulieshov c35d27e7eb Removing deprecated FileTreeWatcher (#6688) 2017-10-12 15:21:55 +03:00
Artem Zatsarynnyi 22c21265aa Merge branch 'master' into spi 2017-10-11 10:16:43 +03:00
Valeriy Svydenko e2439d78d9 Send events from server to client about project's changes (#6628) 2017-10-10 15:46:27 +03:00
Sergii Kabashniuk 6e9825c699 Used Google Java Codestyle 2017-08-18 17:16:54 +03:00
Sergii Kabashniuk 5b373e6cf5 Used Google Java Codestyle (#5851) 2017-08-18 17:00:58 +03:00
Artem Zatsarynnyi a552e67a76 Merge branch 'master' into spi 2017-08-17 16:40:48 +03:00
Mykhailo Kuznietsov 69d5148385 Changed copyright owner to "Red Hat, Inc." in license headers (#5964)
Change license header contributor to Red Hat, Inc.
2017-08-11 10:46:58 +03:00
Artem Zatsarynnyi 1d5648fd6e Fix building project with maven (#5354) 2017-06-12 23:48:28 +03:00
Gennady Azarenkov 493e07ca95 Move NewProjectConfig from model to project-shared 2017-04-19 09:15:51 +03:00
Dmitry Kuleshov 23ad83d8c1 Tree walk based file watchers replacement (#4368) 2017-03-10 13:31:38 +02:00
Mihail Kuznyetsov 0e8b21ad3f Set new license year 2017-01-04 17:10:31 +02:00
Dmitry Kuleshov 301121d777 Dynamic file watchers (#3482) 2016-12-26 14:34:17 +02:00
Roman Nikitenko 2339b0dd6e CHE-2937. Add ability to create batch of projects 2016-11-30 19:08:09 +02:00
Vitalii Parfonov 9b7909153f che#2550: replaced .codenvy folder to .che (#2919)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-11-23 09:21:31 +02:00
Vitalii Parfonov 9951639518 CHE-2098:fix generation Project with Maven Archetype. (#2872)
Archetype Plugin parameters transfer to the REST Project API via query parameters

Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
2016-10-25 13:36:19 +03:00
Vitalii Parfonov 0003b2324b che#2608: added vfs exlude filters, small vfs watcher fix, improved project tree changes detection algorithm (#2713)
Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-10-05 18:41:00 +03:00
Dmitry Kuleshov 5d267fe305 VFS file watcher based use cases implementations (#2339)
* che#1910: added several new user workflows implementations for VFS

Signed-off-by: Dmitry Kuleshov <dkuleshov@codenvy.com>
2016-09-07 11:22:22 +03:00
Valeriy Svydenko 1bb6551c02 CHE-1843: change value of 'java.output.folder' attribute
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-07-26 17:08:35 +03:00
Valeriy Svydenko 1b528de3a2 CHE-1208: add an ability to configure several source folders
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-29 16:11:27 +03:00
Valeriy Svydenko 4fdf548852 CODENVY-630: save a value of the library folder
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
2016-06-23 10:17:34 +03:00
Vitalii Parfonov 560edd8199 Export proxy object instead of real maven terminal object. … (#1500)
* Export proxy object instead of real maven terminal object. Avoid NPE in case jar lab's are not set for javac project
Signed-off-by: Vitaly Parfonov <vparfonov@codenvy.com>
2016-06-14 14:01:43 +03:00