-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Allow blank tsaurl value #71
Comments
I don't mind ignoring blank values for the For the command line I don't think it's possible to ignore a blank value, because the parser expects a parameter after |
Good catch. For this, I would use a property getter/setter. <!-- blank if not already set -->
<condition property="signing.tsaurl" value="">
<not>
<isset property="signing.tsaurl"/>
</not>
</condition> ... or less obvious... because... <!-- blank if not already set -->
<property name="signing.tsaurl" value=""/>
This would depend on invocation, but |
I don't know, this has to be tested. Would you want to submit a PR implementing this? I can review and merge it into the upcoming version 3.0. I think a simple change in |
I have the code staged here master...tresf:patch-1. As I'm using it, I have some conflicts with its behavior...
For these reasons, I'm inclined to say we're breaking a -- albeit very ugly -- |
Ant tasks are cumbersome in their own right, but one thing that's particularly frustrating about ant is the lack of good conditional support in a target.
As a side-effect, ugly patterns like this emerge...
Although this pattern is a side-effect of ant (not jsign specifically), handling the parameter's lib-side can avoid this...
For example... if a build system has two build configurations:
It would make sense to have a way to provide the ant-task an empty value (e.g. for
tsaurl=
) instead of two separate targets.Expanding this to JSign:
"-1"
,"ignore"
, etc).Note, this same problem occurs for many command-line invocations;
ant
users are used to it. If the request is closed aswontfix
, I would completely understand. 😄The text was updated successfully, but these errors were encountered: