jextract to write classifies if a directory is specified with -o
Henry Jen
henry.jen at oracle.com
Tue Mar 6 16:38:34 UTC 2018
Yup, we can do that too. I thought of that, but feels like have both options are redundant. But perhaps sometimes we do want to have both.
Cheers,
Henry
> On Mar 6, 2018, at 8:36 AM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
>
> I wonder if we should have -d (for directory) option for directory for output. That would make it consistent with other tools like javac. With -d, we can create directory if it does not exist.
>
> -Sundar
>
> On 06/03/18, 9:40 PM, Henry Jen wrote:
>> Hi,
>>
>> jextract use -o options to specify output file, typically a jar file is created.
>>
>> Developer may want to have class files rather than get an jar file and extract it for some reason, like to package with other libraries or more “civilized” API on top of native API.
>>
>> This webrev[1] enable to write class files if a directory is specified as destination instead of getting an error.
>>
>> [1] http://cr.openjdk.java.net/~henryjen/panama/buildClasses/webrev/
>>
>> Cheers,
>> Henry
More information about the panama-dev
mailing list