Git Product home page Git Product logo

Comments (4)

zhurlik avatar zhurlik commented on September 23, 2024

Hi,
Could you explain a little bit this issue? My understanding is that this is about directory structure, that can be done using distribution plugin.
In our samples there is activemq module that has additional folder META-INF.

from gradle-jboss-modules-plugin.

scottresnik avatar scottresnik commented on September 23, 2024

Hi, @zhurlik.

It is partly about directory structure. Is there a way to handle pulling the native library from a maven or ivy repo and directing it to the correct directory? Based on that example it looks like I'd have to have those artifacts in source control.

from gradle-jboss-modules-plugin.

scottresnik avatar scottresnik commented on September 23, 2024

@zhurlik

In order to get the behavior I needed for this, I had to add a copy action to the make modules task:

makeModules {
  doLast {
    copy {
      into "${buildDir}/install/myServer/modules/my/module/name/main/lib/win-x86_64"
      from(configurations.myNativeModuleConfig) {
        rename 'nativeStuff-(.*).dll', 'nativeStuff.dll'
      }
    }
  }
}

Is there a cleaner way to accomplish this?

from gradle-jboss-modules-plugin.

zhurlik avatar zhurlik commented on September 23, 2024

I think that right now I see what you meant.

  1. first of all we have to define how you would like to fetch/download *.so/*.dll files from the repository. I see a couple of solutions:
  1. then after knowing that a native resource will be available, we can discuss how it will be copied to jboss module folder

from gradle-jboss-modules-plugin.

Related Issues (2)

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.