is it possible to use the .java extension files in Xcode? - xcode

can I call the java extension files in the Xcode?.i.e Can I create the Object for that class.
Thanks in advance

I think it is not possible as far as my knowledge

Xcode used to have some support for Java (e.g. you could have java projects).
now, you would have to setup custom build phases for your Java sources. so, it could function as a tool, but i think most of the functionality has been pulled by now - you'd actually have better luck using older versions of Xcode, which included project and target templates for Java stuffs.
on osx, Idea or Eclipse (or others) is better suited for Java.

Related

How to add Different flavors to android library in maven?

I have created a library, which is distributed with maven. Right now I would like to add new library as a dependency, which size is more than 8 mb.
I want to make that dependency as optional and this is why I think that creating a different library flavor would be correct way (might be wrong, I would be open to other solutions)
However, I searched and found that I can't do that with libraries..
Maybe something changed, or is there a different way to implement optional dependency to library, which should be managed by the user who integrates my library. I would like to keep same dependency name in order to maintain only single version of library.
Thanks in advance :)

Eclipse workbench translation does not show translations for SWT

To translate my RCP App. I would like to use fragments. I have followed this tip from vogella.com to translate SWT and JFace and it worked very fine.
Now I would like to translate workbench. Using the same approach, I have created a fragment project, and put properties files along with their packages extracted from related babel project: org.eclipse.ui.workbench.nl_XXXX.
The properties files are located inside packages named equally to the ones in the host plugin
I've added a fragment to the RCP feature project
I've added a fragment to the launch configuration
But it doesn't work!
Does someone have any idea what I'm doing wrong and if my solution is the right approach?
Eclipse workbench translations can be obtained from the Babel project, including fragments for SWT.
Unfortunately, it seems that at least for the Oxygen release the SWT fragments do not (yet) contain the actual properties files with the translated messages.
However, SWT provides its own translation fragments, that can be obtained from http://eclipse.org/swt/language.php
Note that the Babel project is mainly a community effort and since Oxygen is relatively new, it might take some time for the language packs to catch up with the latest release.

How to use Couchbase.Lite-PCL in a Xamarin Forms project?

I see there's a Couchbase.Lite-PCL in nuget which has been published recently. Is this capable of running in the PCL? Anyone knows how to make it work? I couldn't find any documentation on this.
It is not an official NuGet package, so your milage may vary.
It does have the dll's in a portable folder, and the dll's are added fine to a PCL and the project seems to build.
Try it it, it might work fine, but don't expect any direct support from the couchbase people.
Alternatively you could implement an Interface in your PCL, which you implement per platform with the methods you need from the official couchbase nuget. Then inject that platform specific implementation at runtime through the IoC container Xamarin.Forms provide.

How to create custom library with gradle `compile` support in AndroidStudio?

I'd like to create my own gradle library, that can be compiled into other projects using gradle compile statement.
Example from Picasso's README:
Download the latest JAR or grab via Gradle:
compile 'com.squareup.picasso:picasso:2.5.2'
I'm developing few applications that share common source: fragments, views, some logic... Sometimes I extend these sources while I'm developing app A, sometimes while I'm developing app B,... And I feel that copy-paste of packages/classes in Android Library Module is not an proper solution.
So I would like to setup my own library, that:
it could be easily deployed to as gradle library that could be used by compile.
I can easily develop/extend it together with currently developed application
Disclaimer: I had been googling it a lot, but without luck.
If you want to reuse a library across completely separate projects then you'll want to publish your library to repository. Assuming this is open source and you don't mind sharing, you could use JCenter, which is already added as a repository to Android projects by default.
https://www.virag.si/2015/01/publishing-gradle-android-library-to-jcenter/

How is Maven's support for other languages, as well as writing plugins to support other languages?

I recently asked about a maven like tool for other languages but there hasn't been any responses (except for a few upvotes :). Given that, I've decided that maybe using Maven is good, but I'd have to write my own plugins to do simple things
This gives rise to a number of issues, and I'd like to hear about solutions that people are using in their daily process:
running other build/release systems and mostly use Maven for packaging/dependency management? (msbuild, vcbuild, cmake, setuptools)
working directly with other languages:
The native-archive-plugin supports C/C++, but does it integrate with visual studio?
Are there other plugins for more langugages, that I've missed?
how hard is it to write your own plugin for this?
Question:
What is your recommended approach for managing non-Java languages and artefacts with Maven?
I'm currenctly using maven-scala-plugin and it work just great. I only put my sources to src/main/scala instead of java and bind scala:compile goal to compile phase and that's it. But scala is very close to java, so the issues with c++ might arise.

Resources