how to add uservoice as submodule in eclipse - android-library

I've cloned the repository and defined it as a submodule.
I've followed the instructions for Eclipse - https://github.com/uservoice/uservoice-android-sdk
However this project is built for Android studio with the Gradle dependency.When working in Eclipse it is missing 2 Jars -
signpost-core-1.2.1.2.jar
signpost-commonshttp4-1.2.1.2.jar
Which the project requires in order to run.
But if I add them I won't be able to commit. Does anyone know a solution for this?

Related

Netbeans project: how to add dependency without having a pom-file?

I'm trying to make an old Netbeans project run.
However, certain references are broken:
Normally, one would install mongoldb-java-driver by augmenting the pom-file accordingly, see: https://mongodb.github.io/mongo-java-driver/
However, this Netbeans project does not have a pom file (I don't know why).
How can I add the missing files and folders to the project without a pom-file?
You can try downloading the Netbeans 8.2 from Oracle directly as it will contain by default the maven plugin and in this case might solve your problem.

Jenkins: How to complete a Gradle build with dependencies not in nexus?

I have a Gradle based project that is dependent on a couple of other projects one built via maven another via gradle. I can't push the other projects to our "enterprise" nexus repo because that involves much time/paperwork/pain. So is there a workaround I can use. Locally we simply build the other two projects so they are in our local repo and then can pull them from there. How can I achieve something similar on Jenkins? Each project is in a seprate Git repo.
I think you can do exactly the same thing inside Jenkins.
Before starting to build the gradle project, try checkout other projects firstly, and build them, so it will be installed into your local repo.
Then build the gradle as you did locally.
Br,
Tim

Gradle project dependency not working

Can some one please help me in below:
I am using RTC and checkout Gradle project, but at the end when I am checking the properties and looking for source folder for my build, I am getting nothing.
Also I am not send the repository specific Gradle jars. What i am doing wrong?
I tried including external jars but no luck as their are too many jars.
Error: project is not at all building.
right click on your project then configure and convert it to gradle project.
Refresh and you will see all dependencies.

IntelliJ does not compile my project when I update jar in my local maven repository

I created a maven project with lots of external dependencies. I was able to build it fine. Then I installed new SNAPSHOT of dependency into my local maven repository.
First maven itself was not picking up latest SNAPSHOT. I deleted the old SNAPSHOT. This caused maven to pick up the new SNAPSHOT and I was able to compile against new jar from mvn command line but now IntelliJ is not recognizing any of my imports and I cannot build from IntelliJ (although mvn package works).
How to fix this? If I create a brand new project from same sources in a new folder then IntelliJ works.
In the upper left corner, right-click on your project and re-import Maven. That sometimes works for me. In some cases even that fails, and honestly I've just gone into the M2 repository (~/.m2), and deleted all copies of that particular library. That forces a rebuild as well and seems to work.
I'll be curious to see if someone has a better answer ...

IntelliJ IDEA does not create artifacts from pom.xml

I use the IntelliJ IDEA 12.1.4 under Windows and Linux (Ubuntu). The Maven plugin is installed.
I have a big maven project with many poms. Under Windows the IDEA creates artifacts automatically when I do reimport from maven. But under my Linux system the list of artifacts is empty always.
Is it a bug? How to generate artifacts in the Linux case?
Go to the Maven-Projects-View and click "package" for your aggregator project. IntelliJ will then run Maven which creates all artifacts in the target folder. If you run "install", these artifacts will be copied to the local repository. Maybe you didn't do that under Linux yet, so your repository is empty - under Windows, I suppose that IntelliJ was smart enough to refer to those artifacts while importing the project. I personally do not know of any feature in IntelliJ that would automatically package/install all projects on reimport - I'd consider this rather annyoing.

Resources