-
Notifications
You must be signed in to change notification settings - Fork 84
Home
jjames967 edited this page Feb 12, 2015
·
24 revisions
Looking for a quick trial run with CFLint? Download the latest jar (CFLint-0.4-all.jar) from search.maven.org. It includes everything you need. Just run it as a regular jar from your command line. For many, this is all you will need.
You will need to have:
A JDK (not JRE) installed because you also
Maven (apache-maven-3.2.3.zip) from org.apapche
gpg4Win.zip [PGP software]-should you require GPG
log4j configured on your machine
Ensure your Java is at a suitable version (minimum 1.6, 1.7 preferred) Ensure you have a Java SDK available (Maven can't build off a JRE alone) Install Win4GPG (or Mac equivalent) Create a PGP Certificate (Maven finds this automatically when building CFlint and requires it) note: Newer version of CFLint may not require this Install Maven (again alter the M2_HOME and/or M2 env.vars) (excellent instructions on the Maven site) Download and unzip CFLint.zip (from GitHub) or use Git to install Run mvn clean install
Check build output for errors - should see BUILD SUCCESSFUL at the end
if you are using the cflint-ui.bat (or unix cflint-ui),
cflint-ui.bat -textfile
example:
cflint-ui.bat -textfile c:\temp\out.txt