Giter Club home page Giter Club logo

Comments (11)

simonthum avatar simonthum commented on June 15, 2024

You should not have a need to mix with other plugins when you build your platform and project(s) separately, as bnd-platform is intended to do.

from bnd-platform.

hellorachid avatar hellorachid commented on June 15, 2024

@simonthum i need this plugin to work with biz.aQute.bnd plugin i need the tasks of the boths

from bnd-platform.

simonthum avatar simonthum commented on June 15, 2024

That sounds sensible, but unfortunately have no idea how to do it. A potential workaround:

http://forums.gradle.org/gradle/topics/remove_task_defined_in_plugin

from bnd-platform.

stempler avatar stempler commented on June 15, 2024

@hellorachid Maybe you can explain what you are trying to achieve?
What should be the result that bnd-platform yields, where is it used?
What do you need the biz.aQute.bnd plugin for?

from bnd-platform.

hellorachid avatar hellorachid commented on June 15, 2024

i usebndTools in eclipse, and as you know bndTools use repositories, for me i need a way to use some osgi bundles and their dependencies from maven in my project,

my idea is :

use your plugin to download and convert non-osgi bundes to osgi,after that i will copy those bundles in the repository and apply index on them , that's the whole idea

for biz.aQute.bnd plugin, i need some tasks like runBundles,release,....

How i use bnd-platform and biz.aQute.bnd

i apply the both plugin to each sub project, every project can use some bundles so the developer add them to the project build.gradle and run gradle importBundles that depond on bnd-platform bundle task

from bnd-platform.

stempler avatar stempler commented on June 15, 2024

Ah, I think I get the idea. Would be interesting to see the setup.

Regarding the issue with the clean task, bnd-platform could probably be adapted to check if the task is already there, and only extend it if it is. I will have a look into that.

Note to self (check if task already exists): http://stackoverflow.com/questions/22600314/grails-gradle-a-task-with-that-name-already-exists

from bnd-platform.

hellorachid avatar hellorachid commented on June 15, 2024

this is the important part in my setup, if you wanna to see the full file i can show it

subprojects { p ->
    plugins.apply 'biz.aQute.bnd'
    apply plugin: 'org.standardout.bnd-platform'
    repositories {
       mavenCentral()
    }

    aQute.bnd.build.Project bndProject
    bndProject = workspace.getProject(p.projectDir)
  ``

from bnd-platform.

stempler avatar stempler commented on June 15, 2024

I published a version 1.3.0-SNAPSHOT that should extend an existing clean task instead of failing if it already exists to the Sonatype Snapshot repository (https://oss.sonatype.org/content/repositories/snapshots). Could you try it with that version?

from bnd-platform.

hellorachid avatar hellorachid commented on June 15, 2024

yes, with pleasure

from bnd-platform.

stempler avatar stempler commented on June 15, 2024

@hellorachid Did you have the chance to test this yet? Did it work for you?

from bnd-platform.

hellorachid avatar hellorachid commented on June 15, 2024

@stempler
i hope you are doing well,
i'm soooo sory i was out of office during this periode with no connection,

thank you sooo much, it works perfectly

best regards

from bnd-platform.

Related Issues (20)

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.