Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to convert multiple Java files in a directory with a single command?

0
Posted

Is there a way to convert multiple Java files in a directory with a single command?

0

Yes, there is a way to instruct JCGO to explicitly include some classes into the translation set – just specify the class names (or the source file names, or, even, you can use file wildcards) in the command line on JCGO invocation. Alternatively, you can create some “your_response.in” file, put the class names to it (on a one-per-line basis), and invoke JCGO specifying “@your_project/your_response.in” at the command line’s end. Note, however, that JCGO discovers cross-class dependencies (including dynamic) so, possibly, you won’t need to explicitly specify many classes in the command line. (To see whether a particular class is included in the compilation set, you can search (among all .h files produced) for the qualified name of that class with dots (‘.’) replaced with underscores (‘_’).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123