Comments (4)
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.
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.
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.
I think that right now I see what you meant.
- 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:
- as a dependency for example using custom layout for ivy (https://docs.gradle.org/current/userguide/repository_types.html)
- groovy/ant tasks
- other manually ways
For all above cases we have to specify a few variables such as:
[osname] and [cpuname], [module]/[revision]/[type]/[artifact].[ext]
- 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-jboss-modules-plugin.