mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
include Java bindinings in the binary distribution
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
f02d2ee0e3
commit
512cdc182a
2 changed files with 19 additions and 2 deletions
|
@ -1040,6 +1040,11 @@ class JavaDLLComponent(Component):
|
|||
def main_component(self):
|
||||
return is_java_enabled()
|
||||
|
||||
def mk_win_dist(self, build_path, dist_path):
|
||||
if JAVA_ENABLED:
|
||||
mk_dir(os.path.join(dist_path, 'bin'))
|
||||
shutil.copy('%s.jar' % os.path.join(build_path, self.package_name),
|
||||
'%s.jar' % os.path.join(dist_path, 'bin', self.package_name))
|
||||
|
||||
class ExampleComponent(Component):
|
||||
def __init__(self, name, path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue