[m-dev.] "executables" in the java grade
jfischer at opturion.com
Thu Dec 4 09:52:03 AEDT 2014
On Thu, 4 Dec 2014, Paul Bone wrote:
>>>>> We should also check that this works correctly for buidling libraries.
>>>> I'm not sure what you mean.
>>> I mean if you build your "foo" library as "mmc --make libfoo". Which in C
>>> backends creates a libfoo.a or libfoo.so. whatever. For java mmc --make
>>> (for programs) should build a Jar that can be executed with "java --jar",
>>> this works by putting a MainClass (sp?) attribute in the manifest of the
>> That can be done by passing an extra argument to the jar tool when we
>> build the archive for the executable.
>>> When building libraries mmc should not check for main/2 and should
>>> not place the MainClass attribute in the manifest.
>> That already happens ;-)
> What I mean is, both of these uses of --make will need to work correctly
> with the new behaviour.
That can be arranged ;-)
More information about the developers