ElementsCC.exe --assembly not respected with a single file

This makes it hard to specify a specific package when compiling swift code into a jar. Can it be made possible to set --assembly when compiling a single file?

What exactly is not working?

Sorry, let me explain:

If I use elementsCC.exe to compile a single swift file into a jar using cooper, and specify an --assembly name it gets ignored. Like this:

ElementsCC.exe -m cooper ... --assembly foo.bar Test.swift

This will output test.jar, not foo.bar.jar

However if I do the same command and pass more than one file, it does output foo.bar.jar like I expect. While the naming thing is a annoying, the real problem is that I cannot specify the target java package when compiling a single file. if I inspect test.jar above, it looks like it puts it in a test package, not a foo.bar package.

Is this making sense? Sorry if I’m explaining this poorly.

Thanks, logged as bugs://78182

bugs://78182 got closed with status fixed.

Awesome, would it be possible for me to get a another personal build that contains this fix? It’ll further unblock my testing.

i’ll get you one later today.

1 Like

Sorry for the slight delay, new build is up now.

1 Like