-
Notifications
You must be signed in to change notification settings - Fork 148
remove Eclipse structure #180
remove Eclipse structure #180
Conversation
Ahh, again "Contributor License Agreement" |
32580c4
to
f989b9d
Compare
Does it makes sense to maintain this PR ? I just want save my time but on the other hand I want some features, but before the complete project needs some modernization, first step should be a removement of Eclipse to do other stuff faster |
@hannesa2 Thank you for your feedback! Please join us in the team chat to discuss the next steps: https://talk.owncloud.com/channel/mobile (choose GitHub for login) |
When you merge the other open PR's I can continue here. |
Let's move this forward @hannesa2, can you please rebase and solve the conflicts? By the way, having a look at the |
@davigonz Exactly, currently It's only homeopathic. I will do the big change.... |
1a6ccb6
to
83b22c9
Compare
83b22c9
to
56e0031
Compare
@@ -52,7 +52,7 @@ | |||
* @author David González Verdugo | |||
*/ | |||
|
|||
public class GetRemoteStatusOperation extends RemoteOperation<OwnCloudVersion> { | |||
public class GetRemoteStatusOperation extends RemoteOperation<com.owncloud.android.lib.resources.status.OwnCloudVersion> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think com.owncloud.android.lib
doesn't exist anymore, are you sure this is properly compiling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, what are you using to do this migration? Any automatic tool or is manually?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android Studio does it during move of class locations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think
com.owncloud.android.lib
doesn't exist anymore, are you sure this is properly compiling?
settings.gradle
Outdated
@@ -1,2 +1,2 @@ | |||
include ':' | |||
include ':owncloudComLib' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep the name android-library
and also the middle packages com.owncloud.android
instead of directly lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about there is an other unknow app using this lib next to other libs (not Owncloud itself), and any included lib is called android-library
I have it in a current project, the libs are called sdk
and 'library', ... -sad-
With android
you know an obsolete information
With library
you know it's an library ...congratulations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about there is an other unknow app using this lib next to other libs (not Owncloud itself), and any included lib is called android-library
I have it in a current project, the libs are called sdk and 'library', ... -sad-
I agree with this point, you are right, android-library
is not enough but is the name you have set in your ownCloud Library fork if I'm not wrong.
With android you know an obsolete information
Why android
is an obsolete information here? This library is clearly an Android project
What about owncloud-android-library
? It's what we currently have in the official project and is self-explanatory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking about there is an other unknow app using this lib next to other libs (not Owncloud itself), and any included lib is called
android-library
I have it in a current project, the libs are calledsdk
and 'library', ... -sad-
Withandroid
you know an obsolete information
Withlibrary
you know it's an library ...congratulations
with the current owncloud-android-library
you know that this is an android based library to be used in ownCloud, you have all the information and do not need any other information. This is my HO. I do not see any reason to switch the modules' names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I will apply owncloud-android-library
but keep in mind, based on the name you don't know does is deliver GUI elements, communication stuff, general helpers or what else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still do not get what additional information the previous name you had - owncloudComLib - provides in comparison with owncloud-android-library
. Com means communication? If so, you could have detailed it before, I understood it as a domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hannesa2 please include again the packages |
Indeed, thanks for finding. Unfortunately it builds anyway. I will fix |
@davigonz packages are fixed |
|
||
defaultConfig { | ||
minSdkVersion 14 | ||
targetSdkVersion 28 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading the sdk version is not always a trivial task and we do it carefully, with a specific issue to test everything and ensure nothing is broken, so I would keep 26 in compileSdkVersion
and targetSdkVersion
here and in sample client. Android P migration will be faced separately in owncloud/android#2283
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hannesa2 one tiny change more and we are done |
on review request
Merged, let's continue with owncloud/android#2076 then |
This PR is related to owncloud/android#2076 to make it work. Nothing more.
in submodule I didn't take care about test and sample project, they are in old Eclipse structure and converting them to 'normal' Android structure causes DEX errors,...
This can be done in a additional PR