Comments (8)
I should add - it would not be as bad if update4j was the only dependency, but since it also drags along 3 JAXB dependencies and javax.activation, it is that much uglier.
from update4j.
from update4j.
Thanks for considering it.
The app I'm working on uses Reflection heavily to allow end-users to drop a JAR into their project to extend the tool when that project is opened. The power this gives them is a beautiful thing. I need to learn more about module loading because I think that and/or services might be a better alternative.
But I think this specific case makes a good argument for reflection.
And thanks for the tip - I figured out that I didn't really need a Delegate...instead running my own main method.
from update4j.
from update4j.
Thanks for that suggestion. I have it working that way, without any dependencies in my app on update4j :)
You can close this issue if you'd like. But I still think it would be nice to provide the ability launch a specific class via main(), as a built-in part of update4j. This seems, to me, like a pretty common use-case -- most apps are already started via a main(). The code itself is simple (mine is 5 lines not including exception handling), but I expect that the design of how to expose/configure that behavior is a little harder.
Thanks again!
from update4j.
I'm currently working on a micro-implementation of an xml parser, so to reduce dependecies to zero!
Btw what's your thoughts on #19 ?
from update4j.
That would be nice!
I seem to need stuff like this all the time (usually JSON more than XML). I know why it isn't included in the standard libs, but it pains me when I look at a large dependency tree and see 3 different libs included for reading JSON :(
I will comment on #19.
from update4j.
Feature complete
from update4j.
Related Issues (20)
- Permission Issue: Default Bootstrap Archive Location HOT 9
- Updating app's JDK with update4j HOT 5
- Make update.zip path confgurable HOT 1
- Deletion of files not present in config HOT 8
- getOldFiles takes a long time (too long?) HOT 22
- Basic issue of understanding HOT 25
- Working in offline mode with --local and --syncLocal HOT 3
- Communication between bootstrap and business application HOT 4
- config.update does not download anything and just stop the programs HOT 2
- Headless Setup with NGINX Basic Auth HOT 13
- proposal HOT 1
- NoSuchFileException reserved/config when there is nothing to update HOT 3
- Demo App doesn't run on Windows 11 and Java 19 HOT 4
- Connect/read timeouts too short on URLConnection HOT 1
- Propagating business applications' exit code through Bootstrap HOT 5
- Error running an SWT application HOT 8
- Support multiple architectures HOT 19
- Exception when download files. HOT 2
- Relative path in basePath? HOT 3
- Size of file does not match size in configuration HOT 6
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 update4j.