Skip to content

Commit 11364b0

Browse files
authored
Merge pull request #20 from proDOOMman/develop
v1.3
2 parents 08485c6 + f04796c commit 11364b0

File tree

4 files changed

+298
-94
lines changed

4 files changed

+298
-94
lines changed

README.md

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,45 @@
1616

1717
```cmd
1818
Usage: Coverage41C [-hV] [-p] [--verbose] [-a=<commandAction>]
19-
[-e=<extensionName>] -i=<infobaseAlias> [-o=<outputFile>]
20-
[-P=<projectDirName>] [-p:env=<passwordEnv>]
21-
[-r=<removeSupport>] [-s=<srcDirName>] [-t=<pingTimeout>]
22-
[-u=<debugServerUrl>] [-x=<externalDataProcessorUrl>]
23-
[-n=<debugAreaNames>]...
24-
Make measures from 1C:Enterprise and save them to genericCoverage.xml file
25-
-a, --action=<commandAction>
26-
Action: start, stop, dump, clean, check. Default -
27-
start
28-
-i, --infobase=<infobaseAlias>
29-
InfoBase name. For file infobase use 'DefAlias' name
30-
-e, --extensionName=<extensionName>
31-
Extension name
32-
-x, --externalDataProcessor=<externalDataProcessorUrl>
33-
External data processor (or external report) url
34-
-s, --srcDir=<srcDirName>
35-
Directory with sources exported to xml
36-
-P, --projectDir=<projectDirName>
37-
Directory with project
38-
-o, --out=<outputFile> Output file name
39-
-u, --debugger=<debugServerUrl>
40-
Debugger url. Default - http://127.0.0.1:1550/
41-
-p, --password Dbgs password
42-
-p:env, --password:env=<passwordEnv>
43-
Password environment variable name
44-
-n, --areanames=<debugAreaNames>
45-
Debug area names (not for general use!)
46-
-t, --timeout=<pingTimeout>
47-
Ping timeout. Default - 1000
48-
-r, --removeSupport=<removeSupport>
49-
Remove support values: NOT_EDITABLE,
50-
EDITABLE_SUPPORT_ENABLED, NOT_SUPPORTED, NONE.
51-
Default - NONE
52-
--verbose If you need more logs. Default - false
53-
-h, --help Show this help message and exit.
54-
-V, --version Print version information and exit.
19+
[-c=<inputRawXmlFile>] [-e=<extensionName>]
20+
-i=<infobaseAlias> [-o=<outputFile>] [-P=<projectDirName>]
21+
[-p:env=<passwordEnv>] [-r=<removeSupport>]
22+
[-s=<srcDirName>] [-t=<pingTimeout>] [-u=<debugServerUrl>]
23+
[-u:file=<debugServerUrlFileName>]
24+
[-x=<externalDataProcessorUrl>] [-n=<debugAreaNames>]...
25+
Make measures from 1C:Enterprise and save them to genericCoverage.xml file
26+
-a, --action=<commandAction>
27+
Action: start, stop, dump, clean, check, convert.
28+
Default - start
29+
-i, --infobase=<infobaseAlias>
30+
InfoBase name. For file infobase use 'DefAlias' name
31+
-e, --extensionName=<extensionName>
32+
Extension name
33+
-x, --externalDataProcessor=<externalDataProcessorUrl>
34+
External data processor (or external report) url
35+
-s, --srcDir=<srcDirName>
36+
Directory with sources exported to xml
37+
-P, --projectDir=<projectDirName>
38+
Directory with project
39+
-o, --out=<outputFile> Output file name
40+
-c, --convertFile=<inputRawXmlFile>
41+
Input file name with RAW xml coverage data
42+
-u, --debugger=<debugServerUrl>
43+
Debugger url. Default - http://127.0.0.1:1550/
44+
-u:file, --debugger:file=<debugServerUrlFileName>
45+
Debugger url file name
46+
-p, --password Dbgs password
47+
-p:env, --password:env=<passwordEnv>
48+
Password environment variable name
49+
-n, --areanames=<debugAreaNames>
50+
Debug area names (not for general use!)
51+
-t, --timeout=<pingTimeout>
52+
Ping timeout. Default - 1000
53+
-r, --removeSupport=<removeSupport>
54+
Remove support values: NOT_EDITABLE,
55+
EDITABLE_SUPPORT_ENABLED, NOT_SUPPORTED, NONE.
56+
Default - NONE
57+
--verbose If you need more logs. Default - false
58+
-h, --help Show this help message and exit.
59+
-V, --version Print version information and exit.
5560
```

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ plugins {
22
id 'java'
33
id 'application'
44
id "com.github.breadmoirai.github-release" version "2.2.12"
5+
id "com.github.jarmstrong.buildconfig" version "1.9.0"
56
}
67

78
group 'com.clouds42'
8-
version '1.2-SNAPSHOT'
9+
version '1.3-SNAPSHOT'
910

1011
sourceCompatibility = 11
1112

@@ -53,7 +54,7 @@ dependencies {
5354

5455
compile group: 'com.google.guava', name: 'guava', version: '28.2-jre'
5556

56-
implementation 'com.github.proDOOMman:mdclasses:676043538506e56870059b10e672e8f77e4ee195' // TODO: change to 1c-syntax
57+
implementation 'com.github.1c-syntax:mdclasses:42fcc53f34b08a7a748528c9dd53ae1a2e04bb40' // TODO: change to release
5758

5859
implementation('com.github.1c-syntax:bsl-parser:0.13.0') {
5960
exclude group: "com.tunnelvisionlabs", module: "antlr4-annotations"
@@ -100,6 +101,13 @@ application {
100101
mainClassName = 'com.clouds42.Coverage41C'
101102
}
102103

104+
buildConfig {
105+
className("BuildConfig")
106+
packageName("com.clouds42")
107+
buildConfigField("String", "APP_VERSION", "\"${project.version}\"")
108+
buildConfigField("long", "BUILD_TIME", "${System.currentTimeMillis()}L")
109+
}
110+
103111
githubRelease {
104112
token findProperty('github.token')
105113
owner "proDOOMman"

0 commit comments

Comments
 (0)