Giter Club home page Giter Club logo

buildmonkey's People

Contributors

jotdl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildmonkey's Issues

PluginTestPlugin works only with Gradle 3.4.

For changes in Gradle API the plugin was developed for Gradle version 3.4. With a higher version the following error occurs:

> Failed to apply plugin [id 'de.monkeyworks.buildmonkey.pde.PluginTestPlugin']
   > Could not generate a proxy class for class de.monkeyworks.buildmonkey.pde.testing.PluginTestExtension.

This should be fixed for usage with Gradle 3.5 or higher

publishTargetPlatform missing

In the P2 plugin we can mirror P2 repositories and create a target platform file. But this file should be published over the plugin too. Possible targets are Artifactory, Git or a PUT target.

p2publish: Deployment of dependencies

p2publish can be extended processing the last prerequisite step 'Providing 3rd party dependencies'. This are dependencies taken from Maven repositories (instead of P2 repositories how it mirrorP2repository does). They will be provided as Maven repository (for gradle) and P2 repository (for Eclipse). The artefacts must be renamed be adding a prefix avoiding resolution against mcentral or jcenter. The dependencies in the manifests must contain this prefix too.

Cannot launch exampleApp

Hi,

i'm trying to get the Example RCP App running, but when i try to launch it from inside eclipse it fails because it cannot resolve org.eclipse.equinox.ds

I builded the root project with resolveManifestDependencies build publish and then activated the builded target platform.

After that I tried to launch the application from inside eclipse via the MonkeyExcampleE4Application.product file.

This is the log:
1519401509430.log

updateTargetPlatform

After creating a third party repository, the target platform file (published with publishTargetPlatform) needs to check, if it still contains this feature on this server. If not, it needs to be appended.

Tutorial: RCP Application

As enhancement to #3 we need a tutorial about the build pipeline for an Eclipse RCP applucation. It contains more plugins, features and needs the materialisation at the end. Therefor the materialisation must be implemented first.

Task for manipulating Jar file make it an OSGi bundle with Eclipse nature

A simply to apply task (modifyBundle) with the follwong (script) code has to been provided:

    // Make the crated jar file matching OSGi bundle and Eclipse plugin nature
    jar {
        if (project.file("${resourcesPath}").exists()) {
                with copySpec {
                    from "${projectDir}/${resourcesPath}"
                    into "${resourcesPath}"
                }  
        }
        if (project.file('OSGI-INF').exists()) {
            with copySpec {
                from "${projectDir}/OSGI-INF"
                into 'OSGI-INF'
            }       
        }
    
        manifest {
            // benutze das im Projekt vorliegende File, falls vorhanden:
            def manif = "${projectDir}/META-INF/MANIFEST.MF"
            if (new File(manif).exists()) {
                from (manif) { 
                    eachEntry { details ->
                        if (details.key == 'Bundle-Version') {
                            details.value = "1.0.0"
                        }
                    }
                }
            }
        }
        from file ('plugin.xml')
    }

The resourcePath and some other value have configurable

Create a RCP Application

We need a small Eclipse RCP application for developing and testing the materialisation and as real world example for the tutorial and documentation. The application should produced by Eclipse at first.

Materialsation: Create materialisation script from the scratch

We have many prerequisites for the materialisation used for the plugins before, but for the easy materialsation we duplicate them. This are the target platform, the Eclipse SDK and the artefact publication of the build artefacts. This enhancement get acces to this configurations and create the build.properties file needed for the materialisation (and other files if necessary) and calls the pde build with the existing Eclipse SDK.

Tutorial: Simple example

We always have a small example called MonkeyPlugin in examples/example1. It just produces one OSGi bundle. There should be a step by step description of the steps to fill out the build.gradle files with the right plugins, extensions and instructions building this plugin.

Reuse projectGroup property as whole group name

There is in the custom handling method of the ManifestDependencyPlugin a remaining part of the ancient implementation. It uses the branch names given by the build scripts. This should be moved to the content of the projectGroup property in the projectPatter closure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.