-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to push datasource automatically? #9
Comments
In the "org.eclipse.m2elifecycle-mapping1.0.0pluginExecution>com.jayway.maven.plugins.android.generation2android-maven-plugin[3.8.2,)consume-aar" I changed the to "push", but it shows the following error in the "src/main/resourcestrue" : >>> "Plugin execution not covered by lifecycle configuration: |
The Maven plugin does NOT work with the m2e pluging / with Eclipse. Please try running the command from the command line. If you get the same error, then please contact the android-maven-plugin mailing list. |
But I can only use the projects when I install all the necessary plugins in eclipse, because if any projects has the minimum error, it won't compile! At the moment, even by command line it shows the same error. Correct me if I am wrong, but in order to get the projects compiling(with geoar integration and the automatic push), must I have to install the plugins? I mean, without need to run a command line(because of course I will not ask for my clients to run it in order to get the application functional. Imagine this in Google Play??)! The plugin system(choose to download and install) does not make sense in our app, because the main specification is that the app need to be self contained! |
That is not the case on my machine. I can import the projects as Eclipse projects without compile errors. I understand you don't want to use the plugin mechanism with the download, but it is possible to configure add the plugin manually to the app (by adding it as a dependency in Maven, for example). Have you tried to install the datasource from a repository, just for testing? |
Hey man, I'm sorry about all this time without answering you. We did a lot of things to make this happen, and it works. The actual problem is to load the datasource automatically, without need to click in "Datasource" button and select the plugin. We are studying the code flux to understand how this load works. I could make sure that the plugin is loaded and selected(on Plugin fragment and AR fragment) when the GeoARActivity is opened in our app and I did a lot of modifications in the AR markers in order to show the location's info(image, title, description). There are some bugs yet, but the most important part is the datasource loading automation, to make the user's life easier. I will consider this issue closed, and if I have any news I will report to you. Thank you a lot! |
Thanks for the update! Im really glad it works now. Will you push your changes to GitHub, or can you provide a step-by-step description of what you had to do? Your changes and help might be useful for others who also want to use only one preconfigured datasource. |
I am afraid I can not do it right now, because I'm very very busy! But you can be sure I will do as soon as possible. I think that is important to say: I can help just with some parts of the process, because many things I don't remember how I did, and I'm not sure about some modifications! This happened because the project is huge! I'll notice you soon. |
Hey man, here I am again. Can you tell me where you pass the context to the .apk? Because when I try to log the datasource(Wiki)'s context, it shows null! But in all parts of code, the context it is not null, I can't understand it. Here is the code with all logs: http://pastebin.com/DzzDU9aM. And here is the code where I log the context in the datasource project(in the end of code) and it shows null: http://pastebin.com/jYqz29tg |
@JGeraldoLima You obviously solved this issue yourself since I ran your app the other day. Can you explain your solution here, briefly? Thanks! |
Sure, but I can do this right now! My app is in testing and documentation phase, so I have a lot to do. I'll come back here as soon as possible! |
I followed 52ºNorth wiki steps, but it shows the following error:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.716 s
[INFO] Finished at: 2014-04-11T17:42:42-03:00
[INFO] Final Memory: 32M/481M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:push (default-cli) on project geoar-app: Execution default-cli of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.8.2:push failed: Conversion = h, Flags = -> [Help 1]
I couldn't find the solution and even this error in any site(nor in the stackOverFlow). Have you seen this error before?
The text was updated successfully, but these errors were encountered: