VJET Headless Validation
User can use VJET headless validation directly after VJET
installed.
How to use VJET headless validation
User should go to eclipse home first and make sure eclipsc.exe file exist.
Command : eclipsec -data < VJET installed workspace> -noSplash
-application org.eclipse.vjet.vjetv.VJETV < args >
For Example: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest
-noSplash -application org.eclipse.vjet.vjetv.VJETV -help
- help(h) argument
Every time when user wants to know how to use argument.
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV
-help
- version(v) argument
Get current software version.
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV
-v
- validate JS files
User can validate VJO files directly! Specify the source code path,
source path entries are separated by semicolons(;) and can be
directories
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV
C:\demo\testFiles
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV
C:\demo\testFiles\access\inherits\Employee.js
Headless validation will show validated JS files information and total
result involving: number of error and warning problems.
- reportPath (d) argument
Headless validation support generate result file with specified path,
all information will saved as xml format
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-d C:\result.xml
- buildPath (bp) argument
Specify the source code path to search for JS files, source path
entries are separated by semicolons(;) and can be directories, JAR
archives.
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-bp C:\demo\testFiles
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-bp C:\demo\testBp\testJar.jar
Headless validation will do validation base on user specified path.
- exportPolicy (ep) argument
Headless validation support export validation policy sets to a file so
that user can do some modification.
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV
-ep C:\policy.pref
- policy (policy) argument
Headless validation support do validation with specified policy sets
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-policy C:\policy.pref
- nowarn (nw) argument
Headless validation can filter warnings problems!
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-nw
Warning problems have been filtered.
- verbose (vb) argument
Verbose output! This includes information about every problem.
Command: eclipsec -data C:\workspaces3\DEL11ReleaseVjetTest -noSplash
-application org.eclipse.vjet.vjetv.VJETV C:\demo\testFiles
-vb