-
Notifications
You must be signed in to change notification settings - Fork 51
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
Eclipse Development + Eclipse Headless Build #84
Comments
Hi Matthieu, I don't know if this helps you - I am not a Wuff user (only interested). In our RCP application we defined a subproject with no sources, but as a This also means: our Gradle Build is a plain Java compiler build (with But, as development is made with Eclipse - and all Eclipse dependencies Regards, Am 17.07.2015 um 15:12 schrieb Matthieu Vachon:
heute schon etwas /Kritisches/ gelesen? http://www.heise.de/tp/default.html oder: http://www.nachdenkseiten.de |
@carlolf Thanks for the heads-up. That definitely an interesting idea. I see this as an intermediate level between multiple "third-party" projects and a full-blown target platform containing everything I need (Eclipse + non-Eclipse dependencies). On the first migration phase, my goal is to remove those "third-party" projects and convert non-Eclipse projects to Gradle. Using your trick of a single big third-parties project would be a good compromise until I find something better. I could even see some automation here by having a Gradle script in this "meta" project that would:
For information, I started some discussion on Buildship forums (Gradleware official Eclipse plugin for Gradle inside Eclipse) about externalizing what they used for their Eclipse based development here. I hope it will be possible to integrate what they have done within Wuff directly. Again, thanks for the information on your own setup, I appreciate it. Regards, |
@carlolf I'm currently trying some stuff around Wuff, Eclipse development and those kind of stuff. I implemented what you suggested/have in my single-vendor branch on a test repository. If you have a few minutes, maybe you could take at look at the From there, I will check if I could easily transformed the |
Hi Matt, I don't know if I can give you more useful input on your goals. Note that the idea of our fat third party project which just acts as a container for libraries understandable for Eclipse OSGI was constructed long before we went to Gradle as the build tool. Converted Gradle project the main job of it's build script is to create the expected container jar and to do some manipulations on the existing MANIFEST.MF; another task is to generate the eclipse ".classpath" file. (Note: at the moment I have problems with Buildship importing this project; see https://discuss.gradle.org/t/buildship-problem-with-an-eclipse-bundle-project/10488) This all works sufficiently for us - the main developer work is done within Eclipse (working with MANIFEST.MFs, plugin.xml and the like). I'm not very interested using Gradle as a build tool WITHIN Eclipse. The only thing I'm very interested in: Eclipse seen dependencies and Gradle seen dependencies should match. And of course, I do not have any problems if Gradle "sees" much more in the build because using straight Java classpathes instead having the narrower concept of Eclipse/OSGI. To become this right is the Job of the developer working with Eclipse. That said, my interest here was to find a way how the used Eclipse target platform (which is pretty old in our project (3.7.2!) can be used as Gradle build dependencies. At the moment we still use them from a "file repository" - jars are stored in svn, and checked out to a directory within the workspace - this is what I want to change. regards Carlo |
Hi,
First of all, this is more some questions then a real issue. I did not find information on where to ask such question. If it's not the right place, I apologize in advance. Now, to the questions.
What would be the best way to enable both an headless build but still be able to develop the plugin within Eclipse IDE directly. For me, there is some open questions to this as to be able to compile the plugin within Eclipse directly, dependencies needs to be either in the workspace or in the target platform.
For this discussion, assume following projects
Now, to correctly compile the
:plugin
project within Eclipse, what we have currently in our workspace is five projects::api:platform
,:api:services
,:plugin
,:guava
and:jackson
(the last two being jar projects). With this, Eclipse is able to resolve dependencies specified inMANIFEST.MF
file which contains mainly for example:Now, what I would like is remove the need to have
:guava
and:jackson
projects in my workspace. The only way I see to make it work within Eclipse would be create a customized target platform containing base Eclipse SDK plugins as well as all our needed dependencies (transitively).So the question are:
unpuzzle
plugin (by inspecting resolved dependencies, mavenizing everything, and generate a target platform)?In general, any guidelines on how to use Wuff for headless build but make it work so development of plugin can occur in Eclipse is welcome. Do you know any open source projects who are using
Wuff
in their build pipeline? Such example would be great. If there is none, I'm willing to create one to help people understand how everything needs to be wired to work.Regards,
Matt
The text was updated successfully, but these errors were encountered: