Добавил манифест, поправил starter.bat и starter

This commit is contained in:
2023-04-14 14:15:40 +03:00
parent 43bce7ea55
commit 861c6af76a
3 changed files with 11 additions and 2 deletions

View File

@ -92,3 +92,12 @@ task buildRelease(type: GradleBuild) {
}
idea { module.scopes.PROVIDED.plus += [configurations.provided] }
jar{
manifest{
attributes(
'Main-Class': 'biz.redsoft.ncore.client.MainForm',
'Class-Path': configurations.runtimeClasspath.collect { it.name }.join(' ') + " ${ncoreGenerateControlDataJar.archiveName}"
)
}
}

View File

@ -1,5 +1,5 @@
#!/bin/bash
cd $(dirname $0)/..
bin/ncore $1 -config config/ncore-properties.xml $2 $3 $4 $5
bin/sample $1 -config config/ncore-properties.xml $2 $3 $4 $5
cd $OLDPWD

View File

@ -1,5 +1,5 @@
@echo off
pushd "%~dp0\.."
call bin\ncore.bat %1 -config config\ncore-properties.xml %2 %3 %4 %5
call bin\sample.bat %1 -config config\ncore-properties.xml %2 %3 %4 %5
popd