Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%{deps: syntax should support any scriptref #1717

Open
maxandersen opened this issue Dec 11, 2023 · 2 comments
Open

%{deps: syntax should support any scriptref #1717

maxandersen opened this issue Dec 11, 2023 · 2 comments
Labels
ideas Some idea/suggestion around jbang behavior/feature set

Comments

@maxandersen
Copy link
Collaborator

today only %{deps:} is allowed but really could use %{deps:} worked.

ie. instead of requiring:

jbang --javaagent=byteman@bytemanproject=script:filedelete.btm,boot:`jbang info classpath byteman@bytemanproject`,prop:org.jboss.byteman.ext=txt del.java

I would like that to be:

jbang --javaagent=byteman@bytemanproject=script:filedelete.btm,boot:%{deps:byteman@bytemanproject},prop:org.jboss.byteman.ext=txt del.java

which would work on any platform instead of only linux.

@maxandersen maxandersen added the ideas Some idea/suggestion around jbang behavior/feature set label Dec 11, 2023
@quintesse
Copy link
Contributor

But then I'd say we'd need to support script refs in //DEPS as well, right?

@maxandersen
Copy link
Collaborator Author

Hmm. Good point.

Maybe we should do a %{classpath:...} instead or in addition ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ideas Some idea/suggestion around jbang behavior/feature set
Projects
None yet
Development

No branches or pull requests

2 participants