Comments (8)
Hi Alex,
thats a good idea. Im going to use the implementation guide on vaadin i'v found:
https://vaadin.com/blog/osgifying-your-add-ons
from advancedtokenfield.
This is my first project where I integrated this OSGi support.
Could you maybe take a look or give it a try. Please tell me if it works not not.
https://github.com/fo0/AdvancedTokenField/blob/master/AdvancedTokenField-addon/pom.xml
https://github.com/fo0/AdvancedTokenField/blob/master/AdvancedTokenField-addon/src/main/java/META-INF/MANIFEST.MF
from advancedtokenfield.
Hi,
I dont't like using maven so I'm not the pom specialist. In the linked MANIFEST.MF file, the Import-Packages and Export-Packages statements are missing.
I changed the pom.xml and now the result looks better:
- you need to change the packaging from jar to bundle
bundle - you need to specify which package needs to be exported. My best guess was that
com.fo0.advancedtokenfield.main.* would be enough but you know your add-on better than I do so maybe other packages also need to be exported.
In OSGi, if your bundle doesn't do an explicit export of a package, that package and thus the classes inside the package will not be visible by other classes, e.g. if somebody using your add-on needs to have access to the listeners or events, you need to export those packages as well.
I can't test the add-on today maybe tomorrow I'll be able to deploy it into a karaf and try to use it with a Vaadin OSGi application.
Regards,
Alex
from advancedtokenfield.
could you maybe provide me your pom changes that I can take a look ?
But anyway im going to do some tests and keep looking on the Export Statements inside the MANIFEST.MF
from advancedtokenfield.
Hi,
not sure if it was the best thing to do but I tried to create a pull request with the changes I made to the pom.xml ...
HTH
from advancedtokenfield.
I already did these changes. Im going to validate the output and update the version to: 0.0.62
from advancedtokenfield.
Published on Version: 0.0.63
Please check and give me feedback
from advancedtokenfield.
looks like its fixed, no more response.
from advancedtokenfield.
Related Issues (8)
- ComboBox does not clear after insert new Token HOT 4
- Vertical layout HOT 26
- Closebutton disabled on Token not disable the remove function
- Usage of scss instead of css and integration to vaadin's addons.scss HOT 2
- allowEmptyValues doesn't work properly HOT 1
- support for description fields
- add comparable api for sorting the tokens
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 advancedtokenfield.