Comments (17)
I started looking at this, but there are no plans in the near future.
from javahamcrest.
@scarytom I will have a look on this and update build.xml using BND plugin.
I designed the solution of OSGi bundle and Maven project for the JUnit.
from javahamcrest.
@Tibor17 thanks. I'm afraid I don't have a personal need for this, so I've neglected it.
from javahamcrest.
@Tibor17 thanks. The build.xml is a bit recursive at the moment thanks to the generation of the factory classes. -- another thing I'm working on. Let me know if you need any help.
from javahamcrest.
@Tibor17 just wondered whether you got anywhere with this. This issue is getting a but crusty and I'm inclined to close as WONT_FIX if nobody is looking at it at all.
from javahamcrest.
Out of curiosity, does this have to be done within the hamcrest project? Or could it be an extension?
from javahamcrest.
As, at least in part, it involves tinkering with the META_INF inside the jars, I don't know how easily it would work as an extension.
from javahamcrest.
Is it enough if we just put the relevant stuff in the META files?
from javahamcrest.
I think so, but working out the right stuff and baking it into the build scripts isn't trivial, mainly thanks to the magic hamcrest-all bundle... oh how I wish we could ditch that. That said though, I don't want to overplay the issues here -- it isn't that hard.
from javahamcrest.
I'd like to use Hamcrest in a non-testing application, and our system runs in OSGi so we have to have this. I have only done maven BND plugin config before, but if no one has started working on this I can have a look.
from javahamcrest.
Thanks @mattbishop
Nobody is looking at this at the moment, so feel free to take it on. I'm happy to help with making the necessary changes to the ant build scripts, if you can work out what metadata needs to go where.
from javahamcrest.
@mattbishop
I submitted pull #32 . Can you have a look and check it out in your environment?
Build with command
ant -Dversion=1.2.3
from javahamcrest.
My initial view of the pull is that it looks right. I can build it and give
it a whirl this week at work.
Why such an old version of BND? The latest stable release is 2.0.0.
On Sat, Apr 6, 2013 at 5:05 PM, Tibor Digana [email protected]:
@mattbishop https://github.com/mattbishop
I submitted pull #32 #32. Can you have a look and check it out in your environment?
Build with command
ant bundle -Dversion=1.2.3—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-16006594
.
from javahamcrest.
@mattbishop
I checked it out, the latest biz.aQute:bnd:1.50
for ANT released in 2012, but biz.aQute:bndlib:2.0
for Maven.
Can you please rebuild and use the hamcrest libs in your OSGi application?
from javahamcrest.
This could potentially be a small change on top of moving to Maven or Gradle; see 79de97a for a take on it using all the defaults.
from javahamcrest.
Any news about this issue?
from javahamcrest.
@cvgaviao This is addressed by #98 . If you're an interested OSGi user, please comment over there to confirm that it's a fix.
from javahamcrest.
Related Issues (20)
- assertThat(this.object, hasProperty("booleanName")) fails to match boolean types and renames the property HOT 1
- The matcher contains() is misleading HOT 2
- FR: Matching maps with various type HOT 1
- oss-fuzz integration
- Participitation in Hacktoberfest? HOT 1
- HasProperty Matcher doesn't work with Java Records HOT 4
- assertThat(Int::class.java, typeCompatibleWith(Number::class.java)) in kotlin always fails
- hamcrest matching on actual empty list fails with nosuchmethoderror HOT 1
- Test output Alignment
- record version fails the hasProperty HOT 2
- has property fails with non public class.. not sure if this correct as per java standards of property
- Double "close-to" matcher that uses the ULP.
- GraalVM Native Image support HOT 4
- Inquiry about Project Activity and Future Plans HOT 15
- Compatibility in java versions HOT 2
- Upgrade build to JDK 1.8 bytecode HOT 1
- Upgrade to latest Gradle HOT 1
- Publish to Maven Central using GitHub Actions HOT 6
- Hamcrest v3.1
- Hamcrest v4.0
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 javahamcrest.